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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x1c], 0
je 0x100d3732
mov eax, dword [edi + 0x1bc]
cmp dword [eax + 0x1c], 0
je 0x100d3732
cmp dword [0x1016c504], 0
je 0x100d3198
mov eax, dword [ebx + 0x28]
test eax, eax
jg 0x100d3198
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
xor ecx, ecx
mov eax, 0x1ffffff
cmp dword [edi + 0x2c], 1
cmovne eax, ecx
push eax
push ebx
call sym.ExuiKrnln_X32.dll_Clear_CanvasEx
cmp byte [edi + 0xd5], 0
je 0x100d31bd
mov ecx, 3
jmp 0x100d31d7
cmp dword [0x1016c3a0], edi
jne 0x100d31cc
mov ecx, 2
jmp 0x100d31d7
xor ecx, ecx
cmp dword [0x1016c398], edi
sete cl
push ecx
mov dword [esp], 0x3f800000
xor eax, eax
cmp dword [0x1016c39c], edi
mov edx, 4
push 0xff
push dword [edi + 0x54]
cmove eax, edx
push dword [edi + 0x50]
add eax, ecx
push 0
push 0
push eax
push ebx
push dword [edi + 0x1c4]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov ecx, dword [edi + 0x1c0]
mov dword [ebp + 0x10], 0
test ecx, ecx
je 0x100d3230
mov ecx, dword [ecx + 4]
lea edx, [ebp + 0x10]
push edx
push 0
push 0
mov eax, dword [ecx]
push 0xe
call dword [eax + 0xc]
mov esi, dword [edi + 0x1c4]
test esi, esi
je 0x100d32ff
cmp dword [esi], 0x3b
jle 0x100d32ff
cmp byte [edi + 0xd5], 0
je 0x100d3257
mov edx, 0x3b
jmp 0x100d3265
xor edx, edx
cmp dword [0x1016c39c], edi
sete dl
add edx, 0x38
cmp dword [ebp + 0x10], 0
jne 0x100d32ff
cmp dword [esi + 0xc], 0x27
jle 0x100d328a
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x9c]
sub eax, 0
je 0x100d328a
sub eax, 1
jne 0x100d32ff
jmp 0x100d3299
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
shl ecx, 4
cmp dword [ecx + eax], 0
jge 0x100d32c1
mov eax, dword [edi + 0x1e8]
push ecx
mov dword [esp], 0x3f800000
push 0xff
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push ebx
push esi
call sym.ExuiKrnln_X32.dll_RexDrawSkin
jmp 0x100d32ff
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x100d32ff
mov ecx, dword [ecx]
mov eax, dword [edi + 0x1e8]
push ecx
mov dword [esp], 0x3f800000
push 0
push 0
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push 0
push 0
push 0
push 0
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push ecx
push ebx
call sym.ExuiKrnln_X32.dll_DrawIcoAndTitle_CanvasEx
cmp dword [edi + 0x1c0], 0
je 0x100d3531
cmp dword [ebp + 0x10], 0
je 0x100d3531
cmp dword [edi + 0x2c], 1
jle 0x100d3357
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetPropW]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
push 0xcc0020
push ecx
push edx
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x1bc]
push ecx
push edx
push 0
push 0
push dword [eax + 0x1c]
call dword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x100d33aa
mov ecx, dword [edi + 0x1bc]
mov eax, ecx
test ecx, ecx
je 0x100d338b
cmp dword [0x1016c504], 0
je 0x100d338b
mov edx, dword [ecx + 0x28]
test edx, edx
jg 0x100d338b
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [edi + 0x1bc]
mov dword [ebp - 8], 0xffffff
mov byte [ebp - 5], 0
push dword [ebp - 8]
push eax
call sym.ExuiKrnln_X32.dll_Clear_CanvasEx
push dword [edi + 0x1bc]
call sym.ExuiKrnln_X32.dll_EndDraw_CanvasEx
mov ecx, dword [edi + 0x1bc]
mov edx, ecx
test ecx, ecx
je 0x100d33dc
cmp dword [0x1016c504], 0
je 0x100d33dc
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x100d33dc
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov edx, dword [edi + 0x1bc]
cmp byte [edi + 0xd5], 0
je 0x100d33ec
mov ecx, 3
jmp 0x100d3406
cmp dword [0x1016c3a0], edi
jne 0x100d33fb
mov ecx, 2
jmp 0x100d3406
xor ecx, ecx
cmp dword [0x1016c398], edi
sete cl
push ecx
mov dword [esp], 0x3f800000
xor eax, eax
cmp dword [0x1016c39c], edi
mov esi, 4
push 0xff
push dword [edi + 0x54]
cmove eax, esi
push dword [edi + 0x50]
add eax, ecx
push 0
push 0
push eax
push edx
push dword [edi + 0x1c4]
call sym.ExuiKrnln_X32.dll_RexDrawSkin
mov esi, dword [edi + 0x1bc]
test esi, esi
je 0x100d3476
cmp dword [0x1016c504], 0
je 0x100d3476
mov eax, dword [esi + 0x28]
cmp eax, 1
jl 0x100d3476
dec eax
push esi
mov dword [esi + 0x28], eax
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov eax, dword [esi + 0x3c]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016c4f8], eax
mov esi, dword [edi + 0x54]
imul esi, dword [edi + 0x50]
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0x10]
test esi, esi
jle 0x100d349b
add eax, 3
mov ecx, esi
nop
mov byte [eax], 1
lea eax, [eax + 4]
sub ecx, 1
jne 0x100d3490
mov eax, dword [edi + 0x1c0]
push 0
push 0
push 0
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1ec]
push eax
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0x1bc]
push 0
push dword [eax + 0x1c]
push 0
push 0
push 0
push 1
call dword [edx + 0x10]
mov eax, dword [edi + 0x1bc]
mov eax, dword [eax + 0x10]
test esi, esi
jle 0x100d3501
nop dword [eax]
cmp byte [eax + 3], 1
jne 0x100d34f3
mov word [eax], 0
xor cl, cl
mov byte [eax + 2], 0
jmp 0x100d34f6
or cl, 0xff
mov byte [eax + 3], cl
add eax, 4
sub esi, 1
jne 0x100d34e0
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x54]
push ecx
mov dword [esp], 0x3f800000
push 0xff
push eax
push ecx
push 0
push 0
push eax
push ecx
push 0
push 0
push dword [edi + 0x1bc]
push dword [edi + 0xd8]
call sym.ExuiKrnln_X32.dll_DrawCanvas_CanvasEx
cmp byte [edi + 0x1e4], 0
je 0x100d3638
cmp byte [edi + 0x1f4], 0
je 0x100d3638
cmp dword [0x1016c39c], edi
jne 0x100d3638
cmp byte [edi + 0xd5], 0
jne 0x100d3638
mov eax, dword [edi + 0x1c0]
lea edx, [ebp - 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 0
mov ecx, dword [eax + 4]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
push 0xb0
call dword [eax + 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x100d3638
cmp dword [0x1016c504], 0
push 1
je 0x100d35b4
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
jmp 0x100d35bd
push dword [ebx + 0x20]
call dword [0x1016d218]
movss xmm0, dword [edi + 0x10c]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push dword [edi + 0x178]
call sym.ExuiKrnln_X32.dll_Create_PenEx
mov edx, dword [edi + 0x1d8]
sub esp, 0x14
mov ecx, dword [edi + 0x1e0]
mov esi, eax
movd xmm1, dword [edi + 0x1d4]
add ecx, edx
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x10], 0x3f800000
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push esi
push ebx
call sym.ExuiKrnln_X32.dll_DrawLine_CanvasEx
push esi
call sym.ExuiKrnln_X32.dll_Delete_PenEx
cmp byte [edi + 0x190], 0
je 0x100d365f
mov ecx, dword [edi + 0x1c8]
push ebx
sub esp, 8
call fcn.100d5150
mov ecx, dword [edi + 0x1cc]
push ebx
sub esp, 8
call fcn.100d5150
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10155570]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100d3681
cvtdq2pd xmm0, xmm0
jmp 0x100d36a3
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10155570]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x14], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100d36ca
cvtdq2pd xmm0, xmm0
jmp 0x100d36ec
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101245f0
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 8
cvttsd2si eax, qword [ebp - 0x14]
push eax
cvttsd2si eax, xmm0
push eax
push 0
push 0
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ElemOnDrawPro_A
cmp dword [0x1016c504], 0
je 0x100d3732
mov eax, dword [ebx + 0x28]
cmp eax, 1
jl 0x100d3732
dec eax
push ebx
mov dword [ebx + 0x28], eax
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov eax, dword [ebx + 0x3c]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016c4f8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc