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

Disassembly:
push 0xffffffffffffffff
push 0x495490
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x8c]
cmp eax, 3
ja case.default.0x438d88
jmp dword [eax*4 + 0x439168]
lea ecx, [esp + 0x38]
call fcn.00444ec7
mov ecx, dword [edi + 0x94]
lea eax, [esp + 0x58]
push eax
push 0x18
xor ebp, ebp
push ecx
mov dword [esp + 0x84], ebp
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [esp + 0x80]
push esi
lea ecx, [esp + 0x3c]
call fcn.00401220
lea eax, [edi + 0x90]
cmp eax, ebp
jne 0x438dd4
xor eax, eax
jmp 0x438dd7
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.004456f3
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp dword [edi + 0x148], ebp
je 0x438e8d
mov eax, dword [edi + 0x168]
mov esi, dword [esp + 0x60]
cdq
idiv esi
mov dword [esp + 0x14], ebp
test eax, eax
jl 0x438ec6
mov eax, dword [edi + 0x160]
cdq
idiv esi
mov ecx, eax
xor ebx, ebx
test ecx, ecx
jl 0x438e71
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x3c]
push 0xcc0020
push 0
mov eax, esi
imul eax, dword [esp + 0x1c]
add eax, dword [edi + 0x164]
mov ecx, edx
imul ecx, ebx
add ecx, dword [edi + 0x15c]
push 0
push ebp
push esi
push edx
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 0x160]
mov esi, dword [esp + 0x60]
cdq
idiv esi
inc ebx
mov ecx, eax
cmp ebx, ecx
jle 0x438e1e
mov eax, dword [edi + 0x168]
cdq
idiv esi
mov ebx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, eax
jle 0x438e18
mov ebx, dword [esp + 0x20]
jmp 0x438ec6
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push 0xcc0020
push edx
mov edx, dword [edi + 0x168]
push eax
mov eax, dword [edi + 0x160]
push ebp
push ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edi + 0x164]
push edx
mov edx, dword [edi + 0x15c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00404460
test ebx, ebx
jne 0x438ee0
xor eax, eax
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004456f3
lea ecx, [esp + 0x38]
jmp 0x439142
mov eax, dword [ebx + 4]
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004456f3
lea ecx, [esp + 0x38]
jmp 0x439142
mov eax, dword [edi + 0x15c]
mov ecx, dword [edi + 0x164]
mov edx, dword [edi + 0x160]
add edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x168]
add eax, ecx
cmp dword [edi + 0x84], 0
mov dword [esp + 0x3c], ecx
sete cl
mov dword [esp + 0x40], edx
movzx edx, cl
mov ecx, dword [edi + 0x74]
push edx
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x78]
push eax
mov eax, dword [esp + 0x88]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.00438c10
add esp, 0x14
jmp case.default.0x438d88
mov esi, dword [esp + 0x80]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
add edi, 0x14c
push edi
mov ecx, esi
call fcn.0045654f
jmp case.default.0x438d88
mov esi, dword [esp + 0x80]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
lea eax, [edi + 0x14c]
push eax
mov ecx, esi
call fcn.0045654f
mov ebx, dword [sym.imp.USER32.dll_IsRectEmpty]
lea ebp, [edi + 0xd0]
push ebp
call ebx
test eax, eax
jne case.default.0x438d88
lea esi, [edi + 0xc0]
push esi
call ebx
test eax, eax
jne case.default.0x438d88
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [ebp + 4]
sub ebx, dword [ebp + 0xc]
mov ebp, dword [esp + 0x54]
add ebx, ebp
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
jns 0x438fe7
xor ebx, ebx
lea ecx, [esp + 0x28]
call fcn.00444ec7
mov ecx, dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], 1
call fcn.00401220
lea edx, [edi + 0xb8]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401260
mov ecx, dword [edi + 0xd0]
push 0xcc0020
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xd4]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x34]
push edx
sub ebp, ebx
push ebp
push eax
push ebx
push 0
call fcn.00401290
test ebx, ebx
je 0x439121
mov eax, dword [esp + 0x50]
test eax, eax
je 0x439121
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
cdq
idiv ecx
mov ebp, dword [esi + 0xc]
sub ebp, dword [esi + 4]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, ebx
cdq
idiv ebp
mov edx, dword [esi + 8]
sub edx, dword [esi]
imul edx, ecx
cmp edx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
jge 0x439090
inc ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
imul edx, eax
cmp edx, ebx
jge 0x4390a2
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
test eax, eax
jle 0x439121
xor ebp, ebp
mov dword [esp + 0x18], ebp
test ecx, ecx
jle 0x439114
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
imul ecx, ebp
mov ebp, dword [edi + 0xc4]
imul eax, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 4]
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
push 0xcc0020
push ebp
mov ebp, dword [esi]
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push edx
push ebx
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc ebp
cmp ebp, ecx
mov dword [esp + 0x18], ebp
jl 0x4390b8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
inc edx
cmp edx, eax
mov dword [esp + 0x14], edx
jl 0x4390ae
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
call fcn.00401260
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x28]
mov dword [esp + 0x78], 0xffffffff
call fcn.00445411
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4