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

Disassembly:
jmp 0x40a9d0
push 0xffffffffffffffff
push 0x4b63a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00488683
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0x54]
push eax
xor ebx, ebx
mov ecx, dword [edi + 4]
push 0x18
push ecx
mov dword [esp + 0x80], ebx
call dword [0x4ed174]
mov esi, dword [0x4ed14c]
push ebx
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.0048873a
cmp edi, ebx
jne 0x40aa2e
xor eax, eax
jmp 0x40aa31
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.004888b3
mov ebp, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], ebp
call fcn.00488683
lea ecx, [esp + 0x14]
call fcn.00401acd
mov dword [esp + 0x14], vtable.CBrush.0
lea ecx, [esp + 0x1c]
call fcn.00401acd
mov dword [esp + 0x1c], 0x4c0084
push ebx
mov byte [esp + 0x78], 3
call esi
push eax
lea ecx, [esp + 0x38]
call fcn.0048873a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [0x4ed154]
push eax
lea ecx, [esp + 0x20]
call fcn.00489a21
push 0xf
call dword [0x4eda04]
push eax
call dword [0x4ed144]
push eax
lea ecx, [esp + 0x18]
call fcn.00489a21
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, esi
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.004888b3
mov edi, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x14]
neg eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
sbb eax, eax
mov dword [esp + 0x48], ebx
and eax, edi
mov dword [esp + 0x50], edx
push eax
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x4eda0c]
mov edx, dword [esp + 0x38]
mov ebx, dword [0x4ed170]
push 1
push 1
push edx
call ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], eax
call fcn.00489a78
test esi, esi
je 0x40ab2e
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x38]
push esi
push eax
call fcn.004888b3
mov eax, dword [esp + 0x58]
xor edi, edi
test eax, eax
jle 0x40ab95
mov ebp, dword [0x4ed178]
mov eax, dword [esp + 0x5c]
xor esi, esi
test eax, eax
jle 0x40ab88
mov ecx, dword [esp + 0x28]
push esi
push edi
push ecx
call ebx
cmp eax, dword [esp + 0x7c]
je 0x40ab7f
push 0x3fd33333
push 0x33333333
push eax
call fcn.004015ff
mov edx, dword [esp + 0x34]
add esp, 0xc
push eax
push esi
push edi
push edx
call ebp
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, eax
jl 0x40ab53
mov ecx, dword [esp + 0x58]
inc edi
cmp edi, ecx
jl 0x40ab4d
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40ab9d
xor eax, eax
jmp 0x40aba0
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.004888b3
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call fcn.00489a78
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 5
call fcn.00489a78
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0
call fcn.004887b8
lea ecx, [esp + 0x24]
mov dword [esp + 0x74], 0xffffffff
call fcn.004887b8
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4