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

Disassembly:
push 0xffffffffffffffff
push 0x540cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
push ecx
xor esi, esi
mov ecx, esp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], esp
mov dword [ecx], eax
cmp eax, esi
je 0x42dcb7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00434e10
cmp eax, esi
jge 0x42dcd1
cmp eax, 0x80004002
je 0x42dcd1
push eax
call fcn.0050a1f0
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
sete cl
test cl, cl
je 0x42dcf7
mov dword [esp + 0x70], 0xffffffff
cmp eax, esi
je 0x42e1df
jmp 0x42e1d7
cmp eax, esi
jne 0x42dd05
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 + 0x4c]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp byte [esp + 0x84], 0
mov dword [esp + 0x14], esi
jne 0x42dd3a
mov dword [esp + 0x14], 3
jmp 0x42dd5d
cmp byte [esp + 0x7c], 0
je 0x42dd4b
mov dword [esp + 0x14], 2
jmp 0x42dd5d
cmp byte [esp + 0x80], 0
je 0x42dd5d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x44]
add ebp, dword [edi + 0x48]
sub ebx, dword [edi + 0x4c]
mov dword [esp + 0x38], eax
add eax, edx
sub esi, ecx
cmp dword [edi + 0x18], 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], esi
jne 0x42e006
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
lea eax, [esp + 0x80]
push eax
push edx
mov dword [esp + 0x88], 0xffffffff
call sub.gdiplus.dll_GdipGetSmoothingMode
test eax, eax
je 0x42ddc1
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
push 4
push eax
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x42ddda
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x14]
cmp dword [edi + edx*4 + 0x78], 0xff000000
je 0x42df7e
mov esi, dword [edi + 0x20]
mov eax, ebx
sub eax, dword [esp + 0x38]
add esi, esi
cmp eax, esi
jge 0x42ddfd
mov esi, eax
mov eax, dword [esp + 0x44]
sub eax, ebp
cmp eax, esi
jge 0x42de09
mov esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePath
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
push ebp
sub eax, dword [esp + 0x80]
add eax, ecx
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x42de57
mov dword [esp + 0x34], eax
fld dword [0x561994]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
sub esp, 8
fstp dword [esp + 4]
sub edx, esi
fld dword [0x56198c]
lea eax, [edx + eax - 1]
fstp dword [esp]
push esi
push esi
push ebp
push eax
push ecx
call sub.gdiplus.dll_GdipAddPathArcI
test eax, eax
je 0x42de95
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
push eax
push ebx
add ebp, edx
push ebp
push ebx
push ecx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x42deb5
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push eax
push edx
call sub.gdiplus.dll_GdipAddPathLineI
test eax, eax
je 0x42ded7
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
push eax
call sub.gdiplus.dll_GdipClosePathFigure
test eax, eax
je 0x42dee9
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + ecx*4 + 0x78]
lea edx, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0x84], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, dword [ebp]
push ecx
push eax
push edx
mov esi, eax
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x42df27
mov dword [ebp + 4], eax
fld1
lea eax, [esp + 0x28]
push eax
push 0
push ecx
fstp dword [esp]
push esi
mov dword [esp + 0x38], 0
call sub.gdiplus.dll_GdipCreatePen2
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawPath
test eax, eax
je 0x42df60
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x28]
push ecx
call sub.gdiplus.dll_GdipDeletePen
push esi
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeletePath
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov edi, dword [edi + eax*4 + 0x88]
cmp edi, 0xff000000
je 0x42dfde
fld1
lea ecx, [esp + 0x30]
push ecx
push 0
push ecx
fstp dword [esp]
push edi
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipCreatePen1
mov edx, dword [esp + 0x38]
dec esi
push esi
push ebx
push esi
mov esi, dword [esp + 0x84]
mov ecx, dword [esi]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
push ecx
call sub.gdiplus.dll_GdipDrawLineI
test eax, eax
je 0x42dfd4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
push eax
push edx
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x42e1cb
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], eax
jmp 0x42e1cb
fild dword [esp + 0x38]
mov edx, dword [esp + 0x14]
sub ebx, eax
mov eax, dword [edi + edx*4 + 0x78]
fstp dword [esp + 0x20]
mov dword [esp + 0x28], ebx
fild dword [esp + 0x3c]
sub esi, ebp
mov dword [esp + 0x1c], esi
fstp dword [esp + 0x84]
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fstp dword [esp + 0x58]
fld dword [esp + 0x84]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
fstp dword [esp + 0x60]
fld dword [esp + 0x1c]
fstp dword [esp + 0x64]
cmp eax, 0xff000000
je 0x42e09a
test eax, eax
je 0x42e09a
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
lea esi, [esp + 0x38]
call fcn.00436270
mov ebx, dword [esp + 0x78]
mov eax, esi
push eax
lea eax, [esp + 0x5c]
mov esi, ebx
call fcn.00435a00
mov ecx, dword [esp + 0x3c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
jmp 0x42e09e
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
mov al, byte [edx + edi + 0xbd]
test al, al
je 0x42e0f1
cmp byte [esp + 0x7c], 0
jne 0x42e0be
cmp byte [esp + 0x80], 0
je 0x42e0f1
movzx eax, al
shl eax, 0x18
test eax, eax
je 0x42e0f1
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
lea esi, [esp + 0x38]
call fcn.00436270
mov eax, esi
push eax
lea eax, [esp + 0x5c]
mov esi, ebx
call fcn.00435a00
mov ecx, dword [esp + 0x3c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x14]
mov eax, dword [edi + edx*4 + 0x88]
cmp eax, 0xff000000
je 0x42e1cb
test eax, eax
je 0x42e1cb
fild dword [edi + 0x54]
mov edi, dword [edi + 0x68]
lea eax, [esp + 0x30]
push eax
fstp dword [esp + 0x80]
push 0
fld dword [esp + 0x84]
push ecx
fld qword [0x561998]
mov dword [esp + 0x3c], 0
fmul st(1)
fstp dword [esp + 0x8c]
fstp dword [esp]
push edi
call sub.gdiplus.dll_GdipCreatePen1
fld dword [esp + 0x84]
fadd dword [esp + 0x1c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], eax
push ecx
fstp dword [esp + 0x80]
lea eax, [esp + 0x2c]
fld dword [esp + 0x80]
lea ecx, [esp + 0x24]
fst dword [esp + 0x80]
mov esi, ebx
fld dword [esp + 0x24]
fld st(0)
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
fld dword [esp + 0x84]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fxch st(2)
fstp dword [esp + 0x80]
fstp dword [esp + 0x24]
fsubr dword [esp + 0x80]
fstp dword [esp + 0x28]
call fcn.00435590
mov edx, dword [esp + 0x30]
push edx
call sub.gdiplus.dll_GdipDeletePen
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10