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

Disassembly:
push 0xffffffffffffffff
push 0x541f28
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
cmp eax, ebx
je 0x42d597
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [esp + 0x20]
call fcn.00434e10
cmp eax, ebx
jge 0x42d5b1
cmp eax, 0x80004002
je 0x42d5b1
push eax
call fcn.0050a1f0
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
sete cl
test cl, cl
je 0x42d5e5
mov dword [esp + 0x80], 0xffffffff
cmp eax, ebx
je 0x42dc57
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x42dc57
cmp eax, ebx
jne 0x42d5f3
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp byte [esp + 0x94], 0
mov dword [esp + 0x14], ebx
jne 0x42d628
mov dword [esp + 0x14], 3
jmp 0x42d64e
cmp byte [esp + 0x8c], 0
je 0x42d63c
mov dword [esp + 0x14], 2
jmp 0x42d64e
cmp byte [esp + 0x90], 0
je 0x42d64e
mov dword [esp + 0x14], 1
mov edi, dword [esp + 0x88]
mov ecx, dword [edi]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], 0xffffffff
call sub.gdiplus.dll_GdipGetSmoothingMode
cmp eax, ebx
je 0x42d671
mov dword [edi + 4], eax
mov edx, dword [edi]
push 4
push edx
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebx
je 0x42d682
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xa4]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
add eax, ecx
sub ebx, ecx
lea edi, [ecx + edx]
sub ebp, ecx
cmp byte [esp + 0x94], 1
mov dword [esp + 0x48], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
jne 0x42d839
cmp dword [esi + 0xa8], 0
je 0x42d839
mov ecx, eax
mov eax, dword [esi + 0xa8]
sub ecx, eax
mov dword [esp + 0x58], edi
sub edi, eax
add ebx, eax
mov edx, ebp
add edx, eax
mov eax, dword [esi + 0xb0]
push eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0xac]
push ecx
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
sub ebx, ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x30]
push ecx
sub edi, eax
push 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePath
mov dword [esp + 0x34], eax
test byte [0x57f0a0], 1
mov eax, dword [esi + 0x10]
je 0x42d757
test al, 2
jne 0x42d775
test al, 0x10
jne 0x42d775
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x38]
push 0
add eax, eax
push edx
lea ebx, [esp + 0x38]
call fcn.004276e0
add esp, 8
jmp 0x42d793
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push edi
push ebx
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipAddPathRectangleI
test eax, eax
je 0x42d793
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x40], vtable.Gdiplus::PathGradientBrush.0
mov dword [esp + 0x20], edi
call sub.gdiplus.dll_GdipCreatePathGradientFromPath
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
push 0x80101010
push eax
mov byte [esp + 0x88], 2
call sub.gdiplus.dll_GdipSetPathGradientCenterColor
cmp eax, edi
je 0x42d7d7
mov dword [esp + 0x40], eax
lea edx, [esp + 0x24]
mov dword [esp + 0x24], edi
push edx
lea ebx, [esp + 0x2c]
lea edi, [esp + 0x3c]
mov dword [esp + 0x2c], 1
call fcn.00435640
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x88]
mov ecx, dword [edi]
push eax
push ebx
push ecx
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x42d815
mov dword [edi + 4], eax
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov byte [esp + 0x80], 0
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeletePath
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
test byte [0x57f0a0], 1
mov ecx, dword [esi + 0x10]
mov byte [esp + 0x18], 1
je 0x42d84f
test cl, 2
jne 0x42d854
test cl, 0x10
je 0x42d859
mov byte [esp + 0x18], 0
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x48]
add edi, dword [esi + 0x44]
sub ebp, dword [esi + 0x4c]
add eax, edx
sub ebx, ecx
cmp dword [esi + 0x18], 1
mov dword [esp + 0x4c], eax
jne 0x42da5f
sub ebx, eax
mov dword [esp + 0x64], ebx
mov ebx, dword [esi + 0x1c]
sub ebp, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
cmp ebx, 3
jne 0x42d90b
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + esi + 0xbd]
xor eax, eax
test dl, dl
je 0x42d8ca
cmp byte [esp + 0x8c], al
je 0x42d8b5
movzx eax, dl
shl eax, 0x18
jmp 0x42d8ca
cmp byte [esp + 0x90], 0
je 0x42d8ca
movzx eax, dl
shl eax, 0x18
or eax, 0xffffff
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x1c]
push edx
movzx edx, byte [ecx + esi + 0xb4]
push edx
mov edx, dword [esi + 0x20]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esi + ecx*4 + 0x88]
mov ecx, dword [esi + ecx*4 + 0x78]
push eax
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.00428430
add esp, 0x20
jmp 0x42dc25
cmp ebx, 4
jne 0x42d94c
movzx eax, byte [esi + 0xb5]
movzx ecx, byte [esi + 0xb4]
mov edx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
push edx
mov edx, dword [esi + 0x78]
push eax
mov eax, dword [esp + 0x98]
push ecx
push edx
push eax
lea eax, [esp + 0x74]
call fcn.00428b10
add esp, 0x1c
jmp 0x42dc25
mov ecx, dword [esp + 0x14]
cmp ebx, 5
jne 0x42d9cc
mov cl, byte [ecx + esi + 0xbd]
xor eax, eax
test cl, cl
je 0x42d988
cmp byte [esp + 0x8c], al
je 0x42d973
movzx eax, cl
shl eax, 0x18
jmp 0x42d988
cmp byte [esp + 0x90], 0
je 0x42d988
movzx eax, cl
shl eax, 0x18
or eax, 0xffffff
movzx edx, byte [esi + 0xb6]
movzx ecx, byte [esi + 0xb5]
push edx
movzx edx, byte [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esi + 0x7c]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x78]
call fcn.00428da0
add esp, 0x20
jmp 0x42dc25
mov al, byte [ecx + esi + 0xbd]
mov edx, dword [esi + ecx*4 + 0x78]
mov ebp, dword [esi + ecx*4 + 0x88]
xor edi, edi
test al, al
je 0x42da0c
cmp byte [esp + 0x8c], 0
je 0x42d9f6
movzx edi, al
shl edi, 0x18
jmp 0x42da0c
cmp byte [esp + 0x90], 0
je 0x42da0c
movzx edi, al
shl edi, 0x18
or edi, 0xffffff
mov eax, ecx
sub eax, 3
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x1c]
push ebx
movzx ebx, byte [ecx + esi + 0xb8]
movzx ecx, byte [ecx + esi + 0xb4]
push ebx
push ecx
mov ecx, dword [esi + 0x20]
push eax
mov eax, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x54]
push ecx
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x78]
push ecx
push edi
push edx
push ebp
call fcn.00427c40
add esp, 0x30
jmp 0x42dc25
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push ecx
mov dword [esp + 0x98], 0xffffffff
call sub.gdiplus.dll_GdipGetPixelOffsetMode
test eax, eax
je 0x42da8f
mov edx, dword [esp + 0x88]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push 4
push ecx
call sub.gdiplus.dll_GdipSetPixelOffsetMode
test eax, eax
je 0x42daae
mov edx, dword [esp + 0x88]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x42dabb
mov edx, dword [esi + 0x54]
jmp 0x42dad7
cmp eax, 1
jne 0x42dac5
mov edx, dword [esi + 0x58]
jmp 0x42dad7
cmp eax, 2
jne 0x42dacf
mov edx, dword [esi + 0x5c]
jmp 0x42dad7
cmp eax, 3
jne 0x42dadf
mov edx, dword [esi + 0x60]
test edx, edx
jne 0x42dbba
inc dword [esp + 0x4c]
lea eax, [esp + 0x30]
push eax
push 0
inc edi
dec ebp
dec ebx
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePath
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
sub ebx, eax
push ebx
sub ebp, edi
push ebp
push eax
push edi
push ecx
call sub.gdiplus.dll_GdipAddPathEllipseI
test eax, eax
je 0x42db1c
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + ebx*4 + 0x78]
lea edx, [esp + 0x8c]
push edx
push eax
mov dword [esp + 0x94], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov edx, dword [edi]
push ecx
push eax
push edx
mov ebp, eax
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x42db62
mov dword [edi + 4], eax
fld1
mov esi, dword [esi + ebx*4 + 0x78]
lea eax, [esp + 0x28]
push eax
push 0
push ecx
fstp dword [esp]
push esi
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePen1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push edx
push eax
call sub.gdiplus.dll_GdipDrawPath
test eax, eax
je 0x42db9e
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x28]
push ecx
call sub.gdiplus.dll_GdipDeletePen
push ebp
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeletePath
jmp 0x42dc07
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
sub eax, edi
mov dword [esp + 0x64], eax
movzx eax, word [esi + 0x64]
sub ecx, ebx
push eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + edx*4 + 0x78]
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
call fcn.00427a70
mov edi, dword [esp + 0x94]
add esp, 0xc
mov eax, dword [esp + 0x90]
mov ecx, dword [edi]
push eax
push ecx
call sub.gdiplus.dll_GdipSetPixelOffsetMode
test eax, eax
je 0x42dc25
mov edx, dword [esp + 0x88]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x88]
mov ecx, dword [esi]
push eax
push ecx
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x42dc40
mov dword [esi + 4], eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x10