Function at 0x10031bc0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
mov edi, dword [0x1011138c]
mov dword [esp + 0x10], edi
mov edx, dword [edi + 0x2f40]
sub edx, 1
mov dword [esp + 0x14], edx
js 0x10031c58
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0xc], eax
nop
mov ecx, dword [edi + 0x2f48]
cmp dword [ecx + eax + 4], 7
jne 0x10031c48
mov esi, ecx
sub ecx, esi
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x2f40]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x18]
add esp, 0xc
dec dword [edi + 0x2f40]
mov edx, dword [esp + 0x14]
dec edx
sub eax, 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
test edx, edx
jns 0x10031bf0
xor esi, esi
cmp dword [edi + 0x2f40], esi
jle 0x10031c9c
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x2f48]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x10031c8c
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
mov ecx, dword [esp + 0x1c]
add esp, 8
inc esi
add ecx, 0x14
mov dword [esp + 0x14], ecx
cmp esi, dword [edi + 0x2f40]
jl 0x10031c70
mov eax, dword [0x1011138c]
cmp byte [eax + 0xb4], 0
je 0x10031cb7
test byte [eax + 0xc], 2
jne 0x10031cb7
mov byte [eax + 0xb4], 0
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, eax
mov dword [esp + 8], ecx
cmp byte [esi + 0x2f09], 0
jne 0x10031d23
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10031d1c
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
call fcn.1002ed40
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x10031d17
mov edx, dword [esp + 0x14]
mov ecx, eax
call fcn.1003f7d0
mov ecx, dword [0x1011138c]
test ecx, ecx
je 0x10031d0c
dec dword [ecx + 0x370]
push dword [esp + 0x20]
call dword [esp + 0xc]
add esp, 4
mov eax, dword [0x1011138c]
mov byte [esi + 0x2f09], 1
movss xmm0, dword [esi + 0x2f0c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10031dba
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f0c], xmm0
jb 0x10031dba
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10031da9
lea ecx, [esp + 0x14]
mov dword [eax + 0x2f0c], 0
mov dword [esp + 0x14], 0
call fcn.1003fae0
mov ecx, dword [esp + 0x20]
mov edx, 0x10109414
mov dword [esp + 0x1c], eax
call fcn.1002ec40
mov dword [esp + 0x20], eax
test eax, eax
je 0x10031db0
push eax
push dword [esp + 0x18]
push 1
push dword [esp + 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x10031db0
mov byte [esi + 0x358], 1
mov dword [esi + 0x2f0c], 0
movss xmm0, dword [edi + 0x18]
inc dword [edi + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [edi + 0x1b44], 1
mov dword [edi + 0x2ed8], 0
mov dword [edi + 0x1b90], 0
addsd xmm0, qword [edi + 0x1b30]
movsd qword [edi + 0x1b30], xmm0
mov ecx, dword [edi + 0x2ef0]
test ecx, ecx
jns 0x10031e19
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x2eec]
call fcn.10040b60
mov dword [edi + 0x2eec], 0
mov ecx, 0x78
mov eax, dword [edi + 0x317c]
xorps xmm3, xmm3
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x10109c90]
movss xmm4, dword [0x10109bb4]
subss xmm0, dword [edi + eax*4 + 0x2f9c]
movss dword [esp + 0xc], xmm2
addss xmm0, dword [edi + 0x3184]
movss dword [edi + 0x3184], xmm0
movss dword [edi + eax*4 + 0x2f9c], xmm1
mov eax, dword [edi + 0x317c]
inc eax
movss xmm1, dword [edi + 0x3184]
cdq
idiv ecx
mov eax, dword [edi + 0x3180]
inc eax
mov dword [edi + 0x317c], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [edi + 0x3180], ecx
jbe 0x10031eb4
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10031eb7
movaps xmm0, xmm2
mov esi, dword [0x1011138c]
movss dword [edi + 0x35c], xmm0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x1d2c]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [esi + 0x1d24], 0
jle 0x10031fdb
xor edi, edi
mov eax, dword [esi + 0x1d2c]
movaps xmm2, xmm3
mov edx, dword [edi + eax]
add edi, 4
mov eax, dword [edx + 0x88]
mov ecx, dword [edx + 0x8c]
mov dword [edx + 0x78], eax
mov eax, dword [edx + 0x90]
mov dword [edx + 0x7c], ecx
mov ecx, dword [edx + 0x94]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0
movss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
mov eax, dword [esp + 0x14]
inc eax
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x78]
mov dword [esp + 0x14], eax
addss xmm0, dword [edx + 0x80]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 0x84]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
cmp eax, dword [esi + 0x1d24]
jl 0x10031f04
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x98]
mov byte [eax + 0x10], 1
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10032002
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movss xmm0, dword [esi + 0x9c]
movaps xmm1, xmm4
mov ecx, dword [esi + 0x1b9c]
mov dword [esi + 0x192c], eax
mulss xmm0, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x44]
maxss xmm1, xmm0
movss dword [esi + 0x1934], xmm1
test ecx, ecx
je 0x1003204f
mulss xmm1, dword [ecx + 0x24c]
mov ecx, dword [ecx + 0x2e8]
test ecx, ecx
je 0x10032052
mulss xmm1, dword [ecx + 0x24c]
jmp 0x10032052
movaps xmm1, xmm3
movss xmm4, dword [0x10109ccc]
movaps xmm7, xmm2
movss dword [esi + 0x1930], xmm1
movaps xmm6, xmm2
mov edx, dword [eax + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x1938], eax
lea eax, [edx + 0x58]
mov dword [esi + 0x1b28], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x193c], ecx
mov dword [esi + 0x1940], eax
movss dword [esi + 0x1944], xmm1
mov edx, dword [edi + 0x1d24]
test edx, edx
jle 0x100320f4
mov ecx, dword [edi + 0x1d2c]
nop dword [eax + eax]
mov eax, dword [ecx]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x100320d4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x100320dc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x100320e4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x100320ec
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x100320b0
mov eax, dword [edi + 0x15d4]
movss xmm1, dword [edi + 0x15d8]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm6
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm5
movups xmm0, xmmword [esp + 0x20]
mov dword [edi + 0x1948], eax
movups xmmword [edi + 0x1950], xmm0
movss xmm0, dword [edi + 0x194c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10032237
xor ecx, ecx
movss dword [edi + 0x194c], xmm1
mov dword [esp + 0x14], ecx
mov esi, 0x200
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
test ecx, ecx
je 0x100321e9
movss xmm1, dword [edi + 0x194c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10109bb4]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x10109c10]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x100321db
mov ecx, dword [esp + 0x14]
mov eax, 4
jmp 0x100321eb
mov ecx, dword [esp + 0x14]
cmp eax, 0x200
cmovg eax, esi
jmp 0x100321eb
xor eax, eax
mov byte [edi + ecx + 0x1ae8], al
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x40
jl 0x10032154
movsd xmm0, qword [0x10109bc8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10109bb4]
cvtsd2ss xmm0, xmm0
mov esi, dword [0x1011138c]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x194c]
divss xmm0, xmm1
movss dword [edi + 0x1ae4], xmm0
xor edx, edx
mov dword [edi + 0x1960], 0
cmp byte [edi + 0x15d0], dl
je 0x1003225a
mov dword [edi + 0x1960], 1
mov edx, 1
cmp byte [edi + 0x15d1], 0
mov ecx, edx
je 0x1003227c
mov eax, dword [edi + 0x192c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x1003227c
or ecx, 2
mov dword [edi + 0x1960], ecx
cmp byte [edi + 0x15d2], 0
je 0x1003228e
or ecx, 4
mov dword [edi + 0x1960], ecx
test byte [edi + 0xc], 8
je 0x1003229d
or ecx, 8
mov dword [edi + 0x1960], ecx
cmp dword [edi + 0x1d24], 0
jle 0x100322e3
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x14], ecx
nop
mov eax, dword [edi + 0x1d2c]
push 0x2c
push 0
mov eax, dword [ecx + eax]
add eax, 0x34
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
inc esi
add ecx, 4
add esp, 0xc
mov dword [esp + 0x14], ecx
cmp esi, dword [edi + 0x1d24]
jl 0x100322b0
mov esi, dword [0x1011138c]
cmp byte [edi + 0x1e74], 0
je 0x10032317
mov eax, dword [edi + 0x1e8c]
cmp eax, dword [edi + 0x1bd0]
jne 0x10032317
cmp dword [esi + 0x1bd0], eax
jne 0x10032308
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10032317
mov byte [esi + 0x1c10], 1
cmp dword [edi + 0x1bc0], 0
jne 0x1003232c
mov dword [edi + 0x1bc8], 0
jmp 0x1003233e
mov eax, dword [edi + 0x1bbc]
test eax, eax
je 0x10032348
cmp dword [edi + 0x1bd0], eax
jne 0x10032348
mov dword [edi + 0x1bcc], 0
mov eax, dword [edi + 0x1bbc]
test eax, eax
je 0x10032382
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x1bc8]
movss dword [edi + 0x1bc8], xmm0
cmp dword [edi + 0x1bd0], eax
je 0x10032382
addss xmm1, dword [edi + 0x1bcc]
movss dword [edi + 0x1bcc], xmm1
mov dword [edi + 0x1bc0], eax
mov al, byte [edi + 0x1bc5]
mov byte [edi + 0x1bc6], al
mov eax, dword [edi + 0x1bd0]
mov dword [edi + 0x1bbc], 0
mov word [edi + 0x1bc4], 0
mov byte [edi + 0x1bc7], 0
cmp dword [edi + 0x1bd4], eax
je 0x100323cd
cmp dword [edi + 0x1c0c], eax
jne 0x100323cd
test eax, eax
je 0x100323cd
call fcn.100309c0
mov ecx, dword [edi + 0x1bd0]
test ecx, ecx
je 0x100323ec
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x1bd8]
movss dword [edi + 0x1bd8], xmm0
mov eax, dword [edi + 0x1c00]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x1c1c]
mov dword [edi + 0x1c14], eax
mov al, byte [edi + 0x1be0]
mov byte [edi + 0x1c11], al
mov eax, dword [edi + 0x2e68]
movss dword [edi + 0x1c1c], xmm0
mov dword [edi + 0x1c0c], ecx
mov dword [edi + 0x1bd4], 0
mov byte [edi + 0x1be1], 0
mov byte [edi + 0x1c10], 0
mov byte [edi + 0x1bdc], 0
test eax, eax
je 0x10032456
cmp ecx, eax
je 0x10032456
mov dword [edi + 0x2e68], 0
test ecx, ecx
jne 0x10032472
mov dword [edi + 0x1be4], ecx
mov dword [edi + 0x1be8], ecx
mov dword [edi + 0x1bf0], ecx
mov dword [edi + 0x1bf4], ecx
mov eax, dword [edi + 0x1ed8]
mov dword [edi + 0x1edc], eax
xor eax, eax
mov dword [edi + 0x1ed8], 0
mov dword [edi + 0x1ed4], 0x7f7fffff
mov word [edi + 0x1e75], 0
mov dword [edi + 0x1ee4], 0
cmp byte [esi + 0xfc], al
movss xmm2, dword [0x10109cb8]
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [esi + 0xff], 0
cmove eax, edx
mov dword [edi + 0x37c], eax
lea eax, [edi + 0x458]
add edi, 0xc58
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
xor ecx, ecx
cmp byte [esi + ecx + 0x100], 0
je 0x10032528
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10032521
xorps xmm0, xmm0
jmp 0x1003252b
addss xmm0, dword [esi + 0x18]
jmp 0x1003252b
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10032506
call fcn.1003ce00
call fcn.100311b0
call fcn.100319c0
mov edi, dword [0x1011138c]
mov ecx, dword [edi + 0x1ba8]
test ecx, ecx
je 0x1003264d
mov eax, dword [edi + 0x1bd0]
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10032579
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
mov ecx, dword [ecx + 0x2ec]
je 0x10032641
lea eax, [edi + 0xe4]
mov edx, eax
test eax, eax
jne 0x1003259e
lea edx, [edi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x10109cc8]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x10032641
comiss xmm2, xmm1
jb 0x10032641
movss xmm1, dword [eax]
subss xmm1, dword [edi + 0x1bf8]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [edi + 0x1bfc]
ucomiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
lahf
test ah, 0x44
jp 0x10032602
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1003262e
test dword [ecx + 8], 0x100
jne 0x10032620
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x2f0c]
jb 0x10032620
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2f0c], eax
push 1
lea edx, [esp + 0x24]
call fcn.1003a050
add esp, 4
mov ecx, dword [edi + 0x1ba8]
call fcn.10039bc0
mov edi, dword [0x1011138c]
jmp 0x10032685
mov dword [edi + 0x1ba8], 0
jmp 0x10032680
mov ecx, dword [edi + 0x1c00]
test ecx, ecx
je 0x10032685
mov eax, dword [edi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x10032685
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10032677
mov byte [edi + 0x1c10], 1
cmp byte [edi + 0xec], 0
jne 0x10032685
call fcn.100309c0
mov edx, dword [edi + 0x1d0c]
sub edx, 1
js 0x100326bb
mov eax, dword [edi + 0x1d14]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x100326b3
test dword [ecx + 8], 0x8000000
jne 0x1003277d
sub eax, 0x24
sub edx, 1
jns 0x100326a0
cmp dword [esi + 0x1e38], 0
xorps xmm6, xmm6
je 0x100326d8
movss xmm0, dword [esi + 0x1e48]
comiss xmm0, xmm6
ja 0x10032780
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x10109c34]
movss xmm1, dword [esi + 0x1e6c]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [esi + 0x1e6c], xmm1
mov dword [esi + 0x1e70], 0
mov dword [esi + 0x3190], 0xffffffff
mov dword [esi + 0x318c], 0xffffffff
mov dword [esi + 0x3188], 0xffffffff
mov dword [esi + 0x2ef8], 0x3f800000
mov dword [esi + 0x2efc], 0x3f800000
call fcn.10031520
mov edi, dword [0x1011138c]
mov eax, dword [edi + 0x1d30]
test eax, eax
je 0x100327a2
cmp byte [eax + 0x8a], 0
je 0x100327a2
test dword [eax + 8], 0x40000
jne 0x100327a2
cmp byte [edi + 0xfc], 0
jne 0x100327a2
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x100327a2
call fcn.100347d0
test al, al
je 0x100327a2
mov al, 1
jmp 0x100327a4
xorps xmm6, xmm6
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x10109c24]
addss xmm1, dword [esi + 0x1e6c]
minss xmm1, dword [0x10109bb4]
jmp 0x100326f5
xor al, al
cmp dword [edi + 0x1bd0], 0
mov byte [edi + 0x1e68], al
jne 0x10032804
test al, al
je 0x10032804
cmp dword [edi + 0x1d34], 0
mov eax, dword [edi + 0x1d30]
mov dword [edi + 0x1e54], eax
mov dword [edi + 0x1e60], 0x7fffffff
je 0x100327f3
mov ecx, dword [edi + 0x1d7c]
cmp ecx, 0x7fffffff
je 0x100327f3
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x100327fe
movzx eax, byte [edi + 0xfd]
neg eax
sbb eax, eax
mov dword [edi + 0x1e64], eax
mov eax, dword [edi + 0x1e54]
mov dword [edi + 0x1e50], 0
mov dword [edi + 0x1e5c], 0x7fffffff
mov dword [edi + 0x1e58], 0x7fffffff
test eax, eax
je 0x100328a2
mov edx, dword [edi + 0x1e60]
mov dword [edi + 0x1e50], eax
cmp edx, 0x7fffffff
je 0x1003285e
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x1003285e
inc ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov eax, dword [edi + 0x1e54]
mov dword [edi + 0x1e58], edx
mov edx, dword [edi + 0x1e64]
cmp edx, 0x7fffffff
je 0x10032884
mov ecx, dword [eax + 0x17c]
cmp ecx, 0xffffffff
je 0x10032884
inc ecx
lea eax, [ecx + edx]
cdq
idiv ecx
mov dword [edi + 0x1e5c], edx
mov dword [edi + 0x1e54], 0
mov dword [edi + 0x1e64], 0x7fffffff
mov dword [edi + 0x1e60], 0x7fffffff
mov dword [edi + 0x1d7c], 0x7fffffff
cmp byte [esi + 0x1b47], 0
jne 0x100328da
movss xmm0, dword [esi + 0xb8]
comiss xmm6, xmm0
ja 0x100328da
movsd xmm1, qword [esi + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0xc], xmm1
jmp 0x100328e0
movss xmm1, dword [esp + 0xc]
cmp dword [esi + 0x1b54], 0
mov dword [esp + 0x14], 0
je 0x10032a97
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
mov eax, dword [esi + 0x1b5c]
xor ecx, ecx
mov edi, dword [edi + eax]
mov al, byte [edi + 0x8a]
mov byte [edi + 0x8b], al
mov word [edi + 0x96], cx
mov byte [edi + 0x8a], cl
mov byte [edi + 0x8c], cl
test al, al
jne 0x10032a71
cmp byte [edi + 0x32c], cl
jne 0x10032a71
comiss xmm1, dword [edi + 0x22c]
jbe 0x10032a71
mov ecx, dword [edi + 0x254]
mov byte [edi + 0x32c], 1
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x324], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x328], eax
mov ecx, dword [edi + 0xcc]
test ecx, ecx
je 0x100329a9
mov eax, dword [0x1011138c]
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
test eax, eax
je 0x10032997
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0xcc], 0
mov ecx, dword [edi + 0x254]
call fcn.100421a0
mov ecx, dword [edi + 0x160]
test ecx, ecx
je 0x100329f3
mov eax, dword [0x1011138c]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
test eax, eax
je 0x100329e1
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x160], 0
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x10032a32
mov eax, dword [0x1011138c]
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
test eax, eax
je 0x10032a20
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x190], 0
mov ecx, dword [edi + 0x19c]
test ecx, ecx
je 0x10032a71
mov eax, dword [0x1011138c]
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
test eax, eax
je 0x10032a5f
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x19c], 0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc eax
movss xmm1, dword [esp + 0xc]
add edi, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
cmp eax, dword [esi + 0x1b54]
jne 0x10032900
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1f38], ecx
jle 0x10032c07
xor edi, edi
xorps xmm1, xmm1
xor edx, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edx
nop dword [eax + eax]
mov eax, dword [esi + 0x1f40]
movss xmm0, dword [edx + eax]
comiss xmm0, xmm1
jb 0x10032be5
movss xmm2, dword [esp + 0xc]
comiss xmm2, xmm0
jbe 0x10032be5
mov edi, dword [esi + 0x1f14]
add edi, dword [esp + 0x14]
mov eax, dword [0x1011138c]
mov dword [esp + 0x18], eax
mov dword [edi + 0x194], 0
mov ecx, dword [edi + 0x190]
test ecx, ecx
je 0x10032b3a
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
test eax, eax
je 0x10032b28
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x190], 0
mov byte [edi + 0x1bc], 1
mov ecx, dword [edi + 0x174]
test ecx, ecx
je 0x10032b80
mov eax, dword [0x1011138c]
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
test eax, eax
je 0x10032b6e
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x174], 0
xor edx, edx
mov byte [edi + 0x1c6], 1
cmp dword [edi + 0x54], edx
jle 0x10032ba8
xor ecx, ecx
or esi, 0xffffffff
mov eax, dword [edi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], si
cmp edx, dword [edi + 0x54]
jl 0x10032b93
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
xorps xmm1, xmm1
sub edi, dword [eax + 0x1f14]
mov eax, 0x8fb823ef
imul edi
mov eax, dword [esp + 0x18]
add edx, edi
mov edi, dword [esp + 0x14]
sar edx, 8
mov ecx, edx
mov eax, dword [eax + 0x1f40]
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x1c]
inc ecx
add edi, 0x1c8
add edx, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edx
cmp ecx, dword [esi + 0x1f38]
jl 0x10032ac0
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x1f2c], ecx
jle 0x10032c6d
xor edi, edi
xorps xmm1, xmm1
nop word [eax + eax]
mov eax, dword [esi + 0x1f34]
mov dword [esp + 0x1c], eax
movss xmm0, dword [edi + eax + 4]
comiss xmm0, xmm1
jb 0x10032c5d
movss xmm2, dword [esp + 0xc]
comiss xmm2, xmm0
jbe 0x10032c5d
lea ecx, [eax + 0x10]
add ecx, edi
call fcn.10044f70
mov eax, dword [esp + 0x1c]
xorps xmm1, xmm1
mov ecx, dword [esp + 0x20]
mov dword [edi + eax + 4], 0xbf800000
inc ecx
add edi, 0x68
mov dword [esp + 0x20], ecx
cmp ecx, dword [esi + 0x1f2c]
jl 0x10032c20
cmp byte [esi + 0x1b47], 0
je 0x10032cfe
mov edi, dword [0x1011138c]
mov eax, dword [edi + 0x1cfc]
test eax, eax
je 0x10032cba
mov dword [edi + 0x1cf8], 0
mov dword [edi + 0x1cf4], 0
test edi, edi
je 0x10032ca8
dec dword [edi + 0x370]
push eax
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x1cfc], 0
mov ecx, dword [edi + 0x1d08]
test ecx, ecx
je 0x10032cf9
mov eax, dword [0x1011138c]
mov dword [edi + 0x1d04], 0
mov dword [edi + 0x1d00], 0
test eax, eax
je 0x10032ce7
dec dword [eax + 0x370]
push ecx
call dword [esp + 0xc]
add esp, 4
mov dword [edi + 0x1d08], 0
call fcn.1004c880
mov eax, dword [esi + 0x1d30]
mov byte [esi + 0x1b47], 0
test eax, eax
je 0x10032d62
cmp byte [eax + 0x8b], 0
jne 0x10032d62
mov eax, dword [0x1011138c]
mov edx, dword [eax + 0x1b60]
sub edx, 1
js 0x10032d5b
mov eax, dword [eax + 0x1b68]
lea edi, [eax + edx*4]
mov ecx, dword [edi]
test ecx, ecx
je 0x10032d53
cmp byte [ecx + 0x8b], 0
je 0x10032d53
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x10032f72
sub edi, 4
sub edx, 1
jns 0x10032d31
xor ecx, ecx
call fcn.10039bc0
mov ecx, dword [esi + 0x1b7c]
test ecx, ecx
jns 0x10032d88
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x1b78]
call fcn.10040fa0
mov dword [esi + 0x1b78], 0
mov ecx, dword [esi + 0x1d1c]
test ecx, ecx
jns 0x10032db8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x1d18]
call fcn.10040f20
mov dword [esi + 0x1d18], 0
mov ecx, dword [esi + 0x1cf8]
test ecx, ecx
jns 0x10032de8
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea ecx, [esi + 0x1cf4]
test eax, eax
cmovg edx, eax
push edx
call fcn.10040b60
lea eax, [esp + 0x20]
mov dword [esi + 0x1cf4], 0
push eax
lea ecx, [esi + 0x1cf4]
mov dword [esp + 0x24], 0
call fcn.10040930
push 0
lea ecx, [esi + 0x1d00]
call fcn.10040880
mov edi, dword [0x1011138c]
cmp byte [edi + 0x2f84], 0
mov dword [edi + 0x2f88], 0
je 0x10032ef0
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x1bc0]
mov dword [esp + 0x14], ecx
mov dword [edi + 0x1e70], 7
test eax, eax
js 0x10032e65
mov ecx, eax
call fcn.100347d0
mov ecx, dword [esp + 0x14]
test al, al
je 0x10032e65
mov byte [edi + 0x2f84], 0
movss xmm0, dword [edi + 0x3f4]
ucomiss xmm0, dword [0x10109b10]
lahf
test ah, 0x44
jp 0x10032e8b
test ecx, ecx
je 0x10032e8b
mov dword [edi + 0x2f88], ecx
mov byte [edi + 0x2f84], 0
or dword [edi + 0x1c64], 0x40
xor edx, edx
mov dword [edi + 0x1cb8], 0x3f19999a
call fcn.1003b3e0
mov edi, dword [esp + 0x14]
push edi
push str.HoveredId:_0x_08X
call fcn.1004d680
push str.Press_ESC_to_abort_picking.
call fcn.1004d680
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x1011138c]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.1004d710
add esp, 8
call fcn.10039a80
mov edi, dword [0x1011138c]
mov byte [esi + 0x1b45], 1
xor edx, edx
or dword [edi + 0x1c64], 2
mov ecx, str.DebugDefault
push 0
mov dword [edi + 0x1c84], 0x43c80000
mov dword [edi + 0x1c88], 0x43c80000
mov dword [edi + 0x1c6c], 4
call fcn.10037300
xor edi, edi
add esp, 4
cmp dword [esi + 0x2f40], edi
jle 0x10032f6c
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
mov eax, dword [esi + 0x2f48]
add eax, ecx
cmp dword [eax + 4], 1
jne 0x10032f5c
push eax
mov eax, dword [eax + 0xc]
push esi
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
inc edi
add ecx, 0x14
mov dword [esp + 0x20], ecx
cmp edi, dword [esi + 0x2f40]
jl 0x10032f40
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x2f8]
test eax, eax
je 0x10032f85
cmp byte [eax + 0x8b], 0
jne 0x10032f87
mov eax, ecx
mov ecx, eax
jmp 0x10032d5d