Function at 0x485700
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x4c
mov eax, dword [0x63ca90]
push ebx
push ebp
push esi
push eax
mov ebx, 1
mov byte [esp + 0x13], 0
mov dword [esp + 0x2c], 0
call fcn.0043c610
mov ecx, dword [eax*4 + 0x638070]
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], bl
mov dword [esp + 0x30], 0xcc0020
je 0x4857cc
cmp byte [eax], 0x2d
jne 0x4857cc
push 0x68
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x485765
mov byte [esp + 0xf], bl
mov edx, dword [esi + 4]
push 0x69
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48577f
mov dword [esp + 0x30], 0xbb0226
mov eax, dword [esi + 4]
push 0x6e
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x485796
mov byte [esp + 0xe], 0
mov ecx, dword [esi + 4]
push 0x74
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4857ad
mov byte [esp + 0xd], 1
mov edx, dword [esi + 4]
push 0x6d
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4857c7
mov dword [esp + 0x28], 1
mov ebx, 2
mov eax, dword [esi + ebx*4]
test eax, eax
jne 0x4857e9
push eax
push eax
mov eax, dword [esi]
push eax
push 0
call fcn.0048bd90
add esp, 0x10
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push edi
push 0
push eax
call fcn.005091b0
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x18], edi
je 0x485f9d
mov eax, dword [edi + 0x1478]
test eax, eax
je 0x485f9d
mov eax, dword [edi + 0x134c]
test eax, eax
je 0x485f9d
mov eax, dword [edi + 0x1728]
test eax, eax
je 0x485f9d
cmp dword [edi + 0x1314], 9
jne 0x485f9d
mov al, byte [esp + 0x13]
test al, al
je 0x48584d
mov ecx, dword [edi]
push ecx
call fcn.00597d30
add esp, 4
mov eax, dword [esi + ebx*4 + 4]
test eax, eax
jne 0x48587a
mov al, byte [esp + 0x12]
test al, al
je 0x485873
push edi
call fcn.00482720
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
push 0
jmp 0x485f9f
mov cl, byte [esp + 0x11]
test cl, cl
je 0x4858a3
push eax
call fcn.005d99cd
xor edx, edx
mov ecx, eax
shr ecx, 0x10
mov dh, cl
add esp, 4
mov dl, ah
movzx eax, al
shl edx, 8
or edx, eax
mov dword [esp + 0x30], edx
inc ebx
mov eax, dword [esi + ebx*4 + 4]
test eax, eax
je 0x485f84
mov ecx, dword [esi + ebx*4 + 8]
test ecx, ecx
je 0x485f84
mov ecx, dword [esi + ebx*4 + 0xc]
test ecx, ecx
je 0x485f84
mov ecx, dword [esi + ebx*4 + 0x10]
test ecx, ecx
je 0x485f84
mov ecx, dword [esi + ebx*4 + 0x14]
test ecx, ecx
je 0x485f84
mov ecx, dword [esi + ebx*4 + 0x18]
test ecx, ecx
je 0x485f84
mov ecx, dword [esi + ebx*4 + 0x1c]
test ecx, ecx
je 0x485f84
push eax
call fcn.005d9a55
mov ecx, dword [esi + ebx*4 + 8]
push ecx
mov dword [esp + 0x54], eax
call fcn.005d9a55
mov edx, dword [esi + ebx*4 + 0xc]
push edx
mov dword [esp + 0x5c], eax
call fcn.005d9a55
mov edi, eax
mov eax, dword [esi + ebx*4 + 0x10]
push eax
call fcn.005d9a55
mov ecx, dword [esi + ebx*4 + 0x14]
push 0
push ecx
mov ebp, eax
call fcn.005091b0
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x485f6b
mov ecx, dword [eax + 0x1478]
test ecx, ecx
je 0x485f6b
mov ecx, dword [eax + 0x134c]
test ecx, ecx
je 0x485f6b
mov ecx, dword [eax + 0x1728]
test ecx, ecx
je 0x485f6b
cmp dword [eax + 0x1314], 9
jne 0x485f6b
mov edx, dword [esi + ebx*4 + 0x18]
push edx
call fcn.005d9a55
mov dword [esp + 0x40], eax
mov eax, dword [esi + ebx*4 + 0x1c]
push eax
call fcn.005d9a55
mov dword [esp + 0x48], eax
mov eax, dword [esi + ebx*4 + 0x20]
add esp, 8
test eax, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebp
je 0x4859cb
mov ecx, dword [esi + ebx*4 + 0x24]
test ecx, ecx
je 0x4859cb
push eax
call fcn.005d9a55
mov ecx, dword [esi + ebx*4 + 0x24]
push ecx
mov dword [esp + 0x4c], eax
call fcn.005d9a55
add esp, 8
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp eax, edx
jne 0x485c7f
mov ecx, dword [eax + 0x1478]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x60], esi
jne 0x485a0a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
push ebp
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x485c60
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x24], ebx
je 0x485c55
mov edx, dword [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x485c3a
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x1728]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4c]
push 0xcc0020
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push esi
push ebp
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x2c], 1
jne 0x485aa1
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ebp
push edi
push edx
push eax
jmp 0x485aa9
push 0
push 0
push 0
push 0
push esi
call fcn.0041e920
mov al, byte [esp + 0x25]
add esp, 0x14
test al, al
je 0x485b75
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x14], eax
je 0x485c1f
mov edx, dword [esp + 0x30]
push edx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x2c]
push edi
push ebx
push eax
call fcn.00488940
add esp, 0x14
push 0
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0x8800c6
push ebp
push edi
push 0
push 0
push ebx
mov ebx, dword [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push 0xee0086
push ebp
push edi
push 0
push 0
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x2c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x485ba0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x48]
push ebp
push edi
push 0
push 0
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov al, byte [esp + 0x12]
test al, al
mov edi, dword [esp + 0x40]
je 0x485bcb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
push 0xcc0020
push edi
push ebx
push esi
push eax
push ecx
push edi
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
add ebx, eax
mov eax, dword [esp + 0x18]
cmp ebx, dword [eax + 0x1734]
jle 0x485be3
mov dword [eax + 0x1734], ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 0x1738]
add ecx, edi
cmp ecx, edx
jle 0x485bf9
mov dword [eax + 0x1738], ecx
mov edi, dword [esp + 0x14]
test edi, edi
je 0x485c1f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x485c18
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x485c2f
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x485c4a
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1478]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1478]
push eax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [esp + 0x60], eax
je 0x485a00
mov ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x485f48
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1728]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x485f22
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1728]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x2c], 1
jne 0x485d05
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ebp
push edi
push ecx
push edx
jmp 0x485d0d
push 0
push 0
push 0
push 0
push esi
call fcn.0041e920
mov al, byte [esp + 0x25]
add esp, 0x14
test al, al
je 0x485e5b
mov eax, dword [esp + 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x14], eax
je 0x485f0b
mov ecx, dword [esp + 0x60]
push ebp
push edi
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x485ee5
mov edx, eax
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 0xcc0020
push ecx
push edx
push ebx
push ebp
push edi
push 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
push edx
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push edi
push eax
push ebx
call fcn.00488940
add esp, 0x14
test eax, eax
mov dword [esp + 0x28], eax
je 0x485ee5
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
push 0x8800c6
push ebp
push edi
push 0
push 0
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xee0086
push ebp
push edi
push 0
push 0
push ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x30]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x2c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x485e88
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov al, byte [esp + 0x12]
test al, al
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
je 0x485eb7
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
push 0xcc0020
push ebp
push edi
push esi
push ecx
push edx
push ebp
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
add edi, ecx
cmp edi, dword [eax + 0x1734]
jle 0x485ecf
mov dword [eax + 0x1734], edi
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + 0x1738]
add ebp, edx
cmp ebp, ecx
jle 0x485ee5
mov dword [eax + 0x1738], ebp
mov edi, dword [esp + 0x14]
test edi, edi
je 0x485f0b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x485f04
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x485f1b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x485f32
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x485f48
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x1478]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret
mov eax, dword [esi]
push 7
push 0
push eax
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esi]
push 0
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 7
mov edx, dword [esi]
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret