Function at 0x403df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43bad1
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x45302c]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x45302c]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov edi, ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call edx
test eax, eax
je 0x40423c
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0xcc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x8c]
push edx
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.0041b583
mov ecx, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push ecx
call ebx
mov edx, dword [edi + 0x84]
push edx
push 1
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], eax
call fcn.00413e9b
mov eax, dword [edi + 0x88]
push eax
push 1
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x14c], 0
call fcn.00413e9b
push 0
push 1
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14c], 1
call fcn.00413e9b
mov ecx, dword [esi + 8]
push 1
push ecx
mov byte [esp + 0x148], 2
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.00413d1b
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x31
push edx
mov dword [esp + 0x54], eax
call ebx
push eax
call fcn.00413d1b
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x8c]
push eax
mov ecx, esi
call edx
mov ecx, dword [edi + 0x90]
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
jle 0x4041c0
jmp 0x403f56
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x20]
push 0
push eax
push 0x120f
push ecx
call ebx
mov ecx, dword [edi + 0x20]
mov ebx, eax
lea eax, [esp + 0x88]
push eax
push ebx
push 0x1203
lea edx, [esp + 0xe8]
push ecx
mov dword [esp + 0x98], 0x37
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], 0x50
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x1207
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x78]
jge 0x403fd6
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x80]
jg 0x4041ab
test dword [esp + 0x9c], 0x8000
je 0x40404d
mov ecx, edi
mov dword [esp + 0x48], 4
call fcn.00419a07
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x74], eax
mov eax, dword [edi]
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x13c]
push ecx
mov ecx, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 1
call edx
jmp 0x4040a4
mov eax, dword [edi + 0x58]
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0
neg eax
push eax
lea eax, [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x140]
lea eax, [esp + 0x88]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
push esi
mov ecx, edi
call edx
mov eax, dword [edi + 0x58]
push 0
push eax
lea eax, [esp + 0x18]
push eax
call ebx
cmp dword [esp + 0x8c], 0
je 0x4041ab
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00413e01
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add edx, 0xffffffff
push edx
add eax, 1
push eax
lea ecx, [esp + 0xbc]
push ecx
mov ecx, esi
call fcn.0041389b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
add eax, 1
push eax
mov ecx, esi
call fcn.0041360c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
add edx, 0xffffffff
push edx
mov ecx, esi
call fcn.0041360c
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00413e01
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, 1
push ecx
add edx, 0xffffffff
push edx
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
call fcn.0041389b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
push ecx
add edx, 0xffffffff
push edx
mov ecx, esi
call fcn.0041360c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, 0xfffffffe
add ecx, 1
push eax
push ecx
mov ecx, esi
call fcn.0041360c
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.00413e01
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, esi
call fcn.0041389b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, 0xffffffff
push eax
push ecx
mov ecx, esi
call fcn.0041360c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add edx, 0xffffffff
push edx
push eax
mov ecx, esi
call fcn.0041360c
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x403f50
mov edx, dword [esi]
mov eax, dword [esp + 0x40]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.00413e01
lea ecx, [esp + 0x38]
call fcn.00413d7c
lea ecx, [esp + 0x28]
call fcn.00413d7c
lea ecx, [esp + 0x30]
call fcn.00413d7c
mov esi, vtable.CPen.0
lea ecx, [esp + 0x30]
mov byte [esp + 0x140], 1
mov dword [esp + 0x30], esi
call fcn.004013b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 0
mov dword [esp + 0x28], esi
call fcn.004013b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x38], esi
call fcn.004013b0
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00424179
mov esp, ebp
pop ebp
ret 4