Function at 0x474490
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
mov ebx, 1
mov byte [esp + 0x13], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], bl
mov dword [esp + 0x38], 0xcc0020
je 0x474540
cmp byte [eax], 0x2d
jne 0x474540
push 0x68
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x4744dd
mov byte [esp + 0x13], bl
mov eax, dword [esi + 4]
push 0x69
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x4744f7
mov dword [esp + 0x38], 0xbb0226
mov ecx, dword [esi + 4]
push 0x6e
push ecx
call fcn.00570260
add esp, 8
test eax, eax
je 0x47450e
mov byte [esp + 0x12], 0
mov edx, dword [esi + 4]
push 0x74
push edx
call fcn.00570260
add esp, 8
test eax, eax
je 0x474525
mov byte [esp + 0x11], 1
mov eax, dword [esi + 4]
push 0x6d
push eax
call fcn.00570260
add esp, 8
test eax, eax
je 0x47453b
mov dword [esp + 0x30], ebx
mov ebx, 2
mov ecx, dword [esi + ebx*4]
cmp ecx, edi
je 0x474c90
xor edx, edx
call fcn.004e2e60
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x474ca3
cmp dword [eax + 0x864], edi
je 0x474ca3
cmp dword [eax + 0x744], edi
je 0x474ca3
cmp dword [eax + 0x948], edi
je 0x474ca3
cmp dword [eax + 0x708], 9
jne 0x474ca3
mov cl, byte [esp + 0x13]
test cl, cl
je 0x47459e
mov ecx, dword [eax]
call fcn.00496a30
mov eax, dword [esi + ebx*4 + 4]
cmp eax, edi
je 0x4745bc
mov cl, byte [esp + 0x11]
test cl, cl
je 0x4745bc
push eax
call fcn.00570543
add esp, 4
mov dword [esp + 0x34], eax
inc ebx
mov eax, dword [esi + ebx*4 + 4]
cmp eax, edi
je 0x474c90
cmp dword [esi + ebx*4 + 8], edi
je 0x474c90
cmp dword [esi + ebx*4 + 0xc], edi
je 0x474c90
cmp dword [esi + ebx*4 + 0x10], edi
je 0x474c90
cmp dword [esi + ebx*4 + 0x14], edi
je 0x474c90
cmp dword [esi + ebx*4 + 0x18], edi
je 0x474c90
cmp dword [esi + ebx*4 + 0x1c], edi
je 0x474c90
push eax
call fcn.005705cb
mov ecx, dword [esi + ebx*4 + 8]
push ecx
mov dword [esp + 0x58], eax
call fcn.005705cb
mov edx, dword [esi + ebx*4 + 0xc]
push edx
mov dword [esp + 0x60], eax
call fcn.005705cb
mov edi, eax
mov eax, dword [esi + ebx*4 + 0x10]
push eax
call fcn.005705cb
mov ecx, dword [esi + ebx*4 + 0x14]
add esp, 0x10
xor edx, edx
mov ebp, eax
call fcn.004e2e60
test eax, eax
mov dword [esp + 0x28], eax
je 0x474c7b
mov ecx, dword [eax + 0x864]
test ecx, ecx
je 0x474c7b
mov ecx, dword [eax + 0x744]
test ecx, ecx
je 0x474c7b
mov ecx, dword [eax + 0x948]
test ecx, ecx
je 0x474c7b
cmp dword [eax + 0x708], 9
jne 0x474c7b
mov ecx, dword [esi + ebx*4 + 0x18]
push ecx
call fcn.005705cb
mov edx, dword [esi + ebx*4 + 0x1c]
push edx
mov dword [esp + 0x48], eax
call fcn.005705cb
mov dword [esp + 0x4c], eax
mov eax, dword [esi + ebx*4 + 0x20]
add esp, 8
test eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebp
je 0x4746d7
mov ecx, dword [esi + ebx*4 + 0x24]
test ecx, ecx
je 0x4746d7
push eax
call fcn.005705cb
mov dword [esp + 0x4c], eax
mov eax, dword [esi + ebx*4 + 0x24]
push eax
call fcn.005705cb
add esp, 8
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jne 0x474983
mov edx, eax
mov eax, dword [edx + 0x864]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x47499c
push ebp
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x20], eax
je 0x474964
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x474959
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, esi
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x47493e
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x948]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x54]
push 0xcc0020
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
push eax
push esi
push ebp
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x30], 1
jne 0x4747a8
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ebp
push edi
push ecx
mov ecx, esi
jmp 0x4747b2
push 0
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.0041a800
mov al, byte [esp + 0x11]
test al, al
je 0x474879
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x18], eax
je 0x474923
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push eax
push ebp
push edi
mov edx, ebx
call fcn.004769e0
push 0
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push 0x8800c6
push ebp
push edi
push 0
push 0
push ebx
mov ebx, dword [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push 0xee0086
push ebp
push edi
push 0
push 0
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
push ebx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x34]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x30]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x4748a4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push edi
push 0
push 0
push edx
mov edx, dword [esp + 0x5c]
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 + 0x44]
je 0x4748cf
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
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 + 0x48]
add ebx, eax
mov eax, dword [esp + 0x1c]
cmp ebx, dword [eax + 0x954]
jle 0x4748e7
mov dword [eax + 0x954], ebx
mov ecx, dword [esp + 0x4c]
mov edx, dword [eax + 0x958]
add ecx, edi
cmp ecx, edx
jle 0x4748fd
mov dword [eax + 0x958], ecx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x474923
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x47491c
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 + 0x3c]
test eax, eax
je 0x474933
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47494e
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x864]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x864]
push eax
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4749a6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x474c58
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x948]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x474c32
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x948]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x30], 1
jne 0x474a12
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ebp
push edi
push ecx
mov ecx, esi
jmp 0x474a1c
push 0
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.0041a800
mov al, byte [esp + 0x11]
test al, al
je 0x474b6b
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x18], eax
je 0x474c1b
mov eax, dword [esp + 0x14]
push ebp
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x20], eax
je 0x474bf5
mov edx, dword [esp + 0x18]
mov ecx, eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
push 0xcc0020
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
push eax
push ecx
push ebx
push ebp
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
push edx
push ebx
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 + 0x34]
mov edx, dword [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.004769e0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x474bf5
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xffffff
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
push 0x8800c6
push ebp
push edi
push 0
push 0
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0xee0086
push ebp
push edi
push 0
push 0
push ebx
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [esp + 0x34]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x474b98
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ebp
push edi
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push ebx
push eax
mov eax, dword [esp + 0x5c]
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 + 0x40]
mov ebp, dword [esp + 0x44]
je 0x474bc7
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
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 + 0x48]
mov eax, dword [esp + 0x1c]
add edi, ecx
cmp edi, dword [eax + 0x954]
jle 0x474bdf
mov dword [eax + 0x954], edi
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax + 0x958]
add ebp, edx
cmp ebp, ecx
jle 0x474bf5
mov dword [eax + 0x958], ebp
mov edi, dword [esp + 0x18]
test edi, edi
je 0x474c1b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x474c14
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 + 0x3c]
test eax, eax
je 0x474c2b
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x474c42
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x474c58
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x864]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50
ret
mov edx, dword [esi]
push 7
push 0
xor ecx, ecx
call fcn.00479790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edx, dword [esi]
push edi
push edi
xor ecx, ecx
call fcn.00479790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov edx, dword [esi]
push 7
push edi
xor ecx, ecx
call fcn.00479790
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret