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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481888
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
xor edx, edx
cmp dword [ebx + 0x2ec], edx
mov dword [esp + 0x1c], eax
je 0x437c4a
mov ecx, dword [ebx + 0x3b4]
mov esi, ecx
and esi, 4
je 0x4372e9
cmp dword [ebx + 0x10c], edx
jne 0x4372c4
cmp dword [ebx + 0x114], edx
jne 0x4372c4
cmp dword [ebx + 0x110], edx
jne 0x4372c4
cmp dword [ebx + 0x118], edx
je 0x4372e9
mov eax, dword [ebx + 0x10c]
mov edi, dword [ebx + 0x110]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x114]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x118]
jmp 0x4373e1
test cl, 2
je 0x437333
cmp dword [ebx + 0xfc], edx
jne 0x43730e
cmp dword [ebx + 0x104], edx
jne 0x43730e
cmp dword [ebx + 0x100], edx
jne 0x43730e
cmp dword [ebx + 0x108], edx
je 0x437333
mov eax, dword [ebx + 0xfc]
mov edi, dword [ebx + 0x100]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x104]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x108]
jmp 0x4373e1
test cl, 0x10
je 0x43737a
cmp dword [ebx + 0xec], edx
jne 0x437358
cmp dword [ebx + 0xf4], edx
jne 0x437358
cmp dword [ebx + 0xf0], edx
jne 0x437358
cmp dword [ebx + 0xf8], edx
je 0x43737a
mov eax, dword [ebx + 0xec]
mov edi, dword [ebx + 0xf0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf8]
jmp 0x4373e1
test cl, 8
je 0x4373c1
cmp dword [ebx + 0xdc], edx
jne 0x43739f
cmp dword [ebx + 0xe4], edx
jne 0x43739f
cmp dword [ebx + 0xe0], edx
jne 0x43739f
cmp dword [ebx + 0xe8], edx
je 0x4373c1
mov eax, dword [ebx + 0xdc]
mov edi, dword [ebx + 0xe0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xe8]
jmp 0x4373e1
mov eax, dword [ebx + 0xcc]
mov edi, dword [ebx + 0xd0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xd4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xd8]
cmp esi, edx
mov dword [esp + 0x30], eax
je 0x4373f3
mov eax, dword [ebx + 0xc0]
cmp eax, edx
jne 0x437426
test cl, 2
je 0x437402
mov eax, dword [ebx + 0xbc]
cmp eax, edx
jne 0x437426
test cl, 0x10
je 0x437411
mov eax, dword [ebx + 0xb8]
cmp eax, edx
jne 0x437426
test cl, 8
je 0x437420
mov eax, dword [ebx + 0xb4]
cmp eax, edx
jne 0x437426
mov eax, dword [ebx + 0xb0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edx
mov word [esp + 0x5c], dx
cmp esi, edx
mov dword [esp + 0xa0], edx
je 0x43745a
cmp dword [ebx + 0xa8], edx
je 0x43745a
push 0xffffffffffffffff
push edx
lea ecx, [ebx + 0x94]
push ecx
jmp 0x43749c
test cl, 2
je 0x43746f
cmp dword [ebx + 0x8c], edx
je 0x43746f
push 0xffffffffffffffff
push edx
lea edx, [ebx + 0x78]
jmp 0x43749b
test cl, 0x10
je 0x437482
cmp dword [ebx + 0x70], edx
je 0x437482
push 0xffffffffffffffff
push edx
lea eax, [ebx + 0x5c]
push eax
jmp 0x43749c
test cl, 8
je 0x437495
cmp dword [ebx + 0x54], edx
je 0x437495
push 0xffffffffffffffff
push edx
lea ecx, [ebx + 0x40]
push ecx
jmp 0x43749c
push 0xffffffffffffffff
push edx
lea edx, [ebx + 0x24]
push edx
lea eax, [esp + 0x64]
call fcn.00401c40
mov ecx, dword [ebx + 0x360]
mov eax, dword [ebx + 0x35c]
mov edx, dword [ebx + 0x364]
mov esi, dword [ebx + 0x368]
add eax, dword [esp + 0x24]
sub edx, dword [esp + 0x2c]
sub esi, dword [esp + 0x30]
add ecx, edi
mov dword [esp + 0x38], ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
call fcn.0045cf30
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push 2
mov ecx, ebx
mov dword [esp + 0x58], esi
call edx
test al, al
je 0x437931
test esi, esi
je 0x437931
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x437523
lea ecx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x437533
mov eax, dword [ebx + 0x2dc]
jmp 0x437539
lea eax, [ebx + 0x2dc]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x3a4]
push eax
lea esi, [esp + 0x2c]
call fcn.00443510
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, ecx
add esp, 8
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jg 0x4376f0
cmp byte [ebx + 0x288], 0
mov edi, dword [ebx + 0x284]
mov dword [esp + 0x14], edi
je 0x437590
or edi, 1
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x3a4]
test eax, eax
je 0x4375a7
push 0x2003
push eax
mov eax, ebx
call fcn.0045de50
cmp byte [ebx + 0x289], 0
jne 0x4375bd
cmp byte [ebx + 0x28a], 0
je 0x437681
mov eax, dword [ebx + 0x3a4]
cmp byte [eax + 0x1e], 0
jne 0x4375d4
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x20], 0
je 0x4375d9
mov byte [esp + 0x20], 1
mov esi, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x4375ec
lea esi, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x4375fc
mov edx, dword [ebx + 0x2dc]
jmp 0x437602
lea edx, [ebx + 0x2dc]
movsx eax, byte [ebx + 0x289]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x24], ecx
movsx ecx, byte [ebx + 0x28a]
add edi, ecx
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x3c]
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
add ecx, eax
mov eax, dword [ebx + 0x28c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
push edi
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
and ecx, 0xffffff
mov eax, esi
and eax, 0x80000000
sub eax, ecx
add eax, 0xffffff
push eax
mov eax, dword [ebx + 0x3a4]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push eax
push edx
call fcn.004438d0
add esp, 0x24
jmp 0x437685
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x3a4]
cmp byte [eax + 0x1e], 0
jne 0x43769b
cmp byte [ebp + 0xc], 0
jne 0x43769b
xor cl, cl
jmp 0x43769d
mov cl, 1
mov edx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x4376b0
lea edx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x4376c0
mov eax, dword [ebx + 0x2dc]
jmp 0x4376c6
lea eax, [ebx + 0x2dc]
push ecx
mov ecx, dword [ebx + 0x28c]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push esi
push eax
mov eax, dword [ebx + 0x3a4]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call fcn.004438d0
add esp, 0x24
jmp 0x437c36
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov byte [esp + 0xa0], 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x84]
call fcn.0045c2c0
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
add esp, 0x10
cmp ecx, dword [esp + 0x3c]
lea eax, [ecx + edx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
jge 0x4378f3
mov edi, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
jle 0x4378d9
cmp byte [ebx + 0x289], 0
jne 0x4377aa
cmp byte [ebx + 0x28a], 0
je 0x43786b
mov eax, dword [ebx + 0x3a4]
cmp byte [eax + 0x1e], 0
jne 0x4377c1
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x14], 0
je 0x4377c6
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x4377d9
lea edx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
mov dword [esp + 0x18], edx
jb 0x4377ed
mov esi, dword [ebx + 0x2dc]
jmp 0x4377f3
lea esi, [ebx + 0x2dc]
movsx eax, byte [ebx + 0x289]
mov edx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x44], ecx
movsx ecx, byte [ebx + 0x28a]
add edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
add eax, edx
mov edx, dword [ebx + 0x28c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [ebx + 0x284]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov edx, edi
and edx, 0xffffff
not edx
mov eax, edi
and eax, 0x80000000
add edx, eax
mov eax, dword [ebx + 0x3a4]
push edx
mov edx, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x5c]
push ecx
push eax
push edx
call fcn.004438d0
add esp, 0x24
mov esi, dword [ebx + 0x3a4]
cmp byte [esi + 0x1e], 0
jne 0x437881
cmp byte [ebp + 0xc], 0
jne 0x437881
xor cl, cl
jmp 0x437883
mov cl, 1
mov edx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x437896
lea edx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x4378a6
mov eax, dword [ebx + 0x2dc]
jmp 0x4378ac
lea eax, [ebx + 0x2dc]
push ecx
mov ecx, dword [ebx + 0x28c]
push ecx
mov ecx, dword [ebx + 0x284]
push ecx
push edx
push edi
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push edx
push esi
push eax
call fcn.004438d0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add esp, 0x24
lea eax, [edx + 0xa]
add ecx, eax
cmp ecx, dword [esp + 0x3c]
lea eax, [ecx + edx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
jl 0x43778a
mov eax, dword [esp + 0x84]
test eax, eax
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x43791a
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x43791a
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call edi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x437c36
push eax
call edi
jmp 0x437c36
cmp byte [ebx + 0x20], 0
mov ecx, dword [esp + 0x5c]
je 0x43798c
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x43794a
lea ecx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x43795a
mov eax, dword [ebx + 0x2dc]
jmp 0x437960
lea eax, [ebx + 0x2dc]
mov edx, dword [ebx + 0x284]
push edx
push ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [ebx + 0x3a4]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
call fcn.00447260
add esp, 0x1c
jmp 0x437c36
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x4379a7
lea ecx, [esp + 0x5c]
cmp dword [ebx + 0x2f0], eax
jb 0x4379b7
mov eax, dword [ebx + 0x2dc]
jmp 0x4379bd
lea eax, [ebx + 0x2dc]
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x3a4]
push eax
lea esi, [esp + 0x2c]
call fcn.00443510
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x284]
add esp, 8
mov dword [esp + 0x50], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
lea eax, [ebx + 0x2d8]
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x98], 7
call fcn.00401c40
mov byte [esp + 0xa0], 2
cmp byte [ebx + 0x288], 0
je 0x437ae9
sub esi, edi
cmp esi, dword [esp + 0x14]
jle 0x437ae4
jmp 0x437a50
mov ecx, dword [esp + 0x88]
test ecx, ecx
jbe 0x437ae4
mov eax, dword [esp + 0x78]
mov edi, 8
cmp dword [esp + 0x8c], edi
jae 0x437a75
lea eax, [esp + 0x78]
add ecx, 0xffffffff
push ecx
push eax
lea esi, [esp + 0x7c]
call fcn.00401df0
push 0xffffffffffffffff
push 0
push eax
mov eax, esi
call fcn.00401c40
cmp dword [ebx + 0x3c], edi
jb 0x437a99
mov eax, dword [ebx + 0x28]
jmp 0x437a9c
lea eax, [ebx + 0x28]
cmp dword [esp + 0x8c], edi
mov ecx, dword [esp + 0x78]
jae 0x437aad
lea ecx, [esp + 0x78]
mov edi, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [ebx + 0x3a4]
lea esi, [esp + 0x2c]
call fcn.00443510
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
add esp, 8
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
jg 0x437a50
or dword [esp + 0x20], 1
cmp byte [ebx + 0x289], 0
jne 0x437aff
cmp byte [ebx + 0x28a], 0
je 0x437bbc
mov eax, dword [ebx + 0x3a4]
cmp byte [eax + 0x1e], 0
jne 0x437b15
cmp byte [ebp + 0xc], 0
jne 0x437b15
xor dl, dl
jmp 0x437b17
mov dl, 1
mov ecx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x437b2a
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x8c], eax
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
jae 0x437b3f
lea edi, [esp + 0x78]
movsx eax, byte [ebx + 0x289]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x44], ecx
movsx ecx, byte [ebx + 0x28a]
add esi, ecx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x3c]
add eax, esi
mov esi, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + 0x28c]
push ecx
push edx
push eax
mov ecx, esi
and ecx, 0xffffff
not ecx
mov edx, esi
and edx, 0x80000000
add ecx, edx
push ecx
mov ecx, dword [esp + 0x30]
push edi
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x3a4]
push eax
push ecx
call fcn.004438d0
add esp, 0x24
jmp 0x437bc0
mov esi, dword [esp + 0x18]
mov edi, dword [ebx + 0x3a4]
cmp byte [edi + 0x1e], 0
jne 0x437bd6
cmp byte [ebp + 0xc], 0
jne 0x437bd6
xor cl, cl
jmp 0x437bd8
mov cl, 1
mov edx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x437beb
lea edx, [esp + 0x5c]
cmp dword [esp + 0x8c], eax
mov eax, dword [esp + 0x78]
jae 0x437bfc
lea eax, [esp + 0x78]
push ecx
mov ecx, dword [ebx + 0x28c]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push esi
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
push edi
push eax
call fcn.004438d0
add esp, 0x24
cmp dword [esp + 0x8c], 8
jb 0x437c36
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00469d48
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x437c4a
mov edx, dword [esp + 0x5c]
push edx
call fcn.00469d48
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00469ab5
mov esp, ebp
pop ebp
ret 8