Function at 0x458574
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x50c198
mov edi, 0x50c1ac
mov dword [edi], 1
mov byte [0x50c17a], 0
mov byte [0x50c179], 0
mov byte [0x50c178], 1
mov dword [0x50c1a8], 0xcc0020
mov eax, dword [edi]
mov eax, dword [ebx + eax*4]
test eax, eax
je 0x45862a
mov edx, dword [edi]
cmp byte [eax], 0x2d
jne 0x45862a
push 0x68
mov ecx, dword [edi]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4585d4
mov byte [0x50c17a], 1
push 0x69
mov eax, dword [edi]
mov edx, dword [ebx + eax*4]
push edx
call fcn.00401278
add esp, 8
test eax, eax
je 0x4585f2
mov dword [0x50c1a8], 0xbb0226
push 0x6e
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4]
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x45860d
mov byte [0x50c178], 0
push 0x74
mov edx, dword [edi]
mov ecx, dword [ebx + edx*4]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x458628
mov byte [0x50c179], 1
inc dword [edi]
mov eax, dword [edi]
cmp dword [ebx + eax*4], 0
jne 0x458645
push 0
push 0
mov edx, dword [ebx]
push edx
push 0
call fcn.0045bf34
jmp 0x458fce
push 0x4f1c84
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4]
push eax
call fcn.004014a8
add esp, 8
test eax, eax
jne 0x458666
xor edx, edx
mov dword [0x50c160], edx
jmp 0x458676
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4]
push eax
call fcn.004eae20
mov dword [0x50c160], eax
mov eax, dword [0x50c160]
test eax, eax
je 0x458691
cmp byte [eax + 0x4e9], 0
je 0x458691
cmp dword [eax + 0x5dc], 0
jne 0x4586a4
push 7
push 0
mov edx, dword [ebx]
push edx
push 0
call fcn.0045bf34
jmp 0x458fce
cmp byte [0x50c17a], 0
je 0x4586bb
mov ecx, dword [0x50c160]
mov eax, dword [ecx]
push eax
call fcn.0046d36c
mov edx, dword [edi]
cmp dword [ebx + edx*4 + 4], 0
je 0x4586e1
cmp byte [0x50c179], 0
je 0x4586e1
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4 + 4]
push eax
call fcn.00409a14
pop ecx
mov dword [0x50c17c], eax
inc dword [edi]
mov edx, dword [edi]
cmp dword [ebx + edx*4 + 4], 0
je 0x458720
mov ecx, dword [edi]
cmp dword [ebx + ecx*4 + 8], 0
je 0x458720
mov eax, dword [edi]
cmp dword [ebx + eax*4 + 0xc], 0
je 0x458720
mov edx, dword [edi]
cmp dword [ebx + edx*4 + 0x10], 0
je 0x458720
mov ecx, dword [edi]
cmp dword [ebx + ecx*4 + 0x14], 0
je 0x458720
mov eax, dword [edi]
cmp dword [ebx + eax*4 + 0x18], 0
je 0x458720
mov edx, dword [edi]
cmp dword [ebx + edx*4 + 0x1c], 0
jne 0x458733
push 0
push 0
mov ecx, dword [ebx]
push ecx
push 0
call fcn.0045bf34
jmp 0x458fce
mov eax, dword [edi]
mov edx, dword [ebx + eax*4 + 4]
push edx
call fcn.00409a14
pop ecx
mov dword [0x50c188], eax
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4 + 8]
push eax
call fcn.00409a14
pop ecx
mov dword [0x50c18c], eax
mov edx, dword [edi]
mov ecx, dword [ebx + edx*4 + 0xc]
push ecx
call fcn.00409a14
pop ecx
inc eax
mov dword [0x50c190], eax
mov eax, dword [edi]
mov edx, dword [ebx + eax*4 + 0x10]
push edx
call fcn.00409a14
pop ecx
inc eax
mov dword [0x50c194], eax
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4 + 0x14]
push eax
call fcn.004eae20
mov dword [0x50c164], eax
mov eax, dword [0x50c164]
test eax, eax
je 0x4587a9
cmp byte [eax + 0x4e9], 0
je 0x4587a9
cmp dword [eax + 0x5dc], 0
jne 0x4587bc
push 7
push 0
mov edx, dword [ebx]
push edx
push 0
call fcn.0045bf34
jmp 0x458fce
mov ecx, dword [edi]
mov eax, dword [ebx + ecx*4 + 0x18]
push eax
call fcn.00409a14
pop ecx
mov dword [esi], eax
mov edx, dword [edi]
mov ecx, dword [ebx + edx*4 + 0x1c]
push ecx
call fcn.00409a14
pop ecx
mov dword [esi + 4], eax
mov eax, dword [0x50c190]
mov dword [esi + 8], eax
mov edx, dword [0x50c194]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
cmp dword [ebx + ecx*4 + 0x20], 0
je 0x458820
mov eax, dword [edi]
cmp dword [ebx + eax*4 + 0x24], 0
je 0x458820
mov edx, dword [edi]
mov ecx, dword [ebx + edx*4 + 0x20]
push ecx
call fcn.00409a14
pop ecx
inc eax
mov dword [esi + 8], eax
mov eax, dword [edi]
mov edx, dword [ebx + eax*4 + 0x24]
push edx
call fcn.00409a14
pop ecx
inc eax
mov dword [esi + 0xc], eax
xor ecx, ecx
mov dword [0x50c154], ecx
xor eax, eax
mov dword [0x50c14c], eax
xor edx, edx
mov dword [0x50c150], edx
xor ecx, ecx
mov dword [0x50c15c], ecx
xor eax, eax
mov dword [0x50c16c], eax
xor edx, edx
mov dword [0x50c170], edx
xor ecx, ecx
mov dword [0x50c174], ecx
mov edi, dword [0x50c160]
cmp edi, dword [0x50c164]
jne 0x458bd5
mov eax, dword [edi]
push eax
call sub.USER32.dll_GetDC
mov ebx, eax
mov dword [0x50c168], ebx
test ebx, ebx
jne 0x458883
xor eax, eax
jmp 0x458fce
mov edx, dword [0x50c194]
push edx
mov ecx, dword [0x50c190]
push ecx
push ebx
call sub.GDI32.dll_CreateCompatibleBitmap
mov edi, eax
mov dword [0x50c154], edi
test edi, edi
je 0x458b06
mov eax, dword [0x50c168]
push eax
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
mov dword [0x50c16c], ebx
test ebx, ebx
je 0x458b06
mov eax, dword [0x50c154]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [0x50c14c], eax
mov edx, dword [0x50c168]
push edx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
mov dword [0x50c170], ebx
test ebx, ebx
je 0x458b06
mov eax, dword [0x50c160]
mov edx, dword [eax + 0x5dc]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov dword [0x50c150], eax
push 0xcc0020
mov ecx, dword [0x50c18c]
push ecx
mov eax, dword [0x50c188]
push eax
mov edx, dword [0x50c170]
push edx
mov ecx, dword [0x50c194]
push ecx
mov eax, dword [0x50c190]
push eax
push 0
push 0
mov edx, dword [0x50c16c]
push edx
call sub.GDI32.dll_BitBlt
push 4
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_SetStretchBltMode
push 0
push 0
push 0
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_SetBrushOrgEx
cmp byte [0x50c179], 0
je 0x458a68
mov edx, dword [0x50c168]
push edx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
mov dword [0x50c174], ebx
test ebx, ebx
je 0x458b06
mov eax, dword [0x50c17c]
push eax
mov edx, dword [0x50c194]
push edx
mov ecx, dword [0x50c190]
push ecx
push ebx
mov eax, dword [0x50c16c]
push eax
call fcn.004584c4
mov dword [0x50c15c], eax
push 0
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_SetTextColor
mov dword [0x50c180], eax
push 0xffffff
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_SetBkColor
mov dword [0x50c184], eax
push 0x8800c6
mov eax, dword [0x50c194]
push eax
mov edx, dword [0x50c190]
push edx
push 0
push 0
mov ecx, dword [0x50c174]
push ecx
mov eax, dword [esi + 0xc]
push eax
mov edx, dword [esi + 8]
push edx
mov ecx, dword [esi + 4]
push ecx
mov eax, dword [esi]
push eax
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_StretchBlt
push 0xee0086
mov ecx, dword [0x50c194]
push ecx
mov eax, dword [0x50c190]
push eax
push 0
push 0
mov edx, dword [0x50c16c]
push edx
mov ecx, dword [esi + 0xc]
push ecx
mov eax, dword [esi + 8]
push eax
mov edx, dword [esi + 4]
push edx
mov ecx, dword [esi]
push ecx
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_StretchBlt
mov edx, dword [0x50c180]
push edx
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_SetTextColor
mov eax, dword [0x50c184]
push eax
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_SetBkColor
jmp 0x458aa2
mov ecx, dword [0x50c1a8]
push ecx
mov eax, dword [0x50c194]
push eax
mov edx, dword [0x50c190]
push edx
push 0
push 0
mov ecx, dword [0x50c16c]
push ecx
mov eax, dword [esi + 0xc]
push eax
mov edx, dword [esi + 8]
push edx
mov ecx, dword [esi + 4]
push ecx
mov eax, dword [esi]
push eax
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_StretchBlt
cmp byte [0x50c178], 0
je 0x458ad3
push 0xcc0020
mov edx, dword [esi + 4]
push edx
mov eax, dword [esi]
push eax
mov ecx, dword [0x50c170]
push ecx
mov ecx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push ecx
push edx
push eax
mov eax, dword [0x50c168]
push eax
call sub.GDI32.dll_BitBlt
mov eax, dword [esi]
add eax, dword [esi + 8]
mov edx, dword [0x50c160]
cmp eax, dword [edx + 0x5ec]
jle 0x458aec
mov dword [edx + 0x5ec], eax
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
mov edx, dword [0x50c160]
cmp eax, dword [edx + 0x5f0]
jle 0x458b06
mov dword [edx + 0x5f0], eax
cmp dword [0x50c174], 0
je 0x458b47
cmp dword [0x50c15c], 0
je 0x458b3b
mov ecx, dword [0x50c15c]
push ecx
mov eax, dword [0x50c174]
push eax
call sub.GDI32.dll_SelectObject
mov dword [0x50c15c], eax
mov edx, dword [0x50c15c]
push edx
call sub.GDI32.dll_DeleteObject
mov ecx, dword [0x50c174]
push ecx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c170], 0
je 0x458b77
cmp dword [0x50c150], 0
je 0x458b6b
mov eax, dword [0x50c150]
push eax
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_SelectObject
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c16c], 0
je 0x458ba7
cmp dword [0x50c14c], 0
je 0x458b9b
mov eax, dword [0x50c14c]
push eax
mov edx, dword [0x50c16c]
push edx
call sub.GDI32.dll_SelectObject
mov ecx, dword [0x50c16c]
push ecx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c154], 0
je 0x458bbb
mov eax, dword [0x50c154]
push eax
call sub.GDI32.dll_DeleteObject
mov edx, dword [0x50c168]
push edx
mov ecx, dword [0x50c160]
mov eax, dword [ecx]
push eax
call sub.USER32.dll_ReleaseDC
jmp 0x458fc9
mov edx, dword [0x50c164]
mov ecx, dword [edx]
push ecx
call sub.USER32.dll_GetDC
mov ebx, eax
mov dword [0x50c168], ebx
test ebx, ebx
jne 0x458bf6
xor eax, eax
jmp 0x458fce
push ebx
call sub.GDI32.dll_CreateCompatibleDC
mov edi, eax
mov dword [0x50c16c], edi
test edi, edi
je 0x458eff
mov eax, dword [0x50c160]
mov edx, dword [eax + 0x5dc]
push edx
push edi
call sub.GDI32.dll_SelectObject
mov dword [0x50c14c], eax
mov ecx, dword [0x50c168]
push ecx
call sub.GDI32.dll_CreateCompatibleDC
mov ebx, eax
mov dword [0x50c170], ebx
test ebx, ebx
je 0x458eff
mov eax, dword [0x50c164]
mov edx, dword [eax + 0x5dc]
push edx
push ebx
call sub.GDI32.dll_SelectObject
mov dword [0x50c150], eax
push 4
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_SetStretchBltMode
push 0
push 0
push 0
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_SetBrushOrgEx
cmp byte [0x50c179], 0
je 0x458e3d
mov edx, dword [0x50c168]
push edx
call sub.GDI32.dll_CreateCompatibleDC
mov dword [0x50c174], eax
cmp dword [0x50c174], 0
je 0x458eff
mov ecx, dword [0x50c194]
push ecx
mov eax, dword [0x50c190]
push eax
mov edx, dword [0x50c168]
push edx
call sub.GDI32.dll_CreateCompatibleBitmap
mov ebx, eax
mov dword [0x50c154], ebx
test ebx, ebx
je 0x458eff
push ebx
mov eax, dword [0x50c174]
push eax
call sub.GDI32.dll_SelectObject
mov dword [0x50c158], eax
push 0xcc0020
mov edx, dword [0x50c18c]
push edx
mov ecx, dword [0x50c188]
push ecx
mov eax, dword [0x50c16c]
push eax
mov edx, dword [0x50c194]
push edx
mov ecx, dword [0x50c190]
push ecx
push 0
push 0
mov eax, dword [0x50c174]
push eax
call sub.GDI32.dll_BitBlt
mov edx, dword [0x50c158]
push edx
mov ecx, dword [0x50c174]
push ecx
call sub.GDI32.dll_SelectObject
mov eax, dword [0x50c14c]
push eax
mov edx, dword [0x50c16c]
push edx
call sub.GDI32.dll_SelectObject
mov ecx, dword [0x50c154]
push ecx
mov eax, dword [0x50c16c]
push eax
call sub.GDI32.dll_SelectObject
mov dword [0x50c14c], eax
mov edx, dword [0x50c17c]
push edx
mov ecx, dword [esi + 0xc]
push ecx
mov eax, dword [esi + 8]
push eax
mov edx, dword [0x50c174]
push edx
mov ecx, dword [0x50c16c]
push ecx
call fcn.004584c4
mov dword [0x50c15c], eax
cmp dword [0x50c15c], 0
je 0x458eff
push 0
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_SetTextColor
mov dword [0x50c180], eax
push 0xffffff
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_SetBkColor
mov dword [0x50c184], eax
push 0x8800c6
mov ecx, dword [0x50c194]
push ecx
mov eax, dword [0x50c190]
push eax
push 0
push 0
mov edx, dword [0x50c174]
push edx
mov ecx, dword [esi + 0xc]
push ecx
mov eax, dword [esi + 8]
push eax
mov edx, dword [esi + 4]
push edx
mov ecx, dword [esi]
push ecx
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_StretchBlt
push 0xee0086
mov edx, dword [0x50c194]
push edx
mov ecx, dword [0x50c190]
push ecx
push 0
push 0
mov eax, dword [0x50c16c]
push eax
mov edx, dword [esi + 0xc]
push edx
mov ecx, dword [esi + 8]
push ecx
mov eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_StretchBlt
mov eax, dword [0x50c180]
push eax
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_SetTextColor
mov ecx, dword [0x50c184]
push ecx
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_SetBkColor
jmp 0x458e80
mov edx, dword [0x50c1a8]
push edx
mov ecx, dword [0x50c194]
push ecx
mov eax, dword [0x50c190]
push eax
mov edx, dword [0x50c18c]
push edx
mov ecx, dword [0x50c188]
push ecx
mov eax, dword [0x50c16c]
push eax
mov edx, dword [esi + 0xc]
push edx
mov ecx, dword [esi + 8]
push ecx
mov eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
mov ecx, dword [0x50c170]
push ecx
call sub.GDI32.dll_StretchBlt
cmp byte [0x50c178], 0
je 0x458eb7
push 0xcc0020
mov eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
mov ecx, dword [0x50c170]
push ecx
mov eax, dword [esi + 0xc]
push eax
mov edx, dword [esi + 8]
push edx
mov ecx, dword [esi + 4]
push ecx
mov eax, dword [esi]
push eax
mov edx, dword [0x50c168]
push edx
call sub.GDI32.dll_BitBlt
mov ecx, dword [esi]
add ecx, dword [esi + 8]
mov eax, dword [0x50c160]
cmp ecx, dword [eax + 0x5ec]
jle 0x458eda
mov edx, dword [esi]
add edx, dword [esi + 8]
mov ecx, dword [0x50c160]
mov dword [ecx + 0x5ec], edx
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
mov edx, dword [0x50c160]
cmp eax, dword [edx + 0x5f0]
jle 0x458eff
mov ecx, dword [esi + 4]
add ecx, dword [esi + 0xc]
mov eax, dword [0x50c160]
mov dword [eax + 0x5f0], ecx
cmp dword [0x50c174], 0
je 0x458f40
cmp dword [0x50c15c], 0
je 0x458f34
mov edx, dword [0x50c15c]
push edx
mov ecx, dword [0x50c174]
push ecx
call sub.GDI32.dll_SelectObject
mov dword [0x50c15c], eax
mov eax, dword [0x50c15c]
push eax
call sub.GDI32.dll_DeleteObject
mov edx, dword [0x50c174]
push edx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c170], 0
je 0x458f70
cmp dword [0x50c150], 0
je 0x458f64
mov ecx, dword [0x50c150]
push ecx
mov eax, dword [0x50c170]
push eax
call sub.GDI32.dll_SelectObject
mov edx, dword [0x50c170]
push edx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c16c], 0
je 0x458fa0
cmp dword [0x50c14c], 0
je 0x458f94
mov ecx, dword [0x50c14c]
push ecx
mov eax, dword [0x50c16c]
push eax
call sub.GDI32.dll_SelectObject
mov edx, dword [0x50c16c]
push edx
call sub.GDI32.dll_DeleteDC
cmp dword [0x50c154], 0
je 0x458fb5
mov ecx, dword [0x50c154]
push ecx
call sub.GDI32.dll_DeleteObject
mov eax, dword [0x50c168]
push eax
mov edx, dword [0x50c164]
mov ecx, dword [edx]
push ecx
call sub.USER32.dll_ReleaseDC
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4