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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x100df00c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, ecx
mov dword [esp + 0x54], 0
push esi
push edi
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 0x24], 1
mov eax, dword [ebx + 0x50]
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x60], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], eax
je 0x10035719
push 1
lea eax, [ebp + 0x14]
push eax
call fcn.1002d300
push 1
lea eax, [ebp + 0x1c]
mov ecx, ebx
push eax
call fcn.1002d300
push 1
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.1002d300
imul eax, dword [esi + 8], 0x3e8
mov ecx, dword [ebx + 0x30]
mov edi, dword [sym.imp.HncFoundation.dll_HncIntMulDiv]
test ecx, ecx
jne 0x100356e7
push 1
push ecx
jmp 0x100356eb
push dword [ebx + 0x28]
push ecx
push eax
call edi
mov dword [esi + 0x2c], eax
add esp, 0xc
mov ecx, dword [ebx + 0x30]
mov eax, dword [esi + 8]
test ecx, ecx
jne 0x1003570b
push 1
push ecx
push eax
call edi
add esp, 0xc
mov ebx, eax
jmp 0x10035725
push dword [ebx + 0x28]
push ecx
push eax
call edi
add esp, 0xc
mov ebx, eax
jmp 0x10035725
mov ebx, dword [esi + 8]
imul eax, ebx, 0x3e8
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov eax, 1
mov edi, dword [ebp + 0x14]
cmp ebx, eax
cmovl ebx, eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [esp + 0x58], eax
cmp eax, 7
je 0x1003579f
mov esi, dword [ebp + 8]
cmp dword [esi], 0
mov esi, dword [ebp + 0x18]
je 0x10035760
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
jne 0x1003575e
sub edi, eax
jmp 0x10035760
sub esi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edi
cmp dword [eax + 4], 0
je 0x1003578f
lea eax, [ebx - 1]
mov ebx, dword [ebp + 0x1c]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp + 0x20]
sar edx, 1
test ecx, ecx
jne 0x1003578a
inc ebx
add ebx, edx
jmp 0x100357b0
inc eax
add eax, edx
jmp 0x100357b0
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
test ecx, ecx
jne 0x1003579c
inc ebx
jmp 0x100357b0
inc eax
jmp 0x100357b0
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x58], 7
mov dword [esp + 0x10], eax
je 0x10035819
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], 0
push 0
push 0
movzx edx, byte [eax + 2]
movzx ecx, word [eax]
or edx, 0x200
shl edx, 8
mov eax, ecx
shr eax, 8
or edx, eax
mov dword [esp + 0x80], 0
movzx eax, cl
shl edx, 8
or edx, eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], edx
push dword [eax + 8]
push 0x12200
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov dword [esp + 0x58], eax
jmp 0x10035892
mov esi, dword [esp + 0x3c]
movzx ecx, word [esi]
movzx edx, byte [esi + 2]
mov eax, ecx
or edx, 0x200
shr eax, 8
shl edx, 8
or edx, eax
movzx eax, cl
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
movzx edx, word [esi]
movzx esi, byte [esi + 2]
mov ecx, edx
or esi, 0x200
shr ecx, 8
shl esi, 8
or esi, ecx
mov dword [esp + 0x5c], eax
movzx ecx, dl
shl esi, 8
or esi, ecx
push esi
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
test edx, edx
je 0x1003588e
mov ecx, dword [esp + 0x1c]
push edx
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x60], eax
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x58]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], ecx
cmp ecx, 1
jne 0x100358ce
push dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push ebx
push esi
push edi
push dword [eax + 0xc]
call fcn.10035070
jmp 0x10036100
cmp dword [ebp + 0x10], 0
mov eax, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], esi
je 0x10035931
movsd xmm1, qword [0x100cbbf8]
mov eax, esi
sub eax, dword [esp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
movsd xmm1, qword [0x100cbbf8]
mov eax, edi
sub eax, ebx
movsd qword [esp + 0x20], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
addsd xmm0, qword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvttsd2si ebx, xmm0
jmp 0x10035940
mov eax, dword [esp + 0x10]
sub ebx, edi
sub eax, esi
cmp dword [ebp + 0xc], 0
cmovne ebx, eax
mov eax, dword [esp + 0x3c]
xorps xmm1, xmm1
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
movd xmm0, dword [eax + 0x2c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100cbc60]
divsd xmm0, qword [0x100cbc90]
movsd qword [esp + 0x20], xmm0
divsd xmm0, qword [0x100cbc50]
mulsd xmm0, qword [esi + 0x120]
comisd xmm0, xmm1
jbe 0x1003598e
addsd xmm0, qword [0x100cbbc0]
jmp 0x10035996
subsd xmm0, qword [0x100cbbc0]
call fcn.100bff5f
movsd xmm0, qword [esp + 0x20]
xorps xmm1, xmm1
divsd xmm0, qword [0x100cbc18]
mov dword [esp + 0x54], eax
mulsd xmm0, qword [esi + 0x130]
comisd xmm0, xmm1
jbe 0x100359c8
addsd xmm0, qword [0x100cbbc0]
jmp 0x100359d0
subsd xmm0, qword [0x100cbbc0]
call fcn.100bff5f
movsd xmm0, qword [esp + 0x20]
xorps xmm1, xmm1
divsd xmm0, qword [0x100cbc40]
mov dword [esp + 0x50], eax
mulsd xmm0, qword [esi + 0x128]
comisd xmm0, xmm1
jbe 0x10035a02
addsd xmm0, qword [0x100cbbc0]
jmp 0x10035a0a
subsd xmm0, qword [0x100cbbc0]
call fcn.100bff5f
cmp dword [esp + 0x50], 0xa
mov esi, eax
mov dword [esp + 0x10], esi
jge 0x10035a35
mov esi, 1
mov dword [esp + 0x50], 0xa
mov ecx, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
jmp 0x10035a46
cmp dword [esp + 0x54], 1
mov ecx, esi
mov dword [esp + 0x20], ecx
jge 0x10035a4e
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], 1
mov eax, dword [esp + 0x40]
mov edx, ecx
cmp eax, 2
je 0x10035a61
add eax, 0xfffffffc
cmp eax, 2
ja 0x10035a6e
lea esi, [edx + edx]
mov ecx, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], ecx
cmp ecx, 1
jge 0x10035a80
mov esi, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.HncFoundation.dll_HncIsUnix]
test eax, eax
je 0x10035a9c
mov esi, dword [esp + 0x20]
mov ecx, 2
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
sub eax, 2
je 0x10035b1a
sub eax, 1
je 0x10035ab2
sub eax, 4
jne 0x10035b27
mov eax, dword [esp + 0x54]
xorps xmm1, xmm1
mov dword [esp + 0x50], eax
movd xmm0, eax
mov eax, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100cbbe0]
mulsd xmm0, qword [eax + 0x128]
comisd xmm0, xmm1
jbe 0x10035ae9
addsd xmm0, qword [0x100cbbc0]
jmp 0x10035af1
subsd xmm0, qword [0x100cbbc0]
call fcn.100bff5f
mov esi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], esi
call dword [sym.imp.HncFoundation.dll_HncIsUnix]
test eax, eax
je 0x10035b27
mov ecx, 4
cmp esi, ecx
cmovl esi, ecx
mov dword [esp + 0x10], esi
jmp 0x10035b27
mov eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
mov edx, dword [ebp + 0x10]
movsd xmm3, qword [0x100cbc90]
test edx, edx
je 0x10035b86
movd xmm0, edi
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm3
cvttsd2si eax, xmm0
movd xmm0, dword [esp + 0x48]
cvtdq2pd xmm0, xmm0
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mulsd xmm0, xmm3
cvttsd2si edi, xmm0
movd xmm0, dword [esp + 0x30]
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x48], edi
mulsd xmm0, xmm3
cvttsd2si eax, xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x10035b8e
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
test ebx, ebx
jle 0x10036100
movsd xmm0, qword [0x100cbc08]
movsd xmm2, qword [0x100cbc70]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x10035bb9
jmp dword [eax*4 + 0x1003616c]
push edi
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x40]
push eax
call fcn.10035500
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebx
test edx, edx
je 0x10035c85
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movd xmm0, esi
mulsd xmm1, qword [0x100cbc08]
cvtdq2pd xmm0, xmm0
divsd xmm1, qword [0x100cbc70]
mulsd xmm0, qword [0x100cbc90]
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [esp + 0x40]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 0x14], eax
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [esp + 0x40]
mov edx, dword [ebp + 0x10]
movd xmm1, ebx
mov ebx, dword [esp + 0xc]
cvtdq2pd xmm1, xmm1
sub ebx, esi
mov dword [esp + 0xc], ebx
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x48], eax
jmp 0x100360d8
cmp dword [ebp + 0xc], 0
je 0x10035ca1
lea eax, [ebx + esi]
mov ebx, dword [esp + 0xc]
sub ebx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ebx
jmp 0x100360d8
mov ebx, dword [esp + 0xc]
lea eax, [edi + esi]
sub ebx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
jmp 0x100360d8
push edi
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x40]
push eax
call fcn.10035500
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebx
test eax, eax
je 0x10035d64
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, eax
cvtsi2sd xmm0, esi
mulsd xmm1, qword [0x100cbc08]
mulsd xmm0, qword [0x100cbc90]
divsd xmm1, qword [0x100cbc70]
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm1
movsd qword [esp + 0x20], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
addsd xmm0, xmm1
cvttsd2si edi, xmm0
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 0x14], edi
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
subsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [esp + 0x48], edx
jmp 0x10035d81
cmp dword [ebp + 0xc], 0
je 0x10035d77
mov edi, dword [esp + 0x14]
lea edx, [ebx + esi]
mov dword [esp + 0x48], edx
jmp 0x10035d81
mov edx, dword [esp + 0x48]
add edi, esi
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0xc]
xor ecx, ecx
sub ebx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], ebx
test ebx, ebx
jle 0x100360d5
nop dword [eax]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
sub eax, 3
cmp ecx, eax
jge 0x100360d5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push edx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x40]
push eax
call fcn.10035500
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ebx
test eax, eax
je 0x10035e61
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, eax
cvtsi2sd xmm0, esi
mulsd xmm1, qword [0x100cbc08]
mulsd xmm0, qword [0x100cbc90]
divsd xmm1, qword [0x100cbc70]
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm1
movsd qword [esp + 0x48], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
addsd xmm0, xmm1
cvttsd2si edi, xmm0
movsd xmm0, qword [esp + 0x48]
mov dword [esp + 0x14], edi
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
subsd xmm1, xmm0
cvttsd2si edx, xmm1
mov dword [esp + 0x48], edx
jmp 0x10035e7e
cmp dword [ebp + 0xc], 0
je 0x10035e74
mov edi, dword [esp + 0x14]
lea edx, [ebx + esi]
mov dword [esp + 0x48], edx
jmp 0x10035e7e
mov edx, dword [esp + 0x48]
add edi, esi
mov dword [esp + 0x14], edi
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
sub ebx, esi
inc ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x20], ecx
test ebx, ebx
jg 0x10035da0
jmp 0x10036100
mov esi, dword [esp + 0x54]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jl 0x1003601a
lea eax, [esi + 1]
cdq
sub eax, edx
mov edx, eax
mov eax, 1
sar edx, 1
cmp edx, 1
cmovl edx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], edx
test eax, eax
je 0x10035f96
xorps xmm1, xmm1
cvtsi2sd xmm1, eax
mulsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ecx
divsd xmm1, xmm2
divsd xmm0, xmm3
movsd qword [esp + 0x68], xmm1
cvttsd2si eax, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mov dword [esp + 0x20], eax
divsd xmm0, xmm3
cvttsd2si eax, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mov dword [esp + 0xc], eax
mulsd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mov eax, dword [esp + 0x14]
xorps xmm1, xmm1
mulsd xmm0, qword [esp + 0x30]
cvtsi2sd xmm1, eax
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
mov edx, dword [esp + 0x40]
lea eax, [esi + esi]
mov ecx, dword [esp + 0x20]
cvtsi2sd xmm1, eax
xorps xmm2, xmm2
cvtsi2sd xmm2, edi
mulsd xmm1, qword [0x100cbc90]
mulsd xmm1, xmm0
mulsd xmm0, qword [esp + 0x30]
subsd xmm2, xmm1
addsd xmm2, xmm0
cvttsd2si eax, xmm2
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x10035fb9
cmp dword [ebp + 0xc], 0
mov eax, edi
mov dword [esp + 0xc], eax
je 0x10035fae
add eax, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x10035fb9
lea eax, [esi + ecx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
lea edi, [ecx + edx]
sub ecx, edx
mov dword [esp + 0x20], ecx
lea esi, [eax + edx]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0xc]
cmp eax, esi
cmovle eax, esi
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x24]
cmp eax, edi
cmovle eax, edi
cmp dword [esp + 0x10], esi
push eax
cmovle esi, dword [esp + 0x14]
cmp dword [esp + 0x28], edi
push esi
cmovle edi, dword [esp + 0x2c]
push edi
call dword [edx + 0x124]
movsd xmm0, qword [0x100cbc08]
movsd xmm2, qword [0x100cbc70]
mov esi, dword [esp + 0x54]
mov edx, dword [ebp + 0x10]
sub ebx, esi
mov esi, dword [esp + 0x10]
test edx, edx
je 0x100360ab
xorps xmm1, xmm1
cvtsi2sd xmm1, edx
mulsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
divsd xmm1, xmm2
mulsd xmm0, qword [0x100cbc90]
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x40], xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
mov edi, dword [esp + 0x30]
cvtsi2sd xmm1, dword [esp + 0x18]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
movsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x14], eax
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [esp + 0x40]
xorps xmm1, xmm1
mov edx, dword [ebp + 0x10]
sub ebx, esi
cvtsi2sd xmm1, edi
mov dword [esp + 0xc], ebx
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [esp + 0x48], eax
jmp 0x100360d8
cmp dword [ebp + 0xc], 0
je 0x100360c3
mov eax, dword [esp + 0x30]
add eax, esi
sub ebx, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ebx
jmp 0x100360d8
mov eax, dword [esp + 0x18]
add eax, esi
sub ebx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
jmp 0x100360d8
mov edx, dword [ebp + 0x10]
movsd xmm2, qword [0x100cbc70]
movsd xmm0, qword [0x100cbc08]
movsd xmm3, qword [0x100cbc90]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
test ebx, ebx
jg 0x10035ba6
mov eax, dword [esp + 0x1c]
push dword [esp + 0x64]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x1003612c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x10036150
mov eax, dword [esp + 0x1c]
push dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
push edi
call esi
mov ecx, dword [esp + 0x7c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100be194
mov esp, ebp
pop ebp
ret 0x1c