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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [0x101c18e4]
mov ebx, edi
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 0x2f54]
sub eax, 1
mov dword [esp + 0x2c], eax
js 0x10050e10
lea ebp, [eax + eax*4]
shl ebp, 2
nop
mov ecx, dword [ebx + 0x2f5c]
cmp dword [ecx + ebp + 4], 7
jne 0x10050e04
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, ebp
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 + 0x2f54]
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 + 0x38]
add esp, 0xc
dec dword [ebx + 0x2f54]
dec eax
sub ebp, 0x14
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x10050db0
xor esi, esi
cmp dword [ebx + 0x2f54], esi
jle 0x10050e4a
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2f5c]
add eax, edi
cmp dword [eax + 4], 0
jne 0x10050e38
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f54]
jl 0x10050e20
mov edi, dword [0x101c18e4]
cmp byte [edi + 0xb4], 0
je 0x10050e60
test byte [edi + 0xc], 2
jne 0x10050e60
mov byte [edi + 0xb4], 0
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, edi
mov dword [esp + 0x2c], ebp
cmp byte [esi + 0x2f1d], 0
jne 0x10050ec6
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10050ebf
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.1004d4b0
mov edi, eax
add esp, 8
test edi, edi
je 0x10050eb9
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.1005ee20
mov ecx, dword [0x101c18e4]
test ecx, ecx
je 0x10050eb3
dec dword [ecx + 0x370]
push edi
call ebp
add esp, 4
mov edi, dword [0x101c18e4]
mov byte [esi + 0x2f1d], 1
movss xmm0, dword [esi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10050f5e
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f20], xmm0
jb 0x10050f5e
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10050f4d
lea ecx, [esp + 0x28]
mov dword [edi + 0x2f20], 0
mov dword [esp + 0x28], 0
call fcn.1005f080
mov ecx, dword [esp + 0x30]
mov edx, 0x101afa54
mov dword [esp + 0x34], eax
call fcn.1004d3e0
mov edi, eax
test edi, edi
je 0x10050f45
push edi
push dword [esp + 0x2c]
push 1
push dword [esp + 0x40]
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 [0x101c18e4]
jmp 0x10050f54
mov byte [esi + 0x358], 1
mov dword [esi + 0x2f20], 0
movss xmm0, dword [ebx + 0x18]
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b54], 1
mov dword [ebx + 0x2eec], 0
mov dword [ebx + 0x1ba0], 0
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2f04]
test ecx, ecx
jns 0x10050fc3
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 + 0x2f00]
call fcn.1005fd60
mov edi, dword [0x101c18e4]
mov dword [ebx + 0x2f00], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x3190]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x101b8584]
movss xmm4, dword [0x101b8358]
subss xmm0, dword [ebx + eax*4 + 0x2fb0]
movss dword [esp + 0x28], xmm2
addss xmm0, dword [ebx + 0x3198]
movss dword [ebx + 0x3198], xmm0
movss dword [ebx + eax*4 + 0x2fb0], xmm1
mov eax, dword [ebx + 0x3190]
inc eax
movss xmm1, dword [ebx + 0x3198]
cdq
idiv ecx
mov eax, dword [ebx + 0x3194]
inc eax
mov dword [ebx + 0x3190], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x3194], ecx
jbe 0x1005105e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x10051061
movaps xmm0, xmm2
movss dword [ebx + 0x35c], xmm0
xor esi, esi
mov eax, dword [edi + 0x1d40]
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 + 0x1d38], esi
jle 0x1005115c
nop
mov eax, dword [edi + 0x1d40]
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 + 0x1d38]
jl 0x100510a0
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x1005117b
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [edi + 0x9c]
mov eax, dword [edi + 0x1bac]
mov dword [edi + 0x193c], esi
mulss xmm0, dword [esi + 0x10]
mulss xmm0, dword [esi + 0x44]
maxss xmm0, xmm4
movss dword [edi + 0x1944], xmm0
test eax, eax
je 0x100511cd
movss xmm0, dword [eax + 0x28c]
mov eax, dword [eax + 0x328]
mulss xmm0, dword [edi + 0x1944]
test eax, eax
je 0x100511d0
mulss xmm0, dword [eax + 0x28c]
jmp 0x100511d0
movaps xmm0, xmm3
movss xmm4, dword [0x101b8644]
movaps xmm7, xmm2
movss dword [edi + 0x1940], xmm0
movaps xmm6, xmm2
mov edx, dword [esi + 0x30]
movaps xmm5, xmm4
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [edi + 0x1948], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x194c], ecx
mov dword [edi + 0x1b38], eax
mov dword [edi + 0x1950], esi
movss dword [edi + 0x1954], xmm0
mov edx, dword [ebx + 0x1d38]
test edx, edx
jle 0x10051269
mov ecx, dword [ebx + 0x1d40]
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 0x10051249
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10051251
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10051259
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10051261
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10051225
movss dword [ebx + 0x1960], xmm7
movss dword [ebx + 0x1964], xmm6
movss dword [ebx + 0x1968], xmm4
movss dword [ebx + 0x196c], xmm5
mov eax, dword [ebx + 0x15e4]
movss xmm1, dword [ebx + 0x15e8]
mov dword [ebx + 0x1958], eax
movss xmm0, dword [ebx + 0x195c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051367
movss dword [ebx + 0x195c], xmm1
xor esi, esi
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1005133c
movss xmm1, dword [ebx + 0x195c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x101b8358]
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_acosf
movss xmm1, dword [0x101b83f4]
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 0x1005132d
mov eax, 4
jmp 0x1005133e
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x1005133e
xor eax, eax
mov byte [esi + ebx + 0x1af8], al
inc esi
cmp esi, 0x40
jl 0x100512c0
movss xmm0, dword [ebx + 0x195c]
mulss xmm0, dword [0x101b8554]
movss dword [ebx + 0x1af4], xmm0
xor edx, edx
mov dword [ebx + 0x1970], 0
cmp byte [ebx + 0x15e0], dl
je 0x1005138a
mov dword [ebx + 0x1970], 1
mov edx, 1
cmp byte [ebx + 0x15e1], 0
mov ecx, edx
je 0x100513ac
mov eax, dword [ebx + 0x193c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x100513ac
or ecx, 2
mov dword [ebx + 0x1970], ecx
cmp byte [ebx + 0x15e2], 0
je 0x100513be
or ecx, 4
mov dword [ebx + 0x1970], ecx
test byte [ebx + 0xc], 8
je 0x100513cd
or ecx, 8
mov dword [ebx + 0x1970], ecx
xor esi, esi
cmp dword [ebx + 0x1d38], esi
jle 0x10051402
nop word [eax + eax]
mov eax, dword [ebx + 0x1d40]
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 + 0x1d38]
jl 0x100513e0
cmp byte [ebx + 0x1e88], 0
je 0x10051436
mov eax, dword [ebx + 0x1ea0]
cmp eax, dword [ebx + 0x1be0]
jne 0x10051436
cmp dword [edi + 0x1be0], eax
jne 0x10051427
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x10051436
mov byte [edi + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x1005144b
mov dword [ebx + 0x1bd8], 0
jmp 0x1005145d
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x10051467
cmp dword [ebx + 0x1be0], eax
jne 0x10051467
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x100514a1
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x100514a1
addss xmm1, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm1
mov dword [ebx + 0x1bd0], eax
mov al, byte [ebx + 0x1bd5]
mov byte [ebx + 0x1bd6], al
mov eax, dword [ebx + 0x1be0]
mov dword [ebx + 0x1bcc], 0
mov word [ebx + 0x1bd4], 0
mov byte [ebx + 0x1bd7], 0
cmp dword [ebx + 0x1be4], eax
je 0x100514ec
cmp dword [ebx + 0x1c1c], eax
jne 0x100514ec
test eax, eax
je 0x100514ec
call fcn.1004fb30
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x1005150b
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1be8]
movss dword [ebx + 0x1be8], xmm0
mov eax, dword [ebx + 0x1c10]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c2c]
mov dword [ebx + 0x1c24], eax
mov al, byte [ebx + 0x1bf0]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2e7c]
movss dword [ebx + 0x1c2c], xmm0
mov dword [ebx + 0x1c1c], ecx
mov dword [ebx + 0x1be4], 0
mov byte [ebx + 0x1bf1], 0
mov byte [ebx + 0x1c20], 0
mov byte [ebx + 0x1bec], 0
test eax, eax
je 0x10051575
cmp ecx, eax
je 0x10051575
mov dword [ebx + 0x2e7c], 0
test ecx, ecx
jne 0x10051591
mov dword [ebx + 0x1bf4], ecx
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1c00], ecx
mov dword [ebx + 0x1c04], ecx
mov eax, dword [ebx + 0x1eec]
mov dword [ebx + 0x1ef0], eax
xor eax, eax
mov dword [ebx + 0x1eec], 0
mov dword [ebx + 0x1ee8], 0x7f7fffff
mov word [ebx + 0x1e89], 0
mov dword [ebx + 0x1ef8], 0
cmp byte [edi + 0xfc], al
movss xmm2, dword [0x101b85d4]
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 + 0xc6c]
cmove eax, edx
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x46c]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp byte [ebx + ecx + 0x100], 0
je 0x10051643
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005163c
xorps xmm0, xmm0
jmp 0x10051646
addss xmm0, dword [ebx + 0x18]
jmp 0x10051646
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10051621
call fcn.1005c6e0
call fcn.10050350
call fcn.10050b80
mov esi, dword [0x101c18e4]
mov ecx, dword [esi + 0x1bb8]
test ecx, ecx
je 0x10051768
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10051694
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x32c]
je 0x1005175c
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x100516b9
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x101b8640]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x1005175c
comiss xmm2, xmm1
jb 0x1005175c
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [ecx + 0x14]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
lahf
test ah, 0x44
jp 0x1005171d
movss xmm0, dword [ecx + 0x18]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10051749
test dword [ecx + 0x10], 0x100
jne 0x1005173b
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f20]
jb 0x1005173b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f20], eax
push 1
lea edx, [esp + 0x38]
call fcn.10059130
add esp, 4
mov ecx, dword [esi + 0x1bb8]
call fcn.10058d00
mov esi, dword [0x101c18e4]
jmp 0x100517a0
mov dword [esi + 0x1bb8], 0
jmp 0x1005179b
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x100517a0
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x70], eax
jne 0x100517a0
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10051792
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x100517a0
call fcn.1004fb30
mov edx, dword [esi + 0x1d20]
sub edx, 1
js 0x100517db
mov eax, dword [esi + 0x1d28]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop word [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100517d3
test dword [ecx + 0x10], 0x8000000
jne 0x1005189d
sub eax, 0x24
sub edx, 1
jns 0x100517c0
cmp dword [ebx + 0x1e4c], 0
xorps xmm6, xmm6
je 0x100517f8
movss xmm0, dword [ebx + 0x1e5c]
comiss xmm0, xmm6
ja 0x100518a0
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101b8448]
movss xmm1, dword [ebx + 0x1e80]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1e80], xmm1
mov dword [ebx + 0x1e84], 0
mov dword [ebx + 0x31a4], 0xffffffff
mov dword [ebx + 0x31a0], 0xffffffff
mov dword [ebx + 0x319c], 0xffffffff
mov dword [ebx + 0x2f0c], 0x3f800000
mov dword [ebx + 0x2f10], 0x3f800000
call fcn.100506e0
mov esi, dword [0x101c18e4]
mov edi, dword [esi + 0x1d44]
test edi, edi
je 0x100518c2
cmp byte [edi + 0xaa], 0
je 0x100518c2
test dword [edi + 0x10], 0x40000
jne 0x100518c2
cmp byte [esi + 0xfc], 0
jne 0x100518c2
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x100518c2
call fcn.100538e0
test al, al
je 0x100518c2
mov al, 1
jmp 0x100518c4
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x101b8424]
addss xmm1, dword [ebx + 0x1e80]
minss xmm1, dword [0x101b8358]
jmp 0x10051815
xor al, al
cmp dword [esi + 0x1be0], 0
mov byte [esi + 0x1e7c], al
jne 0x1005191e
test al, al
je 0x1005191e
cmp dword [esi + 0x1d48], 0
mov dword [esi + 0x1e68], edi
mov dword [esi + 0x1e74], 0x7fffffff
je 0x1005190d
mov ecx, dword [esi + 0x1d90]
cmp ecx, 0x7fffffff
je 0x1005190d
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x10051918
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
mov dword [esi + 0x1e78], eax
mov edi, dword [esi + 0x1e68]
mov dword [esi + 0x1e64], 0
mov dword [esi + 0x1e70], 0x7fffffff
mov dword [esi + 0x1e6c], 0x7fffffff
test edi, edi
je 0x100519b2
mov eax, dword [esi + 0x1e74]
mov dword [esi + 0x1e64], edi
cmp eax, 0x7fffffff
je 0x10051970
mov ecx, dword [edi + 0x1b4]
cmp ecx, 0xffffffff
je 0x10051970
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e6c], edx
mov eax, dword [esi + 0x1e78]
cmp eax, 0x7fffffff
je 0x10051994
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x10051994
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e70], edx
mov dword [esi + 0x1e68], 0
mov dword [esi + 0x1e78], 0x7fffffff
mov dword [esi + 0x1e74], 0x7fffffff
mov dword [esi + 0x1d90], 0x7fffffff
cmp byte [ebx + 0x1b57], 0
jne 0x100519ea
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x100519ea
movsd xmm1, qword [ebx + 0x1b40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x100519f0
movss xmm1, dword [esp + 0x28]
xor edi, edi
cmp dword [ebx + 0x1b64], edi
je 0x10051b7c
nop
mov eax, dword [ebx + 0x1b6c]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0xaa]
mov byte [esi + 0xab], al
mov word [esi + 0xb6], cx
mov byte [esi + 0xaa], cl
mov byte [esi + 0xac], cl
test al, al
jne 0x10051b69
cmp byte [esi + 0x36c], cl
jne 0x10051b69
comiss xmm1, dword [esi + 0x26c]
jbe 0x10051b69
mov ecx, dword [esi + 0x294]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10051aa7
mov eax, dword [0x101c18e4]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x10051a97
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x294]
call fcn.100618a0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x10051aef
mov eax, dword [0x101c18e4]
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x10051adf
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0x19c], 0
mov ecx, dword [esi + 0x1d0]
test ecx, ecx
je 0x10051b2c
mov eax, dword [0x101c18e4]
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
test eax, eax
je 0x10051b1c
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0x1d0], 0
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
je 0x10051b69
mov eax, dword [0x101c18e4]
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1d4], 0
test eax, eax
je 0x10051b59
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0x1dc], 0
movss xmm1, dword [esp + 0x28]
inc edi
cmp edi, dword [ebx + 0x1b64]
jne 0x10051a00
xor ebp, ebp
cmp dword [ebx + 0x1f4c], ebp
jle 0x10051ccf
xor ecx, ecx
xorps xmm1, xmm1
mov dword [esp + 0x30], ecx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x1f54]
movss xmm0, dword [eax + ebp*4]
comiss xmm0, xmm1
jb 0x10051cb8
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x10051cb8
mov esi, dword [ebx + 0x1f28]
mov edi, dword [0x101c18e4]
add esi, ecx
mov dword [esp + 0x34], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x10051c19
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x10051c07
dec dword [edi + 0x370]
push eax
call dword [esp + 0x30]
add esp, 4
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x10051c5f
mov eax, dword [0x101c18e4]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x10051c4d
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x30]
add esp, 4
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x10051c8b
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [eax + ecx - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x10051c72
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
sub esi, dword [edi + 0x1f28]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f54]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [esp + 0x30]
inc ebp
add ecx, 0x1c8
mov dword [esp + 0x30], ecx
cmp ebp, dword [ebx + 0x1f4c]
jl 0x10051ba0
xor ebp, ebp
cmp dword [ebx + 0x1f40], ebp
jle 0x10051d1d
xor esi, esi
xorps xmm1, xmm1
nop
mov edi, dword [ebx + 0x1f48]
movss xmm0, dword [edi + esi + 4]
comiss xmm0, xmm1
jb 0x10051d11
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x10051d11
lea ecx, [esi + 0x10]
add ecx, edi
call fcn.10064330
mov dword [edi + esi + 4], 0xbf800000
xorps xmm1, xmm1
inc ebp
add esi, 0x68
cmp ebp, dword [ebx + 0x1f40]
jl 0x10051ce0
cmp byte [ebx + 0x1b57], 0
je 0x10051db4
mov esi, dword [0x101c18e4]
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x10051d6e
mov dword [esi + 0x1d0c], 0
mov dword [esi + 0x1d08], 0
test esi, esi
je 0x10051d58
dec dword [esi + 0x370]
mov ebp, dword [esp + 0x2c]
push eax
call ebp
add esp, 4
mov dword [esi + 0x1d10], 0
jmp 0x10051d72
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1d1c]
test ecx, ecx
je 0x10051daf
mov eax, dword [0x101c18e4]
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
test eax, eax
je 0x10051d9f
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0x1d1c], 0
call fcn.10069a50
mov eax, dword [ebx + 0x1d44]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x10051e18
cmp byte [eax + 0xab], 0
jne 0x10051e18
mov eax, dword [0x101c18e4]
mov edx, dword [eax + 0x1b70]
sub edx, 1
js 0x10051e11
mov eax, dword [eax + 0x1b78]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10051e09
cmp byte [ecx + 0xab], 0
je 0x10051e09
mov eax, dword [ecx + 0x10]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1005201c
sub esi, 4
sub edx, 1
jns 0x10051de7
xor ecx, ecx
call fcn.10058d00
mov ecx, dword [ebx + 0x1b8c]
test ecx, ecx
jns 0x10051e3e
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 + 0x1b88]
call fcn.10060160
mov dword [ebx + 0x1b88], 0
mov ecx, dword [ebx + 0x1d30]
test ecx, ecx
jns 0x10051e6e
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 + 0x1d2c]
call fcn.100600e0
lea esi, [ebx + 0x1d08]
mov dword [ebx + 0x1d2c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10051e9d
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.1005fd60
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10051eb2
push 8
mov ecx, esi
call fcn.1005fd60
mov ecx, dword [esi]
mov eax, dword [esi + 8]
push 0
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x1d14]
inc dword [esi]
call fcn.1005fb30
mov ecx, dword [ebx + 0x1d44]
xor dl, dl
call fcn.1005af80
mov esi, dword [0x101c18e4]
cmp byte [esi + 0x2f98], 0
mov dword [esi + 0x2f9c], 0
je 0x10051fa5
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bd0]
mov dword [esi + 0x1e84], 7
test ecx, ecx
js 0x10051f1e
call fcn.100538e0
test al, al
je 0x10051f1e
mov byte [esi + 0x2f98], 0
movss xmm0, dword [esi + 0x408]
ucomiss xmm0, dword [0x101b81e8]
lahf
test ah, 0x44
jp 0x10051f44
test edi, edi
je 0x10051f44
mov dword [esi + 0x2f9c], edi
mov byte [esi + 0x2f98], 0
or dword [esi + 0x1c74], 0x40
xor edx, edx
mov dword [esi + 0x1ccc], 0x3f19999a
call fcn.1005a280
push edi
push str.HoveredId:_0x_08X
call fcn.1006b370
push str.Press_ESC_to_abort_picking.
call fcn.1006b370
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x101c18e4]
add eax, 0x15ec
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.1006b460
add esp, 8
call fcn.10058ad0
mov esi, dword [0x101c18e4]
mov byte [ebx + 0x1b55], 1
xor edx, edx
or dword [esi + 0x1c74], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1c94], 0x43c80000
mov dword [esi + 0x1c98], 0x43c80000
mov dword [esi + 0x1c7c], 4
call fcn.10056490
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f54], esi
jle 0x10052014
xor edi, edi
nop
mov eax, dword [ebx + 0x2f5c]
add eax, edi
cmp dword [eax + 4], 1
jne 0x10052008
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f54]
jl 0x10051ff0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x338]
test eax, eax
je 0x1005202f
cmp byte [eax + 0xab], 0
jne 0x10052031
mov eax, ecx
mov ecx, eax
jmp 0x10051e13