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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x10265810]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x5e44]
sub eax, 1
mov dword [ebp - 4], eax
js 0x1000a3ee
lea edi, [eax + eax*4]
shl edi, 2
nop word [eax + eax]
mov ecx, dword [ebx + 0x5e4c]
cmp dword [ecx + edi + 4], 7
jne 0x1000a3e3
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, edi
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 + 0x5e44]
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 [ebp - 4]
add esp, 0xc
dec dword [ebx + 0x5e44]
dec eax
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x1000a390
mov eax, dword [ebx + 0x5e44]
mov esi, dword [ebx + 0x5e4c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000a41b
cmp dword [esi + 4], 0
jne 0x1000a414
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000a404
mov esi, dword [0x10265810]
cmp byte [esi + 0x4a], 0
je 0x1000a431
test byte [esi + 0xc], 2
jne 0x1000a431
mov byte [esi + 0x4a], 0
cmp byte [esi + 0x5e0c], 0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0xc], 6
mov dword [ebp - 0x10], eax
jne 0x1000a4f1
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1000a4ea
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.100067b0
mov edi, eax
add esp, 8
test edi, edi
je 0x1000a4ea
mov edx, dword [ebp - 4]
test edx, edx
je 0x1000a480
mov ecx, edi
call fcn.1001c2c0
mov ecx, dword [0x10265810]
test ecx, ecx
je 0x1000a4da
movsx eax, word [ecx + 0x5f34]
mov edx, dword [ecx + 0x3f38]
add eax, 0xbe7
mov dword [ebp - 0x1c], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1000a4d0
movsx eax, word [ecx + 0x5f34]
inc eax
cdq
idiv dword [ebp - 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x1c]
mov word [ecx + 0x5f34], ax
cwde
add eax, 0xbe7
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5f30]
cmp dword [0x10265808], 0
je 0x1000a4ea
push edi
call dword [ebp - 0x10]
add esp, 4
mov byte [esi + 0x5e0c], 1
movss xmm1, dword [esi + 0x5e10]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1000a579
subss xmm1, dword [esi + 0x18]
comiss xmm0, xmm1
movss dword [esi + 0x5e10], xmm1
jb 0x1000a579
mov edi, dword [esi + 0x20]
test edi, edi
je 0x1000a568
mov eax, dword [0x10265810]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x5e10], 0
call fcn.1001c520
mov edx, 0x1011cccc
mov dword [ebp - 0x1c], eax
mov ecx, edi
call fcn.10006620
mov edi, eax
test edi, edi
je 0x1000a56f
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0x1c]
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
jmp 0x1000a56f
mov byte [esi + 0x96], 1
mov dword [esi + 0x5e10], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x3f38]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x3f44], 1
mov word [ebx + 0x5d70], ax
mov dword [ebx + 0x3fb8], eax
addsd xmm0, qword [ebx + 0x3f30]
movsd qword [ebx + 0x3f30], xmm0
mov ecx, dword [ebx + 0x5d84]
test ecx, ecx
jns 0x1000a5d3
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 + 0x5d80]
call fcn.1001d860
mov dword [ebx + 0x5d80], 0
mov ecx, 0x3c
mov eax, dword [ebx + 0x6058]
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x5f68]
addss xmm0, dword [ebx + 0x6060]
movss dword [ebx + 0x6060], xmm0
movss dword [ebx + eax*4 + 0x5f68], xmm1
mov eax, dword [ebx + 0x6058]
inc eax
movss xmm1, dword [ebx + 0x6060]
cdq
idiv ecx
mov eax, dword [ebx + 0x605c]
movss xmm0, dword [0x10134a84]
inc eax
cmp eax, ecx
mov dword [ebx + 0x6058], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x101348d0]
mov dword [ebx + 0x605c], ecx
jbe 0x1000a669
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1013496c]
divss xmm0, xmm1
movss dword [ebx + 0x9c], xmm0
mov ecx, dword [ebx + 0x3f6c]
test ecx, ecx
jns 0x1000a697
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 + 0x3f68]
call fcn.1001dde0
mov dword [ebx + 0x3f68], 0
mov cl, byte [ebx + 0x46]
call fcn.10015000
mov esi, dword [0x10265810]
mov eax, dword [esi + 0x4a84]
mov edx, dword [eax]
mov dword [edx + 4], 5
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov edi, dword [esi + 0x4a84]
mov eax, dword [esi + 0x4a7c]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x1000a7be
mov ebx, eax
mov edx, dword [edi]
add edi, 4
mov eax, dword [edx + 0x98]
mov ecx, dword [edx + 0x9c]
movss xmm0, dword [edx + 0xc]
mov dword [edx + 0x88], eax
mov eax, dword [edx + 0xa0]
mov dword [edx + 0x8c], ecx
mov ecx, dword [edx + 0xa4]
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], ecx
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x9c], 0
movss xmm2, dword [edx + 0x88]
movaps xmm1, xmm2
addss xmm0, dword [edx + 0x8c]
addss xmm1, dword [edx + 8]
movss dword [edx + 0x1c], xmm0
movss xmm0, dword [edx + 0x10]
movss dword [edx + 0x18], xmm1
subss xmm0, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [edx + 0x90]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x8c]
addss xmm0, dword [edx + 0x94]
movss dword [edx + 0x20], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x24], xmm1
cmp edi, ebx
jne 0x1000a6f1
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x2c]
mov byte [eax + 0x10], 1
call fcn.1000a130
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000a7d9
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call fcn.100129c0
mov ecx, dword [ebx + 0x4a84]
mov eax, dword [ebx + 0x4a7c]
lea edx, [ecx + eax*4]
cmp ecx, edx
je 0x1000a7fe
mov eax, dword [ecx]
add ecx, 4
mov byte [eax + 0x3c], 0
cmp ecx, edx
jne 0x1000a7f1
cmp byte [ebx + 0x4c80], 0
je 0x1000a832
mov eax, dword [ebx + 0x4c98]
cmp eax, dword [ebx + 0x4018]
jne 0x1000a832
cmp dword [esi + 0x4018], eax
jne 0x1000a823
mov dword [esi + 0x401c], eax
cmp dword [esi + 0x4040], eax
jne 0x1000a832
mov byte [esi + 0x4044], 1
cmp dword [ebx + 0x4008], 0
jne 0x1000a847
mov dword [ebx + 0x4010], 0
jmp 0x1000a859
mov eax, dword [ebx + 0x4004]
test eax, eax
je 0x1000a863
cmp dword [ebx + 0x4018], eax
jne 0x1000a863
mov dword [ebx + 0x4014], 0
mov eax, dword [ebx + 0x4004]
test eax, eax
je 0x1000a89d
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x4010]
movss dword [ebx + 0x4010], xmm0
cmp dword [ebx + 0x4018], eax
je 0x1000a89d
addss xmm1, dword [ebx + 0x4014]
movss dword [ebx + 0x4014], xmm1
mov dword [ebx + 0x4008], eax
mov eax, dword [ebx + 0x4018]
mov dword [ebx + 0x4004], 0
mov word [ebx + 0x400c], 0
test eax, eax
je 0x1000a8f5
cmp dword [ebx + 0x401c], eax
je 0x1000a8f5
cmp dword [ebx + 0x4040], eax
jne 0x1000a8f5
test byte [ebx + 0x5ea8], 1
je 0x1000a8e6
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.1001cde0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.10009230
mov esi, dword [0x10265810]
mov ecx, dword [ebx + 0x4018]
test ecx, ecx
je 0x1000a914
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4020]
movss dword [ebx + 0x4020], xmm0
mov eax, dword [ebx + 0x4038]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x4050]
mov dword [ebx + 0x4048], eax
mov al, byte [ebx + 0x4028]
mov byte [ebx + 0x4045], al
mov eax, dword [ebx + 0x5cd8]
movss dword [ebx + 0x4050], xmm0
mov dword [ebx + 0x4040], ecx
mov dword [ebx + 0x401c], 0
mov byte [ebx + 0x4029], 0
mov byte [ebx + 0x4044], 0
mov byte [ebx + 0x4024], 0
test eax, eax
je 0x1000a97e
cmp ecx, eax
je 0x1000a97e
mov dword [ebx + 0x5cd8], 0
test ecx, ecx
jne 0x1000a99c
mov dword [ebx + 0x4914], ecx
mov dword [ebx + 0x4908], ecx
mov byte [ebx + 0x490c], cl
mov dword [ebx + 0x4914], ecx
jmp 0x1000a9c5
mov eax, dword [ebx + 0x4914]
test eax, eax
je 0x1000a9c5
test al, 2
je 0x1000a9c5
mov eax, dword [ebx + 0x4018]
mov dword [esi + 0x4130], eax
mov dword [esi + 0x412c], eax
mov word [esi + 0x4134], 0
mov ecx, dword [ebx + 0x4dbc]
test ecx, ecx
je 0x1000a9e8
movss xmm0, dword [ebx + 0x4dd8]
comiss xmm0, dword [ebx + 0x3d00]
jb 0x1000a9f2
mov dword [ebx + 0x4dcc], ecx
jmp 0x1000a9f2
mov dword [ebx + 0x4dcc], 0
mov eax, dword [ebx + 0x3fcc]
test eax, eax
je 0x1000aa18
movss xmm0, dword [ebx + 0x4dd8]
comiss xmm0, dword [ebx + 0x3d00]
jb 0x1000aa22
mov eax, dword [eax + 8]
mov dword [ebx + 0x4dd0], eax
jmp 0x1000aa22
mov dword [ebx + 0x4dd0], 0
movss xmm0, dword [ebx + 0x4dc4]
mov dword [ebx + 0x4dc0], ecx
test ecx, ecx
je 0x1000aa4d
addss xmm0, dword [ebx + 0x18]
mov dword [ebx + 0x4dbc], 0
movss dword [ebx + 0x4dc4], xmm0
jmp 0x1000aa8d
comiss xmm0, dword [0x101348d0]
jbe 0x1000aa97
movss xmm1, dword [ebx + 0x18]
movss xmm0, dword [0x1013491c]
movaps xmm2, xmm1
addss xmm2, dword [ebx + 0x4dc8]
addss xmm1, xmm1
movss dword [ebx + 0x4dc8], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x1000aa97
mov dword [ebx + 0x4dc4], 0
mov dword [ebx + 0x4dc8], 0
mov eax, dword [ebx + 0x4cf4]
mov dword [ebx + 0x4cf8], eax
mov dword [ebx + 0x4cf4], 0
mov dword [ebx + 0x4cf0], 0x7f7fffff
mov word [ebx + 0x4c81], 0
mov dword [ebx + 0x4d00], 0
call fcn.10013d30
call fcn.10018b20
call fcn.10014270
call fcn.10009eb0
mov esi, dword [0x10265810]
mov ecx, dword [esi + 0x3fd4]
test ecx, ecx
je 0x1000ab96
mov eax, dword [esi + 0x4018]
mov dword [esi + 0x401c], eax
cmp dword [esi + 0x4040], eax
jne 0x1000ab0d
mov byte [esi + 0x4044], 1
cmp byte [esi + 0xc4], 0
mov edi, dword [ecx + 0x30c]
je 0x1000ab8a
lea eax, [esi + 0xbc]
mov ecx, eax
test eax, eax
jne 0x1000ab2e
lea ecx, [esi + 0xbc]
movss xmm0, dword [ecx]
movss xmm1, dword [0x10134aa4]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x1000ab8a
comiss xmm2, xmm1
jb 0x1000ab8a
movss xmm0, dword [eax]
lea edx, [ebp - 0x28]
subss xmm0, dword [esi + 0x4030]
push 1
mov ecx, edi
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 0x4034]
movss dword [ebp - 0x24], xmm0
call fcn.10012bd0
mov ecx, dword [esi + 0x3fd4]
add esp, 4
xor edx, edx
call fcn.10012610
jmp 0x1000abd2
mov dword [esi + 0x3fd4], 0
jmp 0x1000abc9
mov ecx, dword [esi + 0x4038]
test ecx, ecx
je 0x1000abd2
mov eax, dword [esi + 0x4018]
cmp dword [ecx + 0x74], eax
jne 0x1000abd2
mov dword [esi + 0x401c], eax
cmp dword [esi + 0x4040], eax
jne 0x1000abc0
mov byte [esi + 0x4044], 1
cmp byte [esi + 0xc4], 0
jne 0x1000abd2
xor edx, edx
xor ecx, ecx
call fcn.10009230
mov eax, dword [0x10265810]
movss xmm2, dword [0x101349dc]
mov edx, dword [eax + 0x4a58]
sub edx, 1
js 0x1000ac17
mov eax, dword [eax + 0x4a60]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000ac0f
test dword [ecx + 0xc], 0x8000000
jne 0x1000ac30
sub eax, 0x28
sub edx, 1
jns 0x1000ac00
cmp dword [ebx + 0x4c50], 0
je 0x1000ac4b
movss xmm0, dword [ebx + 0x4c60]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1000ac4b
movss xmm1, dword [ebx + 0x18]
mulss xmm1, xmm2
addss xmm1, dword [ebx + 0x4c7c]
minss xmm1, dword [0x1013496c]
jmp 0x1000ac6c
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101349f8]
movss xmm1, dword [ebx + 0x4c7c]
subss xmm1, xmm0
maxss xmm1, dword [0x101348d0]
movss dword [ebx + 0x4c7c], xmm1
movups xmm0, xmmword [ebx + 0x5dec]
mov dword [ebx + 0x4dd4], 0
mov dword [ebx + 0x606c], 0xffffffff
mov dword [ebx + 0x6068], 0xffffffff
mov dword [ebx + 0x6064], 0xffffffff
movups xmmword [ebx + 0x5dfc], xmm0
mov byte [ebx + 0x5dec], 0
call fcn.10014600
cmp byte [ebx + 0x3f47], 0
jne 0x1000ace3
movss xmm1, dword [ebx + 0x4c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1000ace3
movsd xmm0, qword [ebx + 0x3f30]
cvtpd2ps xmm0, xmm0
subss xmm0, xmm1
movss dword [ebp - 4], xmm0
jmp 0x1000ace8
movss xmm0, dword [ebp - 4]
mov edi, dword [ebx + 0x3f84]
mov eax, dword [ebx + 0x3f7c]
lea eax, [edi + eax*4]
mov dword [ebp - 0x1c], eax
cmp edi, eax
je 0x1000adc1
mov ebx, eax
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [edi]
mov ax, word [esi + 0xbc]
mov cl, byte [esi + 0xae]
mov word [esi + 0xbe], ax
xor eax, eax
mov byte [esi + 0xaf], cl
mov byte [esi + 0xae], 0
mov byte [esi + 0xb0], 0
mov word [esi + 0xbc], ax
test cl, cl
jne 0x1000adae
cmp byte [esi + 0x368], al
jne 0x1000adae
comiss xmm0, dword [esi + 0x248]
jbe 0x1000adae
mov ecx, dword [esi + 0x270]
mov byte [esi + 0x368], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x360], eax
mov eax, dword [ecx + 0x1c]
lea ecx, [esi + 0xec]
mov dword [esi + 0x364], eax
call fcn.1001d420
mov ecx, dword [esi + 0x270]
call fcn.1001f1a0
lea ecx, [esi + 0x188]
call fcn.1001d420
lea ecx, [esi + 0x1b4]
call fcn.1001d420
lea ecx, [esi + 0x1c0]
call fcn.1001d420
movss xmm0, dword [ebp - 4]
add edi, 4
cmp edi, ebx
jne 0x1000ad10
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0x4d68], ecx
jle 0x1000af2a
xor edi, edi
xorps xmm0, xmm0
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
nop
mov eax, dword [ebx + 0x4d70]
movss xmm1, dword [edx + eax]
comiss xmm1, xmm0
jb 0x1000af0b
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1000af0b
mov esi, dword [ebx + 0x4d50]
add esi, edi
mov edi, dword [0x10265810]
mov dword [ebp - 0x24], edi
mov dword [esi + 0x1a8], 0
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x1000aead
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test edi, edi
je 0x1000ae93
movsx eax, word [edi + 0x5f34]
mov edx, dword [edi + 0x3f38]
add eax, 0xbe7
mov dword [ebp - 0x20], edx
cmp dword [edi + eax*8], edx
lea eax, [edi + eax*8]
je 0x1000ae89
movsx eax, word [edi + 0x5f34]
inc eax
cdq
idiv dword [ebp - 0xc]
movzx eax, dx
mov edx, dword [ebp - 0x20]
mov word [edi + 0x5f34], ax
cwde
add eax, 0xbe7
lea eax, [edi + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [edi + 0x5f30]
cmp dword [0x10265808], 0
je 0x1000aea3
push ecx
call dword [ebp - 0x10]
add esp, 4
mov dword [esi + 0x1a4], 0
lea ecx, [esi + 0x15c]
mov byte [esi + 0x1ed], 1
call fcn.1001d420
xor edx, edx
mov byte [esi + 0x1fc], 1
cmp dword [esi + 0x40], edx
jle 0x1000aee9
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x70]
inc edx
mov word [eax + ecx - 0x20], di
cmp edx, dword [esi + 0x40]
jl 0x1000aed2
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
sub esi, dword [edi + 0x4d50]
xorps xmm0, xmm0
mov eax, dword [edi + 0x4d70]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
sar esi, 9
mov dword [eax + esi*4], 0xbf800000
inc ecx
add edi, 0x200
add edx, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
cmp ecx, dword [ebx + 0x4d68]
jl 0x1000ade0
mov eax, dword [ebx + 0x4d3c]
mov ecx, eax
mov esi, dword [ebx + 0x4d44]
shl ecx, 4
sub ecx, eax
lea edi, [esi + ecx*8]
cmp esi, edi
je 0x1000af7d
xorps xmm0, xmm0
nop word [eax + eax]
movss xmm1, dword [esi + 4]
comiss xmm1, xmm0
jb 0x1000af76
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm1
jbe 0x1000af76
lea ecx, [esi + 0x20]
call fcn.10023500
mov dword [esi + 4], 0xbf800000
xorps xmm0, xmm0
add esi, 0x78
cmp esi, edi
jne 0x1000af50
cmp byte [ebx + 0x3f47], 0
je 0x1000afa7
mov esi, dword [0x10265810]
lea ecx, [esi + 0x4a40]
call fcn.1001d420
lea ecx, [esi + 0x4a4c]
call fcn.1001d420
call fcn.10027f00
mov eax, dword [ebx + 0x4a88]
mov byte [ebx + 0x3f47], 0
test eax, eax
je 0x1000b012
cmp byte [eax + 0xaf], 0
jne 0x1000b012
mov eax, dword [0x10265810]
mov edx, dword [eax + 0x3f88]
sub edx, 1
js 0x1000b006
mov eax, dword [eax + 0x3f90]
lea esi, [eax + edx*4]
nop word [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x1000affe
cmp byte [ecx + 0xaf], 0
je 0x1000affe
mov eax, dword [ecx + 0xc]
and eax, 0x10200
cmp eax, 0x10200
jne 0x1000b008
sub esi, 4
sub edx, 1
jns 0x1000afe0
xor ecx, ecx
mov edx, 1
call fcn.10012610
mov ecx, dword [ebx + 0x3fa4]
test ecx, ecx
jns 0x1000b038
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 + 0x3fa0]
call fcn.1001e130
mov dword [ebx + 0x3fa0], 0
mov ecx, dword [ebx + 0x4a68]
test ecx, ecx
jns 0x1000b068
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 + 0x4a64]
call fcn.1001dec0
lea esi, [ebx + 0x4a40]
mov dword [ebx + 0x4a64], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1000b097
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.1001d860
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x1000b0ac
push 8
mov ecx, esi
call fcn.1001d860
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x4a4c]
inc dword [esi]
call fcn.1001d740
mov edi, dword [0x10265810]
mov dword [ebp - 4], edi
cmp byte [edi + 0x5ed5], 0
mov dword [edi + 0x5ed8], 0
je 0x1000b277
mov esi, dword [edi + 0x4008]
mov edx, 1
push 0
mov ecx, 0x20e
mov dword [ebp - 0x24], esi
mov dword [edi + 0x4dd4], 7
call fcn.10013ab0
add esp, 4
test al, al
je 0x1000b119
mov byte [edi + 0x5ed5], 0
mov eax, dword [edi + 0xdc]
xorps xmm0, xmm0
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x1000b17e
movzx ecx, byte [edi + 0x5ed6]
cmp byte [ecx + edi + 0xc4], 0
je 0x1000b17e
movss xmm1, dword [edi + ecx*4 + 0x2b10]
comiss xmm0, xmm1
ja 0x1000b17e
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b17b
add ecx, 0x28f
xor edx, edx
call fcn.10015590
test al, al
mov eax, dword [ebp - 4]
je 0x1000b17e
test esi, esi
je 0x1000b17e
mov dword [edi + 0x5ed8], esi
mov byte [edi + 0x5ed5], 0
jmp 0x1000b17e
mov eax, dword [ebp - 4]
xor ebx, ebx
mov esi, 0x2b10
cmp eax, 0x3000
jne 0x1000b1c8
cmp byte [edi + ebx + 0xc4], 0
je 0x1000b1c8
movss xmm1, dword [edi + esi]
comiss xmm0, xmm1
ja 0x1000b1c8
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1000b1c5
lea ecx, [ebx + 0x28f]
xor edx, edx
call fcn.10015590
test al, al
mov eax, dword [ebp - 4]
je 0x1000b1c8
mov byte [edi + 0x5ed6], bl
jmp 0x1000b1c8
mov eax, dword [ebp - 4]
add esi, 4
inc ebx
cmp esi, 0x2b1c
jl 0x1000b185
or dword [edi + 0x49a0], 0x40
xor ecx, ecx
mov dword [edi + 0x49f8], 0x3f333333
call fcn.100168d0
mov ebx, dword [ebp - 8]
test al, al
je 0x1000b26e
mov esi, dword [ebp - 0x24]
push esi
push str.HoveredId:_0x_08X
call fcn.100290c0
push str.Press_ESC_to_abort_picking.
call fcn.100290c0
add esp, 0xc
mov dword [ebp - 0x2c], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x28], str.Right
mov dword [ebp - 0x24], str.Middle
jne 0x1000b23b
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.100290c0
add esp, 4
jmp 0x1000b269
movzx eax, byte [edi + 0x5ed6]
mov ecx, 0x39b0
test esi, esi
push dword [ebp + eax*4 - 0x2c]
mov eax, 0x39a0
cmove eax, ecx
add eax, dword [0x10265810]
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.10029110
add esp, 0xc
call fcn.10012350
mov edi, dword [0x10265810]
mov dword [ebp - 4], edi
mov esi, edi
mov dword [esi + 0x4000], 0
mov eax, dword [esi + 0x5f0c]
inc eax
cmp dword [esi + 0x3f38], eax
jne 0x1000b38a
mov ecx, dword [esi + 0x4008]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jne 0x1000b2ac
mov ecx, dword [esi + 0x4018]
mov dword [ebp - 0x1c], ecx
cmp dword [esi + 0x5f14], ecx
je 0x1000b309
lea eax, [esi + 0x5f18]
mov dword [esi + 0x5f14], ecx
mov dword [esi + 0x5f10], 0xffffffff
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
test edx, edx
jns 0x1000b303
mov eax, edx
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x24]
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x5f18]
call fcn.1001e200
mov edi, dword [0x10265810]
lea eax, [esi + 0x5f18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], edi
mov dword [eax], 0
test ecx, ecx
je 0x1000b38a
mov eax, dword [esi + 0x5f10]
test eax, eax
js 0x1000b353
mov edx, eax
cmp eax, dword [esi + 0x5f18]
jge 0x1000b366
mov ebx, dword [esi + 0x5f20]
lea edx, [eax + eax*8]
cmp byte [ebx + edx*8 + 5], 0
mov ebx, dword [ebp - 8]
jne 0x1000b34c
mov edi, dword [esi + 0x5f20]
lea ebx, [eax + eax*8]
mov edx, eax
cmp byte [edi + ebx*8 + 4], 2
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
jle 0x1000b366
inc eax
mov dword [esi + 0x5f10], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x1000b362
mov dword [esi + 0x4000], ecx
jmp 0x1000b38a
test edx, edx
js 0x1000b38a
cmp edx, dword [esi + 0x5f18]
jge 0x1000b38a
mov eax, dword [esi + 0x5f20]
lea ecx, [edx + edx*8]
mov eax, dword [eax + ecx*8]
mov dword [esi + 0x4000], eax
mov eax, dword [esi + 0x5f20]
inc byte [eax + ecx*8 + 4]
movss xmm1, dword [edi + 0x5edc]
xorps xmm0, xmm0
comiss xmm0, xmm1
jae 0x1000b44a
mov ecx, dword [edi + 0x4a0c]
mulss xmm1, dword [0x101349dc]
shl ecx, 4
cvtps2pd xmm0, xmm1
lea eax, [ecx + 0x39a8]
add eax, edi
lea esi, [ecx + edi]
push eax
add edi, ecx
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x10134934]
lea edx, [esi + 0x39a4]
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x39a0]
movaps xmm2, xmm1
mulss xmm0, xmm1
addss xmm0, xmm1
call fcn.10006d50
mov edi, dword [ebp - 4]
xorps xmm1, xmm1
add esp, 4
mov eax, dword [edi + 0x4a0c]
add eax, eax
mov dword [edi + eax*8 + 0x39ac], 0x3f800000
movss xmm0, dword [edi + 0x5edc]
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5edc], xmm0
jb 0x1000b44a
mov eax, dword [edi + 0x4a0c]
cmp eax, 0x36
je 0x1000b440
movups xmm0, xmmword [edi + 0x5ee0]
add eax, 0x39a
add eax, eax
movups xmmword [edi + eax*8], xmm0
mov dword [edi + 0x4a0c], 0x36
mov al, byte [ebx + 0x5ecd]
test al, al
je 0x1000b46f
sub al, 1
mov byte [ebx + 0x5ecd], al
jne 0x1000b46f
mov dword [ebx + 0x4920], 0
mov byte [ebx + 0x5ece], 0
mov al, byte [ebx + 0x5ecc]
test al, al
je 0x1000b4ae
sub al, 1
mov byte [ebx + 0x5ecc], al
jne 0x1000b4ae
push str._Debug_Log:_Auto_disabled_some_ImGuiDebugLogFlags_after_2_frames__n
call fcn.1001cde0
mov eax, dword [ebx + 0x5ec8]
add esp, 4
mov edi, dword [0x10265810]
not eax
and dword [ebx + 0x5ea8], eax
mov dword [ebx + 0x5ec8], 0
mov byte [ebx + 0x3f45], 1
xor edx, edx
or dword [edi + 0x49a0], 2
mov ecx, str.DebugDefault
push 0
mov dword [edi + 0x49c0], 0x43c80000
mov dword [edi + 0x49c4], 0x43c80000
mov dword [edi + 0x49a8], 4
call fcn.1000fb30
add esp, 4
cmp byte [ebx + 0x66], 0
je 0x1000b526
mov cl, byte [ebx + 0x5ed4]
cmp cl, 0xff
jne 0x1000b500
xor edx, edx
jmp 0x1000b529
mov eax, dword [ebx + 0x3f38]
and eax, 0x80000003
jns 0x1000b512
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x1000b529
or dl, 0xff
mov byte [ebx + 0x5ed4], dl
mov eax, dword [ebx + 0x5e44]
mov esi, dword [ebx + 0x5e4c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000b55c
cmp dword [esi + 4], 1
jne 0x1000b555
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b545
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret