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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [0x10135b78]
mov ebx, edi
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 0x2ed4]
lea ecx, [ebx + 0x2edc]
sub eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
js 0x100454f3
lea edi, [eax + eax*4]
shl edi, 2
mov edx, dword [ecx]
cmp dword [edi + edx + 4], 7
jne 0x100454e3
mov esi, dword [ebx + 0x2edc]
mov ecx, edi
sub ecx, esi
mov eax, 0x66666667
add ecx, edx
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 [ebx + 0x2ed4]
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 + 0x30]
lea ecx, [ebx + 0x2edc]
add esp, 0xc
dec dword [ebx + 0x2ed4]
dec eax
sub edi, 0x14
mov dword [esp + 0x24], eax
test eax, eax
jns 0x10045487
mov edi, ebx
jmp 0x100454f7
mov dword [esp + 0x28], ecx
xor esi, esi
cmp dword [ebx + 0x2ed4], esi
jle 0x1004552d
xor edi, edi
mov eax, dword [ecx]
add eax, edi
cmp dword [eax + 4], 0
jne 0x1004551b
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
mov ecx, dword [esp + 0x30]
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed4]
jl 0x10045503
mov edi, dword [0x10135b78]
cmp byte [edi + 0xb4], 0
je 0x10045543
test byte [edi + 0xc], 2
jne 0x10045543
mov byte [edi + 0xb4], 0
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, edi
mov dword [esp + 0x20], ecx
cmp byte [esi + 0x2e9d], 0
lea eax, [esi + 0x20]
jne 0x100455b0
mov ecx, dword [eax]
test ecx, ecx
je 0x100455a9
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
call fcn.10041c10
mov edi, eax
add esp, 8
test edi, edi
je 0x100455a0
mov edx, dword [esp + 0x24]
mov ecx, edi
call fcn.10052f70
mov ecx, dword [0x10135b78]
test ecx, ecx
je 0x10045598
dec dword [ecx + 0x370]
push edi
call dword [esp + 0x24]
add esp, 4
mov edi, dword [0x10135b78]
lea eax, [esi + 0x20]
mov byte [esi + 0x2e9d], 1
movss xmm0, dword [esi + 0x2ea0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10045647
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2ea0], xmm0
jb 0x10045647
mov eax, dword [eax]
mov dword [esp + 0x34], eax
test eax, eax
je 0x10045636
lea ecx, [esp + 0x24]
mov dword [edi + 0x2ea0], 0
mov dword [esp + 0x24], 0
call fcn.100531c0
mov ecx, dword [esp + 0x34]
mov edx, 0x100e2900
mov dword [esp + 0x30], eax
call fcn.10041b10
mov edi, eax
test edi, edi
je 0x1004562e
push edi
push dword [esp + 0x28]
push 1
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov edi, dword [0x10135b78]
jmp 0x1004563d
mov byte [esi + 0x358], 1
mov dword [esi + 0x2ea0], 0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b44], 1
mov dword [ebx + 0x2e6c], 0
mov dword [ebx + 0x1b90], 0
addsd xmm0, qword [ebx + 0x1b30]
movsd qword [ebx + 0x1b30], xmm0
mov ecx, dword [ebx + 0x2e84]
test ecx, ecx
jns 0x100456ac
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, [ebx + 0x2e80]
call fcn.10054060
mov edi, dword [0x10135b78]
mov dword [ebx + 0x2e80], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x3110]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm4, dword [0x100e59b8]
movss dword [esp + 0x24], xmm4
subss xmm0, dword [ebx + eax*4 + 0x2f30]
addss xmm0, dword [ebx + 0x3114]
movss dword [ebx + 0x3114], xmm0
movss dword [ebx + eax*4 + 0x2f30], xmm1
mov eax, dword [ebx + 0x3110]
inc eax
movss xmm1, dword [ebx + 0x3114]
cdq
idiv ecx
comiss xmm1, xmm3
mov dword [ebx + 0x3110], edx
jbe 0x10045727
movss xmm0, dword [0x100e58dc]
divss xmm0, xmm1
jmp 0x1004572a
movaps xmm0, xmm4
movss dword [ebx + 0x35c], xmm0
xor esi, esi
mov eax, dword [edi + 0x1d00]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ecx
cmp dword [edi + 0x1cf8], esi
jle 0x1004582c
nop dword [eax + eax]
mov eax, dword [edi + 0x1d00]
mov edx, dword [eax + esi*4]
inc esi
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 xmm1, dword [edx + 0x78]
movss xmm0, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
addss xmm0, dword [edx + 8]
movss dword [edx + 0x14], xmm1
movss xmm1, dword [edx + 0xc]
movss dword [edx + 0x18], xmm0
subss xmm1, dword [edx + 0x78]
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x7c]
addss xmm1, dword [edx + 0x80]
addss xmm0, dword [edx + 0x84]
maxss xmm1, xmm3
maxss xmm0, xmm3
movss dword [edx + 0x1c], xmm1
movss dword [edx + 0x20], xmm0
cmp esi, dword [edi + 0x1cf8]
jl 0x10045770
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x1004584b
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edi + 0x9c]
movss xmm2, dword [0x100e572c]
mov eax, dword [edi + 0x1b9c]
mov dword [edi + 0x1930], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x40]
maxss xmm0, xmm2
movss dword [edi + 0x1938], xmm0
test eax, eax
je 0x1004589d
mulss xmm0, dword [eax + 0x29c]
mov eax, dword [eax + 0x338]
test eax, eax
je 0x100458a0
mulss xmm0, dword [eax + 0x29c]
jmp 0x100458a0
movaps xmm0, xmm3
movss dword [edi + 0x1934], xmm0
movaps xmm7, xmm4
mov edx, dword [esi + 0x30]
movaps xmm6, xmm4
movss xmm4, dword [0x100e5a5c]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x193c], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x1940], ecx
mov dword [edi + 0x1b2c], eax
mov dword [edi + 0x1944], esi
movss dword [edi + 0x1948], xmm0
mov edx, dword [ebx + 0x1cf8]
test edx, edx
jle 0x10045941
mov ecx, dword [ebx + 0x1d00]
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 0x10045919
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10045921
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10045929
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10045931
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x100458f5
movss xmm2, dword [0x100e572c]
movss dword [ebx + 0x1954], xmm7
movss dword [ebx + 0x1958], xmm6
movss dword [ebx + 0x195c], xmm4
movss dword [ebx + 0x1960], xmm5
mov eax, dword [ebx + 0x15d8]
movss xmm1, dword [ebx + 0x15dc]
mov dword [ebx + 0x194c], eax
movss xmm0, dword [ebx + 0x1950]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10045a3d
movss dword [ebx + 0x1950], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10045a0a
movaps xmm1, xmm0
minss xmm1, dword [ebx + 0x1950]
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_acosf
movss xmm1, dword [0x100e57e0]
sub esp, 8
divss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
fld dword [esp + 0x3c]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x3c]
cvttss2si eax, dword [esp + 0x3c]
add esp, 8
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x100459fb
mov eax, 4
jmp 0x10045a0c
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10045a0c
xor eax, eax
movss xmm2, dword [0x100e572c]
mov byte [esi + ebx + 0x1aec], al
inc esi
cmp esi, 0x40
jl 0x10045994
movss xmm0, dword [ebx + 0x1950]
mulss xmm0, dword [0x100e596c]
movss dword [ebx + 0x1ae8], xmm0
xor edx, edx
mov dword [ebx + 0x1964], 0
cmp byte [ebx + 0x15d4], dl
je 0x10045a60
mov dword [ebx + 0x1964], 1
mov edx, 1
cmp byte [ebx + 0x15d5], 0
mov ecx, edx
je 0x10045a82
mov eax, dword [ebx + 0x1930]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10045a82
or ecx, 2
mov dword [ebx + 0x1964], ecx
cmp byte [ebx + 0x15d6], 0
je 0x10045a94
or ecx, 4
mov dword [ebx + 0x1964], ecx
test byte [ebx + 0xc], 8
je 0x10045aa3
or ecx, 8
mov dword [ebx + 0x1964], ecx
xor esi, esi
cmp dword [ebx + 0x1cf8], esi
jle 0x10045ad2
nop dword [eax]
mov eax, dword [ebx + 0x1d00]
push 0x2c
push 0
mov eax, dword [eax + esi*4]
add eax, 0x34
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [ebx + 0x1cf8]
jl 0x10045ab0
cmp byte [ebx + 0x1e48], 0
je 0x10045b06
mov eax, dword [ebx + 0x1e60]
cmp eax, dword [ebx + 0x1bd0]
jne 0x10045b06
cmp dword [edi + 0x1bd0], eax
jne 0x10045af7
mov dword [edi + 0x1bd4], eax
cmp dword [edi + 0x1c0c], eax
jne 0x10045b06
mov byte [edi + 0x1c10], 1
cmp dword [ebx + 0x1bc0], 0
lea eax, [ebx + 0x1bbc]
mov ecx, dword [eax]
jne 0x10045b23
mov dword [ebx + 0x1bc8], 0
jmp 0x10045b33
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x10045b41
cmp dword [ebx + 0x1bd0], ecx
jne 0x10045b41
mov dword [ebx + 0x1bcc], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x10045b78
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bc8]
movss dword [ebx + 0x1bc8], xmm0
cmp dword [ebx + 0x1bd0], edx
je 0x10045b78
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bcc]
movss dword [ebx + 0x1bcc], xmm0
mov al, byte [ebx + 0x1bc5]
movaps xmm2, xmm1
mov byte [ebx + 0x1bc6], al
mov eax, dword [ebx + 0x1bd0]
mov dword [ebx + 0x1bc0], edx
mov dword [esi], 0
mov word [ebx + 0x1bc4], 0
mov byte [ebx + 0x1bc7], 0
cmp dword [ebx + 0x1bd4], eax
je 0x10045bc7
cmp dword [ebx + 0x1c0c], eax
jne 0x10045bc7
test eax, eax
je 0x10045bc7
call fcn.10044180
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1bd0]
test ecx, ecx
je 0x10045be4
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
mov eax, dword [ebx + 0x1c00]
addss xmm2, dword [ebx + 0x1c1c]
mov dword [ebx + 0x1c14], eax
mov al, byte [ebx + 0x1be0]
mov byte [ebx + 0x1c11], al
mov eax, dword [ebx + 0x2e2c]
movss dword [ebx + 0x1c1c], xmm2
mov dword [ebx + 0x1c0c], ecx
mov dword [ebx + 0x1bd4], 0
mov byte [ebx + 0x1be1], 0
mov byte [ebx + 0x1c10], 0
mov byte [ebx + 0x1bdc], 0
test eax, eax
je 0x10045c49
cmp ecx, eax
je 0x10045c49
mov dword [ebx + 0x2e2c], 0
test ecx, ecx
jne 0x10045c65
mov dword [ebx + 0x1be4], ecx
mov dword [ebx + 0x1be8], ecx
mov dword [ebx + 0x1bf0], ecx
mov dword [ebx + 0x1bf4], ecx
mov eax, dword [ebx + 0x1eac]
mov dword [ebx + 0x1eb0], eax
xor eax, eax
mov dword [ebx + 0x1eac], 0
mov dword [ebx + 0x1ea8], 0x7f7fffff
mov word [ebx + 0x1e49], 0
mov dword [ebx + 0x1eb8], 0
cmp byte [edi + 0xfc], al
movss xmm1, dword [0x100e59f4]
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0xfd], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0xfe], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0xff], 0
lea edi, [ebx + 0xc58]
cmove eax, edx
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x458]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp byte [ebx + ecx + 0x100], 0
je 0x10045d17
movss xmm0, dword [eax]
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x10045d10
xorps xmm0, xmm0
jmp 0x10045d1a
addss xmm0, dword [ebx + 0x18]
jmp 0x10045d1a
movaps xmm0, xmm1
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10045cf5
call fcn.10050400
call fcn.100449b0
call fcn.10045230
mov esi, dword [0x10135b78]
mov ecx, dword [esi + 0x1ba8]
test ecx, ecx
je 0x10045e41
mov eax, dword [esi + 0x1bd0]
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10045d68
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x33c]
je 0x10045e30
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x10045d8d
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x100e5a58]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x10045e30
comiss xmm2, xmm1
jb 0x10045e30
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1bf8]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1bfc]
ucomiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
lahf
test ah, 0x44
jp 0x10045df1
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10045e1d
test dword [ecx + 8], 0x100
jne 0x10045e0f
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2ea0]
jb 0x10045e0f
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2ea0], eax
push 1
lea edx, [esp + 0x38]
call fcn.1004d320
add esp, 4
mov ecx, dword [esi + 0x1ba8]
call fcn.1004ce50
mov esi, dword [0x10135b78]
jmp 0x10045e79
call fcn.10044180
mov dword [esi + 0x1ba8], 0
jmp 0x10045e79
mov ecx, dword [esi + 0x1c00]
test ecx, ecx
je 0x10045e79
mov eax, dword [esi + 0x1bd0]
cmp dword [ecx + 0x50], eax
jne 0x10045e79
mov dword [esi + 0x1bd4], eax
cmp dword [esi + 0x1c0c], eax
jne 0x10045e6b
mov byte [esi + 0x1c10], 1
cmp byte [esi + 0xec], 0
jne 0x10045e79
call fcn.10044180
mov edx, dword [esi + 0x1ce0]
sub edx, 1
js 0x10045eae
mov eax, dword [esi + 0x1ce8]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10045ea6
test dword [ecx + 8], 0x8000000
jne 0x10046003
sub eax, 0x24
sub edx, 1
jns 0x10045e93
cmp dword [ebx + 0x1e0c], 0
xorps xmm6, xmm6
je 0x10045ecb
movss xmm0, dword [ebx + 0x1e1c]
comiss xmm0, xmm6
ja 0x10046006
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100e5824]
movss xmm1, dword [ebx + 0x1e40]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e40], xmm1
mov dword [ebx + 0x1e44], 0
mov dword [ebx + 0x3120], 0xffffffff
mov dword [ebx + 0x311c], 0xffffffff
mov dword [ebx + 0x3118], 0xffffffff
mov dword [ebx + 0x2e8c], 0x3f800000
mov dword [ebx + 0x2e90], 0x3f800000
call fcn.10044d90
mov esi, dword [0x10135b78]
mov edi, dword [esi + 0x1e28]
mov dword [esi + 0x1e24], 0
mov dword [esi + 0x1e30], 0x7fffffff
mov dword [esi + 0x1e2c], 0x7fffffff
test edi, edi
je 0x10045fcb
mov eax, dword [esi + 0x1e34]
mov dword [esi + 0x1e24], edi
cmp eax, 0x7fffffff
je 0x10045f89
mov ecx, dword [edi + 0x1c4]
cmp ecx, 0xffffffff
je 0x10045f89
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e2c], edx
mov eax, dword [esi + 0x1e38]
cmp eax, 0x7fffffff
je 0x10045fad
mov ecx, dword [edi + 0x1c8]
cmp ecx, 0xffffffff
je 0x10045fad
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e30], edx
mov dword [esi + 0x1e28], 0
mov dword [esi + 0x1e38], 0x7fffffff
mov dword [esi + 0x1e34], 0x7fffffff
mov dword [esi + 0x1d50], 0x7fffffff
cmp byte [ebx + 0x1b47], 0
jne 0x10046028
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x10046028
movsd xmm1, qword [ebx + 0x1b30]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x24], xmm1
jmp 0x1004602e
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x100e5804]
addss xmm1, dword [ebx + 0x1e40]
minss xmm1, dword [0x100e572c]
jmp 0x10045ee8
movss xmm1, dword [esp + 0x24]
xor edi, edi
cmp dword [ebx + 0x1b54], edi
je 0x100461c4
nop dword [eax]
mov eax, dword [ebx + 0x1b5c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0xa2]
mov byte [esi + 0xa3], al
mov word [esi + 0xae], cx
mov byte [esi + 0xa2], cl
mov byte [esi + 0xa4], cl
test al, al
jne 0x100461b1
cmp byte [esi + 0x37c], cl
jne 0x100461b1
comiss xmm1, dword [esi + 0x27c]
jbe 0x100461b1
mov ecx, dword [esi + 0x2a4]
mov byte [esi + 0x37c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x374], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x378], eax
mov ecx, dword [esi + 0xe0]
test ecx, ecx
je 0x100460e9
mov eax, dword [0x10135b78]
mov dword [esi + 0xdc], 0
mov dword [esi + 0xd8], 0
test eax, eax
je 0x100460d7
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0xe0], 0
mov ecx, dword [esi + 0x2a4]
call fcn.1005be10
mov ecx, dword [esi + 0x1ac]
test ecx, ecx
je 0x10046133
mov eax, dword [0x10135b78]
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
test eax, eax
je 0x10046121
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1ac], 0
mov ecx, dword [esi + 0x1e0]
test ecx, ecx
je 0x10046172
mov eax, dword [0x10135b78]
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x1d8], 0
test eax, eax
je 0x10046160
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1e0], 0
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x100461b1
mov eax, dword [0x10135b78]
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1e4], 0
test eax, eax
je 0x1004619f
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1ec], 0
movss xmm1, dword [esp + 0x24]
inc edi
cmp edi, dword [ebx + 0x1b54]
jne 0x10046040
xor edi, edi
mov dword [esp + 0x30], edi
cmp dword [ebx + 0x1f04], edi
jle 0x10046328
xor ecx, ecx
xorps xmm1, xmm1
mov dword [esp + 0x34], ecx
nop
mov eax, dword [ebx + 0x1f0c]
movss xmm0, dword [eax + edi*4]
comiss xmm0, xmm1
jb 0x1004630d
movss xmm2, dword [esp + 0x24]
comiss xmm2, xmm0
jbe 0x1004630d
mov esi, dword [ebx + 0x1ee4]
mov eax, dword [0x10135b78]
add esi, ecx
mov dword [esp + 0x2c], eax
lea ecx, [esi + 0x1c4]
call fcn.1005ea60
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x1004625e
mov eax, dword [0x10135b78]
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1e4], 0
test eax, eax
je 0x1004624c
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov byte [esi + 0x218], 1
mov ecx, dword [esi + 0x1c0]
test ecx, ecx
je 0x100462ae
mov eax, dword [0x10135b78]
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x1004629c
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1c0], 0
xor edx, edx
mov byte [esi + 0x222], 1
cmp dword [esi + 0x54], edx
jle 0x100462da
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0xc]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x100462c1
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
xorps xmm1, xmm1
sub esi, dword [eax + 0x1ee4]
mov eax, 0x76b981db
imul esi
mov eax, dword [esp + 0x2c]
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
mov eax, dword [eax + 0x1f0c]
add ecx, edx
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x34]
inc edi
add ecx, 0x228
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
cmp edi, dword [ebx + 0x1f04]
jl 0x100461e0
cmp byte [ebx + 0x1b47], 0
je 0x100463bf
mov esi, dword [0x10135b78]
mov eax, dword [esi + 0x1cd0]
test eax, eax
je 0x10046379
mov dword [esi + 0x1ccc], 0
mov dword [esi + 0x1cc8], 0
test esi, esi
je 0x10046363
dec dword [esi + 0x370]
mov edi, dword [esp + 0x20]
push eax
call edi
add esp, 4
mov dword [esi + 0x1cd0], 0
jmp 0x1004637d
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x1cdc]
test ecx, ecx
je 0x100463ba
mov eax, dword [0x10135b78]
mov dword [esi + 0x1cd8], 0
mov dword [esi + 0x1cd4], 0
test eax, eax
je 0x100463aa
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x1cdc], 0
call fcn.100653b0
mov eax, dword [ebx + 0x1d04]
mov byte [ebx + 0x1b47], 0
test eax, eax
je 0x100463e0
cmp byte [eax + 0xa3], 0
jne 0x100463e0
xor ecx, ecx
call fcn.1004cfd0
mov ecx, dword [ebx + 0x1b7c]
test ecx, ecx
jns 0x10046406
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, [ebx + 0x1b78]
call fcn.10054060
mov dword [ebx + 0x1b78], 0
mov ecx, dword [ebx + 0x1cf0]
test ecx, ecx
jns 0x10046436
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, [ebx + 0x1cec]
call fcn.10054480
lea esi, [ebx + 0x1cc8]
mov dword [ebx + 0x1cec], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10046465
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10054060
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1004647a
push 8
mov ecx, esi
call fcn.10054060
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1cd4]
inc dword [esi]
call fcn.10053e30
mov ecx, dword [ebx + 0x1d04]
xor dl, dl
call fcn.1004eab0
mov esi, dword [0x10135b78]
cmp byte [esi + 0x2f18], 0
mov dword [esi + 0x2f1c], 0
je 0x1004656a
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bc0]
mov dword [esi + 0x1e44], 7
test ecx, ecx
js 0x100464e6
call fcn.100476b0
test al, al
je 0x100464e6
mov byte [esi + 0x2f18], 0
movss xmm0, dword [esi + 0x3f4]
ucomiss xmm0, dword [0x100e5558]
lahf
test ah, 0x44
jp 0x1004650c
test edi, edi
je 0x1004650c
mov dword [esi + 0x2f1c], edi
mov byte [esi + 0x2f18], 0
or dword [esi + 0x1c20], 0x40
xor edx, edx
mov dword [esi + 0x1c78], 0x3f19999a
call fcn.1004e320
push edi
push str.HoveredId:_0x_08X
call fcn.10066110
push str.Press_ESC_to_abort_picking.
call fcn.10066110
add esp, 0xc
mov ecx, 0x15f0
test edi, edi
mov eax, 0x15e0
cmove eax, ecx
add eax, dword [0x10135b78]
push str.Click_to_break_in_debugger_
push eax
call fcn.100661a0
add esp, 8
call fcn.1004cd50
mov esi, dword [0x10135b78]
mov byte [ebx + 0x1b45], 1
xor edx, edx
or dword [esi + 0x1c20], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c44], 0x43c80000
mov dword [esi + 0x1c48], 0x43c80000
mov dword [esi + 0x1c28], 4
call fcn.1004a740
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2ed4], esi
jle 0x100465d7
xor edi, edi
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
add eax, edi
cmp dword [eax + 4], 1
jne 0x100465cb
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2ed4]
jl 0x100465b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret