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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d168
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x224], 0
je 0x42d217
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
test eax, eax
je 0x42d217
mov ecx, esi
call fcn.0042ae50
call fcn.00432180
mov dword [esp + 0x20], eax
call fcn.004321d0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
call fcn.0042f9a0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, esi
call fcn.0042fad0
cmp dword [esi + 0x1fc], 0
je 0x42c7bc
lea edi, [esp + 0x44]
mov eax, esi
call fcn.0042ace0
xor eax, eax
cmp dword [esi + 0x270], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x14], eax
jle 0x42c980
test eax, eax
jl 0x42c96b
cmp eax, dword [esi + 0x26c]
jge 0x42c96b
cmp eax, dword [esi + 0x284]
jge 0x42cad7
mov ecx, dword [esi + 0x280]
cmp dword [ecx + eax*4], 0
jle 0x42c96b
mov edx, dword [esp + 0x40]
inc edx
cmp eax, dword [esi + 0x284]
mov dword [esp + 0x38], edx
jge 0x42cad7
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
xor ebx, ebx
cmp dword [esi + 0x278], ebx
lea eax, [eax + edx - 1]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0xffffffff
jle 0x42c96b
test ebx, ebx
jl 0x42c95e
cmp ebx, dword [esi + 0x274]
jge 0x42c95e
mov ecx, dword [esi + 0x5f4]
sub ecx, dword [esi + 0x5f0]
sar ecx, 2
cmp ebx, ecx
jb 0x42c86e
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
cmp dword [edx + eax*4], 0
jle 0x42c95e
mov eax, dword [esp + 0x3c]
inc eax
cmp ebx, dword [esi + 0x274]
mov dword [esp + 0x34], eax
jge 0x42c8f5
mov ecx, dword [esi + 0x5f4]
sub ecx, dword [esi + 0x5f0]
sar ecx, 2
cmp ebx, ecx
jb 0x42c8cc
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
mov eax, dword [edx + eax*4]
jmp 0x42c8f8
or eax, 0xffffffff
mov ecx, dword [esp + 0x34]
lea edx, [eax + ecx - 1]
mov eax, dword [esp + 0x14]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], edx
call fcn.00438fe0
mov edi, eax
test edi, edi
je 0x42c95e
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x34]
push ebx
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, edi
call edx
inc ebx
cmp ebx, dword [esi + 0x278]
jl 0x42c842
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x270]
mov dword [esp + 0x14], eax
jl 0x42c7d6
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jg 0x42cb6f
jmp 0x42c9a0
cmp dword [esp + 0x14], 0
jl 0x42cb5c
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x26c]
jge 0x42cb5c
cmp eax, dword [esi + 0x284]
jge 0x42cad7
mov ecx, dword [esi + 0x280]
cmp dword [ecx + eax*4], 0
jle 0x42cb5c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, dword [esi + 0x284]
mov dword [esp + 0x38], eax
jge 0x42cad7
cmp eax, dword [esp + 0x60]
mov edx, dword [esi + 0x280]
mov ecx, dword [edx + ecx*4]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x40], ecx
jg 0x42cb6f
cmp ecx, dword [esp + 0x58]
jl 0x42cb5c
xor ebx, ebx
cmp dword [esi + 0x278], ebx
mov dword [esp + 0x3c], 0xffffffff
jle 0x42cb5c
jmp 0x42ca30
test ebx, ebx
jl 0x42cb4f
cmp ebx, dword [esi + 0x274]
jge 0x42cb4f
mov eax, dword [esi + 0x5f4]
sub eax, dword [esi + 0x5f0]
sar eax, 2
cmp ebx, eax
jb 0x42ca5c
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov ecx, dword [esi + 0x294]
cmp dword [ecx + eax*4], 0
jle 0x42cb4f
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ebx, dword [esi + 0x274]
mov dword [esp + 0x34], ecx
jge 0x42cadc
mov edx, dword [esi + 0x5f4]
sub edx, dword [esi + 0x5f0]
sar edx, 2
cmp ebx, edx
jb 0x42cab6
call fcn.0053f7b9
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x5f0]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
mov eax, dword [edx + eax*4]
jmp 0x42cadf
call fcn.00443573
or eax, 0xffffffff
cmp ecx, dword [esp + 0x5c]
lea eax, [eax + ecx - 1]
mov dword [esp + 0x3c], eax
jg 0x42cb5c
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x42cb4f
mov edx, dword [esp + 0x14]
push ebx
push edx
mov ecx, esi
call fcn.00438fe0
mov edi, eax
test edi, edi
je 0x42cb4f
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ebx
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, edi
call edx
inc ebx
cmp ebx, dword [esi + 0x278]
jl 0x42ca30
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jle 0x42c9a0
cmp dword [esi + 0x270], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x14], 0
jle 0x42cd6a
lea esp, [esp]
cmp dword [esp + 0x14], 0
jl 0x42cd55
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x26c]
jge 0x42cd55
cmp eax, dword [esi + 0x284]
jge 0x42cad7
mov ecx, dword [esi + 0x280]
cmp dword [ecx + eax*4], 0
jle 0x42cd55
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, dword [esi + 0x284]
mov dword [esp + 0x38], eax
jge 0x42cad7
cmp eax, dword [esp + 0x60]
mov edx, dword [esi + 0x280]
mov ecx, dword [edx + ecx*4]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x40], ecx
jg 0x42cd6a
cmp ecx, dword [esp + 0x58]
jl 0x42cd55
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
dec eax
cmp ebx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
jg 0x42cd55
lea esp, [esp]
test ebx, ebx
jl 0x42cd4a
cmp ebx, dword [esi + 0x274]
jge 0x42cd4a
mov ecx, dword [esi + 0x5f4]
sub ecx, dword [esi + 0x5f0]
sar ecx, 2
cmp ebx, ecx
jb 0x42cc4c
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
cmp dword [edx + eax*4], 0
jle 0x42cd4a
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ebx, dword [esi + 0x274]
mov dword [esp + 0x34], ecx
jge 0x42ccd7
mov eax, dword [esi + 0x5f4]
sub eax, dword [esi + 0x5f0]
sar eax, 2
cmp ebx, eax
jb 0x42ccae
call fcn.0053f7b9
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x5f0]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
mov eax, dword [edx + eax*4]
jmp 0x42ccda
or eax, 0xffffffff
cmp ecx, dword [esp + 0x5c]
lea eax, [eax + ecx - 1]
mov dword [esp + 0x3c], eax
jg 0x42cd55
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x42cd4a
mov edx, dword [esp + 0x14]
push ebx
push edx
mov ecx, esi
call fcn.00438fe0
mov edi, eax
test edi, edi
je 0x42cd4a
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ebx
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, edi
call edx
inc ebx
cmp ebx, dword [esp + 0x50]
jle 0x42cc20
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x270]
mov dword [esp + 0x14], eax
jl 0x42cb90
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jg 0x42cf59
cmp dword [esp + 0x14], 0
jl 0x42cf46
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x26c]
jge 0x42cf46
cmp eax, dword [esi + 0x284]
jge 0x42cad7
mov ecx, dword [esi + 0x280]
cmp dword [ecx + eax*4], 0
jle 0x42cf46
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, dword [esi + 0x284]
mov dword [esp + 0x38], eax
jge 0x42cad7
cmp eax, dword [esp + 0x60]
mov edx, dword [esi + 0x280]
mov ecx, dword [edx + ecx*4]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x40], ecx
jg 0x42cf59
cmp ecx, dword [esp + 0x58]
jl 0x42cf46
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
dec eax
cmp ebx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
jg 0x42cf46
test ebx, ebx
jl 0x42cf3b
cmp ebx, dword [esi + 0x274]
jge 0x42cf3b
mov ecx, dword [esi + 0x5f4]
sub ecx, dword [esi + 0x5f0]
sar ecx, 2
cmp ebx, ecx
jb 0x42ce3d
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
cmp dword [edx + eax*4], 0
jle 0x42cf3b
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ebx, dword [esi + 0x274]
mov dword [esp + 0x34], ecx
jge 0x42cec8
mov eax, dword [esi + 0x5f4]
sub eax, dword [esi + 0x5f0]
sar eax, 2
cmp ebx, eax
jb 0x42ce9f
call fcn.0053f7b9
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x5f0]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov edx, dword [esi + 0x294]
mov eax, dword [edx + eax*4]
jmp 0x42cecb
or eax, 0xffffffff
cmp ecx, dword [esp + 0x5c]
lea eax, [eax + ecx - 1]
mov dword [esp + 0x3c], eax
jg 0x42cf46
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x42cf3b
mov edx, dword [esp + 0x14]
push ebx
push edx
mov ecx, esi
call fcn.00438fe0
mov edi, eax
test edi, edi
je 0x42cf3b
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ebx
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [edi]
mov edx, dword [edx + 0xa0]
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
mov ecx, edi
call edx
inc ebx
cmp ebx, dword [esp + 0x50]
jle 0x42ce11
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
jle 0x42cd85
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], vtable.CPen.0
mov dword [esp + 0x80], ecx
mov eax, dword [esi + 0x1e0]
push eax
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.00444b1d
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
call fcn.00444c58
mov eax, dword [esi + 0x208]
cmp eax, 3
je 0x42cfa8
cmp eax, 2
jne 0x42d0a0
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
jg 0x42d0a0
mov edi, edi
test ebx, ebx
jl 0x42d095
cmp ebx, dword [esi + 0x274]
jge 0x42d095
mov edx, dword [esi + 0x5f4]
sub edx, dword [esi + 0x5f0]
sar edx, 2
cmp ebx, edx
jb 0x42cfec
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
lea edi, [ebx*4]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov ecx, dword [esi + 0x294]
cmp dword [ecx + eax*4], 0
jle 0x42d095
cmp ebx, dword [esi + 0x274]
jge 0x42d066
mov edx, dword [esi + 0x5f4]
sub edx, dword [esi + 0x5f0]
sar edx, 2
cmp ebx, edx
jb 0x42d03d
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
add eax, edi
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov ecx, dword [esi + 0x294]
mov eax, dword [ecx + eax*4]
jmp 0x42d069
or eax, 0xffffffff
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
add edi, eax
push edx
mov dword [esp + 0x20], edi
dec edi
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.00444549
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.00443f74
inc ebx
cmp ebx, dword [esp + 0x50]
jle 0x42cfc0
mov eax, dword [esi + 0x208]
cmp eax, 3
je 0x42d0b4
cmp eax, 1
jne 0x42d1cc
cmp dword [esi + 0x274], 0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], edx
jg 0x42d0ca
or edi, 0xffffffff
jmp 0x42d107
mov eax, dword [esi + 0x5f4]
sub eax, dword [esi + 0x5f0]
sar eax, 2
test eax, eax
ja 0x42d0e2
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov ecx, dword [esi + 0x294]
mov edi, dword [ecx + eax*4]
cmp dword [esi + 0x274], 1
jg 0x42d115
or eax, 0xffffffff
jmp 0x42d156
mov edx, dword [esi + 0x5f4]
sub edx, dword [esi + 0x5f0]
sar edx, 2
cmp edx, 1
ja 0x42d12e
call fcn.0053f7b9
mov eax, dword [esi + 0x5f0]
add eax, 4
mov eax, dword [eax]
test eax, eax
jl 0x42cad7
cmp eax, dword [esi + 0x298]
jge 0x42cad7
mov ecx, dword [esi + 0x294]
mov eax, dword [ecx + eax*4]
add eax, edi
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
jg 0x42d1cc
test edi, edi
jl 0x42d1c5
cmp edi, dword [esi + 0x26c]
jge 0x42d1c5
cmp edi, dword [esi + 0x284]
jge 0x42cad7
mov edx, dword [esi + 0x280]
cmp dword [edx + edi*4], 0
jle 0x42d1c5
cmp edi, dword [esi + 0x284]
jge 0x42cad7
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, edx
add ebx, dword [eax + edi*4]
lea edx, [esp + 0x24]
mov dword [esp + 0x20], ebx
dec ebx
push ebx
push ecx
mov ecx, dword [ebp + 8]
push edx
call fcn.00444549
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 8]
push ebx
push eax
call fcn.00443f74
inc edi
cmp edi, dword [esp + 0x4c]
jle 0x42d166
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 8
call eax
or ebx, 0xffffffff
cmp dword [esi + 0x1fc], 0
je 0x42d1ff
lea edi, [esp + 0x44]
mov eax, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.0042ace0
mov dword [esp + 0x80], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CPen.0
call fcn.004030c0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4