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

Disassembly:
sub esp, 0x64
mov eax, dword [0x100fd640]
xor eax, esp
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x40], edx
mov dl, byte [esp + 0x98]
push eax
push edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], ecx
mov byte [esp + 0x1b], dl
call sym.awt.dll__GDIWindowSurfaceData_GetOps_8
mov esi, eax
mov dword [esp + 0x50], esi
test esi, esi
je 0x1002d7ed
mov ecx, dword [0x10101130]
mov eax, dword [edi]
mov edx, dword [eax + 0x17c]
push ebx
push ecx
push ebp
push edi
call edx
mov ecx, dword [0x10101134]
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x17c]
push ebp
push edi
call edx
mov ebx, eax
mov dword [esp + 0x48], ebx
test ebx, ebx
jne 0x1002d194
push str.coordinates_array
push edi
call sub.java.dll__JNU_ThrowNullPointerException_8
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100b4c22
add esp, 0x64
ret 0x28
mov ecx, dword [0x1010112c]
mov eax, dword [edi]
mov edx, dword [eax + 0x190]
push ecx
push ebp
push edi
call edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x2ac]
push ecx
push edi
call edx
cmp eax, dword [esp + 0x4c]
jge 0x1002d1e1
push str.types_array
push edi
call sub.java.dll__JNU_ThrowArrayIndexOutOfBoundsException_8
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100b4c22
add esp, 0x64
ret 0x28
mov eax, dword [edi]
mov ecx, dword [eax + 0x2ac]
push ebx
push edi
call ecx
mov edx, dword [edi]
mov ecx, dword [edx + 0x190]
mov dword [esp + 0x38], eax
mov eax, dword [0x10101128]
push eax
push ebp
push edi
call ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
push edx
movzx edx, byte [esp + 0x1b]
mov ebp, eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esi + 0x24]
neg edx
push ecx
sbb edx, edx
and edx, 3
push 0
inc edx
push edx
push esi
push edi
call eax
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x1002d7ec
mov edx, dword [esp + 0x40]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x378]
push 0
push edx
push edi
call eax
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1002d263
mov ecx, dword [esi + 0x28]
push ebx
push esi
push edi
call ecx
jmp 0x1002d7e9
mov eax, dword [esp + 0x48]
mov edx, dword [edi]
mov ecx, dword [edx + 0x378]
push 0
push eax
push edi
call ecx
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x1002d29f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [edi]
mov edx, dword [edx + 0x37c]
push 2
push eax
push ecx
push edi
call edx
mov eax, dword [esi + 0x28]
push ebx
push esi
push edi
jmp 0x1002d7e7
mov esi, 1
sub ebp, esi
neg ebp
sbb ebp, ebp
add ebp, 2
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
push ebx
call dword [sym.imp.GDI32.dll_BeginPath]
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
lea ebx, [esi + 5]
lea ebp, [esi + 3]
lea edi, [esi + 1]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
jmp 0x1002d2f0
cmp eax, dword [esp + 0x4c]
jge 0x1002d743
mov ecx, dword [esp + 0x34]
movsx eax, byte [eax + ecx]
cmp eax, 4
ja case.default.0x1002d30b
jmp dword [eax*4 + 0x1002d804]
cmp byte [esp + 0x17], 0
jne 0x1002d336
cmp dword [esp + 0x10], 0
jne 0x1002d336
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edx
inc eax
push eax
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
cmp edi, dword [esp + 0x38]
jg 0x1002d3a2
fld dword [esi]
push ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
fld dword [esi + 4]
add eax, dword [esp + 0x94]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
call fcn.1001d0f9
add esp, 4
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
push 0
push eax
add edi, 2
add ebp, 2
add ebx, 2
mov dword [esp + 0x30], eax
add esi, 8
push edx
jmp 0x1002d713
mov dword [esp + 0x30], 0
jmp case.default.0x1002d30b
cmp edi, dword [esp + 0x38]
jg 0x1002d3a2
fld dword [esi]
push ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
fld dword [esi + 4]
add eax, dword [esp + 0x94]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.1001d0f9
add esp, 4
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov dword [esp + 0x28], eax
add edi, 2
add ebp, 2
add ebx, 2
add esi, 8
call dword [sym.imp.GDI32.dll_LineTo]
xor eax, eax
cmp dword [esp + 0x24], eax
je 0x1002d727
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x18], ecx
jne 0x1002d727
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], 1
cmp dword [esp + 0x1c], edx
je 0x1002d72b
jmp 0x1002d727
cmp ebp, dword [esp + 0x38]
jg 0x1002d3a2
fld dword [esi]
push ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov dword [esp + 0x5c], eax
fld dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
fld dword [esi + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov dword [esp + 0x6c], eax
fld dword [esi + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
add esp, 4
call fcn.100b4c40
mov edx, dword [esp + 0x58]
mov ecx, eax
mov eax, dword [esp + 0x68]
lea edx, [eax + edx*2]
add ecx, dword [esp + 0x94]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
lea edx, [ecx + edx*2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
lea edx, [edx + eax*2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
lea edx, [edx + eax*2]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edi, 4
add ebp, 4
add ebx, 4
add esi, 0x10
add eax, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
push 3
lea eax, [esp + 0x5c]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.GDI32.dll_PolyBezierTo]
xor eax, eax
cmp dword [esp + 0x24], eax
je 0x1002d727
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x18], edx
jne 0x1002d727
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], 1
cmp dword [esp + 0x1c], ecx
je 0x1002d72b
jmp 0x1002d727
cmp ebx, dword [esp + 0x38]
jg 0x1002d3a2
fld dword [esi]
push ecx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov dword [esp + 0x5c], eax
fld dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
fld dword [esi + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov dword [esp + 0x64], eax
fld dword [esi + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x98]
mov dword [esp + 0x68], eax
fld dword [esi + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
call fcn.100b4c40
add eax, dword [esp + 0x94]
mov dword [esp + 0x6c], eax
fld dword [esi + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.1001d0f9
add esp, 4
call fcn.100b4c40
add eax, dword [esp + 0x94]
add edi, 6
add ebp, 6
add ebx, 6
mov dword [esp + 0x6c], eax
add esi, 0x18
mov dword [esp + 0x1c], eax
jmp 0x1002d56b
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CloseFigure]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], ecx
jne 0x1002d70b
cmp dword [esp + 0x1c], eax
jne 0x1002d70b
cmp byte [esp + 0x17], 0
jne case.default.0x1002d30b
cmp dword [esp + 0x10], 0
jne case.default.0x1002d30b
cmp dword [esp + 0x24], 0
je case.default.0x1002d30b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push eax
inc ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push 0
push eax
push ecx
push edx
jmp 0x1002d71c
push 0
push eax
mov dword [esp + 0x20], ecx
push ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
inc eax
cmp dword [esp + 0x30], 0
mov dword [esp + 0x44], eax
jne 0x1002d2f0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x37c]
push 2
push edx
push eax
push esi
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x37c]
push 2
push eax
push ecx
push esi
call edx
cmp dword [esp + 0x30], 0
je 0x1002d7c3
mov bl, byte [esp + 0x17]
test bl, bl
jne 0x1002d7a3
cmp dword [esp + 0x10], 0
jne 0x1002d7a3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push eax
inc ecx
push ecx
push edi
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x1002d7a7
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.GDI32.dll_EndPath]
push edi
test bl, bl
je 0x1002d7bb
call dword [sym.imp.GDI32.dll_FillPath]
jmp 0x1002d7dd
call dword [sym.imp.GDI32.dll_StrokePath]
jmp 0x1002d7dd
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_AbortPath]
push 0x100cb680
push esi
call sub.java.dll__JNU_ThrowArrayIndexOutOfBoundsException_8
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
push edi
push eax
mov eax, dword [eax + 0x28]
push esi
call eax
add esp, 0xc
pop ebx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100b4c22
add esp, 0x64
ret 0x28