Function at 0x404230
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446f74
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 8
xor edi, edi
xor ebp, ebp
call fcn.0042f8fe
add esp, 4
cmp eax, edi
je 0x40426d
mov dword [eax + 4], edi
mov dword [eax], 0x44b798
mov ebx, eax
jmp 0x40426f
xor ebx, ebx
push edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esi + 0x6d0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
mov dword [esi + 0x6d4], eax
call fcn.0042f8fe
add esp, 4
mov dword [esp + 0x28], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x5c], ecx
je 0x4042af
mov ecx, eax
call fcn.00432cb2
mov dword [esp + 0x10], eax
jmp 0x4042b3
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x5c], 0xffffffff
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00432d54
test eax, eax
mov dword [esp + 0x18], eax
je 0x4042d6
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00432d69
call fcn.0044098a
mov eax, dword [eax + 0xc]
push 0x84
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call fcn.004337e1
test ebx, ebx
jne 0x40430b
xor eax, eax
jmp 0x40430e
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.00432e94
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x3c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
push 8
call fcn.0042f8fe
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x404348
mov dword [eax + 4], ebx
mov dword [eax], 0x44b798
jmp 0x40434a
xor eax, eax
push 0x10
mov dword [esi + 0x6cc], eax
call fcn.0042f8fe
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov dword [esp + 0x5c], 1
je 0x404373
mov ecx, eax
call fcn.00432cb2
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
mov dword [esi + 0x6c8], ebx
je 0x40438c
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00432d69
mov eax, dword [esi + 0x6d4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x6d0]
mov ebx, dword [esi + 0x6cc]
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.004337e1
mov eax, dword [esi + 0x6cc]
mov ecx, dword [esi + 0x6c8]
test eax, eax
je 0x4043d8
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.00432e94
mov ecx, dword [esi + 0x6d4]
xor ebx, ebx
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x40445d
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x6d0]
test edx, edx
jle 0x404447
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x6c8]
test eax, eax
je 0x404413
mov eax, dword [eax + 4]
push 0xcc0020
push 0
push 0
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x6d0]
add ebx, ecx
cmp ebx, eax
jl 0x404402
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
xor ebx, ebx
add eax, edx
mov edx, dword [esi + 0x6d4]
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x4043f8
mov eax, dword [0x45c204]
mov ecx, dword [0x45c1e8]
mov edx, dword [0x45c1e4]
shl eax, 2
push eax
push eax
push 7
push ecx
push edx
push 0
push 9
mov ecx, esi
call fcn.004063e0
mov eax, dword [0x45c204]
mov ecx, dword [0x45c1f0]
mov edx, dword [0x45c1ec]
shl eax, 2
push eax
push eax
push 7
push ecx
push edx
push 0
push 9
mov ecx, esi
call fcn.004063e0
mov eax, dword [0x45f870]
mov ecx, dword [0x45f874]
mov edx, dword [0x45c1e0]
push eax
mov eax, dword [0x45c1dc]
push ecx
push 7
push edx
push eax
push 0
push 5
mov ecx, esi
call fcn.004063e0
mov ecx, dword [0x45f870]
mov edx, dword [0x45f874]
mov eax, dword [0x45c1d8]
push ecx
mov ecx, dword [0x45c1d4]
push edx
push 7
push eax
push ecx
push 0
push 5
mov ecx, esi
call fcn.004063e0
mov ecx, dword [esi + 0x6c8]
push 1
call fcn.00432f7e
cmp dword [0x45f8d0], 0x320
jne 0x404519
mov ebp, 0xffffffcb
mov edi, 0x3c
mov edx, dword [0x45c200]
mov eax, dword [0x45c1fc]
mov ecx, dword [0x45c1f8]
push edx
mov edx, dword [0x45c1f4]
push eax
sub ecx, edi
push 7
add edx, ebp
push ecx
push edx
push 0
push 2
mov ecx, esi
call fcn.004063e0
mov eax, dword [esi + 0x4b0]
lea ebx, [esi + 0x44]
push eax
mov ecx, ebx
call fcn.00401d70
xor eax, eax
mov dword [esp + 0x34], vtable.CBrush.0
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], vtable.CPen.0
mov ecx, dword [esi + 0x4b0]
mov byte [esp + 0x5c], 3
push ecx
mov ecx, ebx
call fcn.00401d70
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x38]
call fcn.004337e1
mov edx, dword [esi + 0x4b0]
mov ecx, ebx
push edx
call fcn.00401d70
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.004337e1
mov ecx, dword [esi + 0x6c8]
lea eax, [esp + 0x34]
push eax
call fcn.00432ee7
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x6c8]
call fcn.00432ee7
mov eax, dword [0x45c1d8]
mov edx, dword [0x45f870]
mov ebx, dword [0x45f874]
lea ecx, [eax + edx + 7]
mov edx, dword [0x45c1d4]
add eax, 7
push ecx
lea ebx, [edx + ebx + 7]
add edx, 7
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x6c8]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call ebx
mov eax, dword [0x45c1e0]
mov edx, dword [0x45f870]
lea ecx, [eax + edx + 7]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x45c1dc]
mov edx, dword [0x45f874]
add eax, 7
lea edx, [ecx + edx + 7]
add ecx, 7
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x6c8]
push edx
mov eax, dword [eax + 4]
push eax
call ebx
mov eax, dword [0x45c204]
mov ecx, dword [0x45c1e8]
lea edx, [ecx + eax*4 + 7]
add ecx, 7
mov dword [esp + 0x24], edx
mov edx, dword [0x45c1e4]
lea eax, [edx + eax*4 + 7]
add edx, 7
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esi + 0x6c8]
mov ecx, dword [eax + 4]
push ecx
call ebx
mov eax, dword [0x45c204]
mov ecx, dword [0x45c1f0]
lea edx, [ecx + eax*4 + 7]
add ecx, 7
mov dword [esp + 0x24], edx
mov edx, dword [0x45c1ec]
lea eax, [edx + eax*4 + 7]
add edx, 7
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esi + 0x6c8]
mov ecx, dword [eax + 4]
push ecx
call ebx
mov eax, dword [0x45c1f8]
mov edx, dword [0x45c200]
sub eax, edi
lea ecx, [eax + edx + 7]
mov edx, dword [0x45c1fc]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x45c1f4]
add edx, ecx
add eax, 7
lea ecx, [ecx + ebp + 7]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
lea edx, [edx + ebp + 7]
push ecx
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x6c8]
push edx
mov eax, dword [eax + 4]
push eax
call ebx
push 8
call fcn.0042f8fe
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x404750
mov ebx, eax
mov dword [eax + 4], ecx
mov dword [eax], 0x44b798
mov dword [esp + 0x14], ebx
jmp 0x404756
mov dword [esp + 0x14], ecx
mov ebx, ecx
call fcn.0044098a
mov eax, dword [eax + 0xc]
push 0x138
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call fcn.004337e1
test ebx, ebx
je 0x404779
mov ebx, dword [ebx + 4]
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
push ecx
call fcn.00432e94
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x404796
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 8
call fcn.0042f8fe
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4047b5
mov dword [eax + 4], ecx
mov dword [eax], 0x44b798
mov dword [esp + 0x14], eax
jmp 0x4047b9
mov dword [esp + 0x14], ecx
call fcn.0044098a
mov eax, dword [eax + 0xc]
push 0x137
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [esp + 0x14]
push eax
call fcn.004337e1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4047e2
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00432e94
mov ecx, 0xc5
push 0x14
push 0x41
sub ecx, edi
lea ebx, [ebp + 0x142]
push 6
push ecx
push ebx
push 6
push 2
mov ecx, esi
call fcn.004063e0
mov ecx, dword [esi + 0x6c8]
push 0
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c228
lea ecx, [esp + 0x1c]
call fcn.0042fc2b
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c8]
lea edx, [ebp + 0x15a]
mov byte [esp + 0x5c], 4
mov eax, dword [eax - 8]
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, 0xcd
sub eax, edi
push eax
mov eax, dword [esp + 0x2c]
push eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, dword [esi + 0x6c8]
push 0xffffff
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c228
lea ecx, [esp + 0x1c]
call fcn.0042fc2b
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c8]
lea edx, [ebp + 0x159]
mov byte [esp + 0x5c], 5
mov eax, dword [eax - 8]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, 0xcc
sub eax, edi
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, 0xf7
push 0x14
push 0x41
sub ecx, edi
push 6
push ecx
push ebx
push 6
push 2
mov ecx, esi
call fcn.004063e0
mov ecx, dword [esi + 0x6c8]
push 0
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c21c
lea ecx, [esp + 0x1c]
call fcn.0042fc2b
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c8]
lea edx, [ebp + 0x14b]
mov byte [esp + 0x5c], 6
mov eax, dword [eax - 8]
mov dword [esp + 0x1c], edx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, 0xff
sub eax, edi
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, dword [esi + 0x6c8]
push 0xffffff
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c21c
lea ecx, [esp + 0x1c]
call fcn.0042fc2b
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c8]
add ebp, 0x14a
mov byte [esp + 0x5c], 7
mov eax, dword [eax - 8]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, 0xfe
sub eax, edi
push eax
push ebp
call dword [edx + 0x5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, 0x129
push 0x14
push 0x41
sub ecx, edi
push 6
push ecx
push ebx
push 6
push 2
mov ecx, esi
call fcn.004063e0
mov ecx, dword [esi + 0x6c8]
push 0
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c210
lea ecx, [esp + 0x1c]
call fcn.0042fc2b
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c8]
mov byte [esp + 0x5c], 8
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [ecx]
push eax
mov eax, 0x131
sub eax, edi
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, dword [esi + 0x6c8]
push 0xffffff
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c210
lea ecx, [esp + 0x20]
call fcn.0042fc2b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c8]
mov byte [esp + 0x5c], 9
mov edx, dword [eax - 8]
mov dword [esp + 0x28], edx
push dword [esp + 0x28]
mov edx, dword [ecx]
push eax
mov eax, 0x130
sub eax, edi
push eax
push ebp
call dword [edx + 0x5c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, 0x15b
push 0x14
push 0x41
sub ecx, edi
push 6
push ecx
push ebx
push 6
push 2
mov ecx, esi
call fcn.004063e0
mov ecx, dword [esi + 0x6c8]
push 0
mov edx, dword [ecx]
call dword [edx + 0x30]
push 0x45c208
lea ecx, [esp + 0x20]
call fcn.0042fc2b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c8]
mov byte [esp + 0x5c], 0xa
mov edx, dword [eax - 8]
mov ebx, dword [ecx]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, 0x163
sub eax, edi
push eax
push edx
call dword [ebx + 0x5c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, dword [esi + 0x6c8]
push 0xffffff
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x45c208
lea ecx, [esp + 0x24]
call fcn.0042fc2b
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c8]
mov byte [esp + 0x5c], 0xb
mov edx, dword [eax - 8]
mov ebx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x2c]
mov edx, 0x162
sub edx, edi
push edx
push eax
call dword [ebx + 0x5c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.0042fbbd
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x404b27
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 8
call fcn.0042f8fe
add esp, 4
test eax, eax
je 0x404b46
mov dword [eax + 4], 0
mov dword [eax], 0x44b798
mov edi, eax
jmp 0x404b48
xor edi, edi
call fcn.0044098a
mov eax, dword [eax + 0xc]
push 0x136
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004337e1
test edi, edi
je 0x404b6b
mov edi, dword [edi + 4]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 4]
push eax
call fcn.00432e94
mov esi, dword [esi + 0x6c8]
test edi, edi
je 0x404b86
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
push 0xcc0020
push 0
push 0
push edi
push 0x17
push 0x82
push 0x1f4
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 0xc
call fcn.00433838
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0xd
call fcn.00433838
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret