Function at 0x43a170
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x2c]
xor edi, edi
add ecx, ecx
add edx, ecx
cmp ebx, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
je 0x43a1c7
mov edx, dword [esi + 0x30]
sub edx, ebx
sar edx, 3
je 0x43a1c7
mov ebp, dword [esi + 0x3c]
lea ebx, [edx - 1]
imul ebp, edx
imul ebx, dword [esi + 0x48]
add ebx, ecx
add ebp, ebx
mov dword [esp + 0x48], ebp
jmp 0x43a1cb
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.00415f50
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x70]
push eax
push edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
call ebp
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x18]
mov ebx, eax
push edx
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x50]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esi + 0x48]
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x38]
push ecx
push eax
push edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
call ebp
mov ebp, eax
push edi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ebp
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x4c]
push edx
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x44]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43a2a6
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
push 2
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push ebp
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x10], 0
jmp 0x43a2c0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x43a3f7
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x10], eax
jae 0x43a3f7
mov edx, dword [esi + 0x2c]
xor ebp, ebp
xor eax, eax
xor ecx, ecx
xor ebx, ebx
test edx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
je 0x43a348
mov ecx, dword [esi + 0x30]
sub ecx, edx
sar ecx, 3
cmp dword [esp + 0x10], ecx
jae 0x43a344
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esi + 0x40]
mov eax, ebx
imul eax, ecx
add eax, ebp
test ecx, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
jbe 0x43a333
mov edx, dword [esi + 0x48]
imul edx, ecx
add eax, edx
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x38]
add ecx, ebp
add ebx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
jmp 0x43a348
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push edx
mov edx, ebx
sub edx, eax
push edx
sub ecx, ebp
push ecx
push eax
push ebp
push edi
mov dword [esp + 0x44], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x43a380
mov ecx, dword [esi + 0x30]
sub ecx, eax
sar ecx, 3
cmp dword [esp + 0x10], ecx
jb 0x43a385
call fcn.00475a50
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x68]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [eax + ecx*8]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00439f10
mov ecx, dword [esi + 0x2c]
test ecx, ecx
jne 0x43a3b4
xor eax, eax
jmp 0x43a3bc
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
add eax, 0xffffffff
cmp dword [esp + 0x10], eax
jae 0x43a3e9
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push ecx
add eax, ebx
sub eax, ebx
push eax
push edx
push ebx
push ebp
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
add dword [esp + 0x10], 1
mov ebx, dword [esp + 0x14]
jmp 0x43a2c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [esp + 0x84]
push esi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43a427
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x43a434
push ebx
call ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43a443
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43a44e
push eax
call ebp
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
push 0xcc0020
push eax
push ecx
push edi
sub edx, eax
push edx
mov edx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x88]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x43a49c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x43a4a3
push edi
call ebp
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret