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

Disassembly:
sub esp, 0xf9c
mov eax, dword [esp + 0xfa0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
test eax, eax
mov dword [esp + 0x30], edi
je 0x428fbb
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.GDI32.dll_BeginPath]
mov edx, dword [edi + 0x28]
xor ebp, ebp
cmp edx, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
je 0x4296e0
mov eax, dword [esp + 0x14]
mov ebx, 0xffffffdc
xor ecx, ecx
sub ebx, edx
lea esi, [eax*4]
lea eax, [edx + 0x24]
mov dword [esp + 0x7c], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x429013
test ebp, ebp
je 0x429001
mov ebp, dword [esi + ebp + 0x24]
mov ebx, dword [ebx + 0xc]
cmp ebx, dword [ebp + 0xc]
jae 0x42900f
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], ecx
add esi, eax
mov ebp, dword [esp + 0x34]
inc ecx
add eax, 4
cmp ecx, 2
jl 0x428feb
mov edx, dword [edx]
test edx, edx
jne 0x428fd0
test ebp, ebp
je 0x4296e0
cmp dword [esp + 0x14], 1
jne 0x42903d
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], eax
mov edx, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x24]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [esp + 0x14], ebx
mov dword [edi + 0x20], eax
je 0x42905a
push 2
jmp 0x42905c
push 1
mov edx, dword [edi + 0x34]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov eax, dword [esp + 0xfb0]
test eax, eax
jne 0x429087
mov edx, dword [edi + 0x34]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_BeginPath]
lea edx, [esp + 0x20]
push edx
call fcn.0041d7f0
add esp, 4
mov esi, ebp
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 0x34]
mov ecx, dword [esi + 8]
push 0
push eax
mov eax, dword [edx + 0x48]
push ecx
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_MoveToEx]
test esi, esi
je 0x42917d
lea edx, [esp + 0x20]
lea ebx, [esi + 8]
push edx
push ebx
call fcn.0041daa0
lea eax, [esp + 0x28]
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.0041daa0
lea edx, [esp + 0x30]
lea ebp, [esi + 0x18]
push edx
push ebp
call fcn.0041daa0
mov eax, dword [esi + 0x20]
add esp, 0x18
test eax, eax
je 0x429106
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 0x34]
mov ecx, dword [ebp]
push eax
mov eax, dword [edx + 0x48]
push ecx
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x429157
lea edx, [esp + 0xe0]
push edx
push ebx
call fcn.0040bb10
mov ecx, dword [edi + 0x34]
add esp, 8
xor eax, eax
mov edx, dword [esp + eax + 0xe8]
mov dword [esp + eax + 0xc8], edx
mov edx, dword [esp + eax + 0xec]
mov dword [esp + eax + 0xcc], edx
add eax, 8
cmp eax, 0x18
jl 0x42911c
mov ecx, dword [ecx + 0x48]
lea eax, [esp + 0xc8]
push 3
push eax
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.GDI32.dll_PolyBezierTo]
mov eax, dword [esp + 0x14]
push ebp
push eax
mov ecx, edi
mov dword [esi + 0x24], 0
call fcn.00428eb0
mov esi, eax
test esi, esi
jne 0x4290b8
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x34]
push 0
push ebx
mov ecx, edi
call fcn.00428eb0
mov esi, eax
test esi, esi
jne 0x429096
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [esp + 0xfb0]
test eax, eax
jne 0x428fbb
mov al, byte [ebx + 0x14]
test al, al
je 0x4291c1
cmp word [ebx + 0x26], si
je 0x428fbb
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edx
call fcn.00428de0
mov ebp, dword [ebp + 0x2c]
add esp, 4
test ebp, ebp
je 0x429200
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x34]
push edx
push eax
push ebp
call fcn.00483790
jmp 0x428fbb
mov bl, byte [ebx + 0x16]
test bl, bl
jne 0x429223
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x34]
push edx
push eax
call fcn.00483820
jmp 0x428fbb
cmp bl, 1
mov ebp, 2
jne 0x429263
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x34]
mov ecx, dword [esp + 0x20]
sub edx, ecx
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, edx
mov ecx, ebp
sar ebx, cl
cmp ebx, esi
jl 0x429260
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub ebx, ecx
mov ecx, ebp
sar ebx, cl
cmp ebx, eax
jge 0x429263
dec ebp
jne 0x429244
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x34]
push edx
mov esi, 0x18
mov byte [esp + 0x17], 0
call fcn.00483900
test al, al
je 0x429288
mov esi, 0x20
mov byte [esp + 0x13], 1
push 0x38
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x428fbb
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, ebp
sar edx, cl
mov ecx, dword [esp + 0x20]
push 0
push 7
push 0
push esi
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
mov ecx, ebp
sar edx, cl
mov ecx, dword [edi + 0x30]
push edx
push ecx
mov ecx, eax
call fcn.0047c490
mov ebx, eax
test ebx, ebx
je 0x428fbb
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x429349
mov ebp, 3
test ebx, ebx
je 0x4292f4
mov ecx, ebx
call fcn.0047c4d0
push ebx
call fcn.0041ec10
add esp, 4
push 0x38
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x4293f4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, ebp
sar edx, cl
mov ecx, dword [esp + 0x20]
push 0
push 7
push 0
push esi
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
mov ecx, ebp
sar edx, cl
mov ecx, dword [edi + 0x30]
push edx
push ecx
mov ecx, eax
call fcn.0047c490
mov ebx, eax
test ebx, ebx
je 0x429343
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x429349
inc ebp
cmp ebp, 7
jl 0x4292e0
test ebx, ebx
je 0x428fbb
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4296cb
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x1b0]
mov eax, dword [edx + 0x1108]
push eax
call fcn.0042bf80
push 1
push 0
push ebx
lea ecx, [esp + 0x1bc]
call fcn.0042c0e0
lea ecx, [esp + 0x1b0]
call fcn.0042c210
lea ecx, [esp + 0x1b0]
push ecx
lea ecx, [esp + 0x104]
call fcn.0042aad0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x124], eax
mov al, byte [ecx + 0x16]
mov dword [esp + 0x10c], 0
cmp al, 2
mov dword [esp + 0x120], edx
jne 0x4293fb
lea esi, [ecx + 0x30]
mov ecx, 0x19
lea edi, [esp + 0x130]
mov byte [esp + 0x116], al
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x190], 0
jmp 0x429417
xor ebx, ebx
jmp 0x429343
cmp al, 1
jne 0x42941b
lea esi, [ecx + 0x30]
mov ecx, 0x20
lea edi, [esp + 0x130]
mov byte [esp + 0x116], al
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
lea esi, [edi + 4]
mov ecx, 6
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
sub eax, edx
mov edx, dword [esp + 0x5c]
sub edx, ecx
mov ecx, ebp
sar edi, cl
sar esi, cl
sar edx, cl
sar eax, cl
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x54]
sar edi, cl
sar esi, cl
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], edx
push ecx
lea ecx, [esp + 0x2f0]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], esi
xor esi, esi
mov edx, dword [edi]
push esi
push esi
push edx
mov dword [esp + 0x68], eax
call fcn.00448850
lea ecx, [esp + 0x100]
lea eax, [esp + 0x1b0]
push ecx
lea ecx, [esp + 0x2f0]
mov dword [esp + 0x370], eax
call fcn.004489a0
lea ecx, [esp + 0x2ec]
call fcn.00448950
mov eax, dword [esp + 0x1dc]
mov ecx, dword [esp + 0x1e0]
lea edx, [esp + 0xa4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x60]
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0xb0], esi
call fcn.0040b790
mov dx, word [esp + 0x6c]
mov ax, word [esp + 0x70]
mov cx, word [esp + 0x74]
mov word [esp + 0x9c], dx
mov dx, word [esp + 0x78]
mov word [esp + 0x9e], ax
mov ax, word [esp + 0x7c]
mov word [esp + 0xa2], dx
mov word [esp + 0xa0], cx
mov cx, word [esp + 0x80]
lea edx, [esp + 0x6c]
mov word [esp + 0xa4], ax
push edx
mov word [esp + 0xaa], cx
call fcn.0040b850
cmp eax, 1
setle al
mov byte [esp + 0xac], al
mov eax, dword [esp + 0x1e8]
lea ecx, [esp + 0x70]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0040b790
mov cx, word [esp + 0x7c]
mov dx, word [esp + 0x80]
mov ax, word [esp + 0x84]
mov word [esp + 0xd0], cx
mov cx, word [esp + 0x88]
mov word [esp + 0xd2], dx
mov dx, word [esp + 0x8c]
mov word [esp + 0xd6], cx
mov word [esp + 0xd4], ax
mov ax, word [esp + 0x90]
lea ecx, [esp + 0x7c]
mov word [esp + 0xd8], dx
push ecx
mov word [esp + 0xde], ax
call fcn.0040b850
add esp, 0x20
cmp eax, 1
setle dl
lea eax, [esp + 0x100]
mov byte [esp + 0xc0], dl
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x100]
lea edx, [esp + 0x100]
push esi
lea eax, [esp + 0x84]
mov dword [esp + 0x8c], ecx
push edx
push eax
lea ecx, [esp + 0x1bc]
mov byte [esp + 0xce], 0
mov byte [esp + 0xaa], 0
mov byte [esp + 0xcd], 1
mov byte [esp + 0xa9], 1
mov dword [esp + 0xbc], esi
mov dword [esp + 0x98], esi
call fcn.0042c300
lea ecx, [esp + 0x1b0]
call fcn.0042d730
lea ecx, [esp + 0x100]
call fcn.0042ab00
mov al, byte [esp + 0x13]
test al, al
je 0x4296ad
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x30]
push ecx
mov ecx, dword [edi + 0x34]
lea edx, [esp + 0x24]
push ebx
push edx
push eax
call fcn.00483920
jmp 0x4296bb
lea ecx, [esp + 0x20]
push ebx
push ecx
mov ecx, dword [edi + 0x34]
call fcn.00483880
lea ecx, [esp + 0x1b0]
call fcn.0042c050
mov edi, dword [esp + 0x30]
mov ecx, ebx
call fcn.0047c4d0
push ebx
call fcn.0041ec10
add esp, 4
jmp 0x428fbb
mov eax, dword [esp + 0xfb0]
xor esi, esi
cmp eax, esi
je 0x42970f
mov edx, dword [edi + 0x34]
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_EndPath]
mov edx, dword [edi + 0x34]
push 1
mov eax, dword [edx + 0x48]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_SelectClipPath]
mov eax, dword [edi + 0x24]
cmp eax, esi
je 0x42973d
lea ebx, [edi + 0x3c]
mov esi, dword [eax + 4]
push eax
mov ecx, ebx
call fcn.0041eaa0
test esi, esi
mov eax, esi
jne 0x429719
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf9c
ret 4
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf9c
ret 4