Function at 0x10050710
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 [0x101bf8f4]
mov ebx, edi
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx + 0x2f54]
sub eax, 1
mov dword [esp + 0x2c], eax
js 0x100507a0
lea ebp, [eax + eax*4]
shl ebp, 2
nop
mov ecx, dword [ebx + 0x2f5c]
cmp dword [ecx + ebp + 4], 7
jne 0x10050794
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 0x10050740
xor esi, esi
cmp dword [ebx + 0x2f54], esi
jle 0x100507da
xor edi, edi
nop dword [eax]
mov eax, dword [ebx + 0x2f5c]
add eax, edi
cmp dword [eax + 4], 0
jne 0x100507c8
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 0x100507b0
mov edi, dword [0x101bf8f4]
cmp byte [edi + 0xb4], 0
je 0x100507f0
test byte [edi + 0xc], 2
jne 0x100507f0
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 0x10050856
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1005084f
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push eax
call fcn.1004d000
mov edi, eax
add esp, 8
test edi, edi
je 0x10050849
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.1005de90
mov ecx, dword [0x101bf8f4]
test ecx, ecx
je 0x10050843
dec dword [ecx + 0x370]
push edi
call ebp
add esp, 4
mov edi, dword [0x101bf8f4]
mov byte [esi + 0x2f1d], 1
movss xmm0, dword [esi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100508ee
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f20], xmm0
jb 0x100508ee
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x100508dd
lea ecx, [esp + 0x28]
mov dword [edi + 0x2f20], 0
mov dword [esp + 0x28], 0
call fcn.1005e0f0
mov ecx, dword [esp + 0x30]
mov edx, 0x101ada3c
mov dword [esp + 0x34], eax
call fcn.1004cf30
mov edi, eax
test edi, edi
je 0x100508d5
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 [0x101bf8f4]
jmp 0x100508e4
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 0x10050953
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.1005ebf0
mov edi, dword [0x101bf8f4]
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 [0x101b65fc]
movss xmm4, dword [0x101b63d0]
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 0x100509ee
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x100509f1
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 0x10050aec
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 0x10050a30
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x10050b0b
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 0x10050b5d
movss xmm0, dword [eax + 0x28c]
mov eax, dword [eax + 0x328]
mulss xmm0, dword [edi + 0x1944]
test eax, eax
je 0x10050b60
mulss xmm0, dword [eax + 0x28c]
jmp 0x10050b60
movaps xmm0, xmm3
movss xmm4, dword [0x101b66bc]
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 0x10050bf9
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 0x10050bd9
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x10050be1
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x10050be9
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x10050bf1
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x10050bb5
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 0x10050cf7
movss dword [ebx + 0x195c], xmm1
xor esi, esi
nop dword [eax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x10050ccc
movss xmm1, dword [ebx + 0x195c]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x101b63d0]
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_acosf
movss xmm1, dword [0x101b646c]
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 0x10050cbd
mov eax, 4
jmp 0x10050cce
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x10050cce
xor eax, eax
mov byte [esi + ebx + 0x1af8], al
inc esi
cmp esi, 0x40
jl 0x10050c50
movss xmm0, dword [ebx + 0x195c]
mulss xmm0, dword [0x101b65cc]
movss dword [ebx + 0x1af4], xmm0
xor edx, edx
mov dword [ebx + 0x1970], 0
cmp byte [ebx + 0x15e0], dl
je 0x10050d1a
mov dword [ebx + 0x1970], 1
mov edx, 1
cmp byte [ebx + 0x15e1], 0
mov ecx, edx
je 0x10050d3c
mov eax, dword [ebx + 0x193c]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x10050d3c
or ecx, 2
mov dword [ebx + 0x1970], ecx
cmp byte [ebx + 0x15e2], 0
je 0x10050d4e
or ecx, 4
mov dword [ebx + 0x1970], ecx
test byte [ebx + 0xc], 8
je 0x10050d5d
or ecx, 8
mov dword [ebx + 0x1970], ecx
xor esi, esi
cmp dword [ebx + 0x1d38], esi
jle 0x10050d92
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 0x10050d70
cmp byte [ebx + 0x1e88], 0
je 0x10050dc6
mov eax, dword [ebx + 0x1ea0]
cmp eax, dword [ebx + 0x1be0]
jne 0x10050dc6
cmp dword [edi + 0x1be0], eax
jne 0x10050db7
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x10050dc6
mov byte [edi + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
jne 0x10050ddb
mov dword [ebx + 0x1bd8], 0
jmp 0x10050ded
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x10050df7
cmp dword [ebx + 0x1be0], eax
jne 0x10050df7
mov dword [ebx + 0x1bdc], 0
mov eax, dword [ebx + 0x1bcc]
test eax, eax
je 0x10050e31
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], eax
je 0x10050e31
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 0x10050e7c
cmp dword [ebx + 0x1c1c], eax
jne 0x10050e7c
test eax, eax
je 0x10050e7c
call fcn.1004f4c0
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x10050e9b
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 0x10050f05
cmp ecx, eax
je 0x10050f05
mov dword [ebx + 0x2e7c], 0
test ecx, ecx
jne 0x10050f21
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 [0x101b664c]
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 0x10050fd3
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x10050fcc
xorps xmm0, xmm0
jmp 0x10050fd6
addss xmm0, dword [ebx + 0x18]
jmp 0x10050fd6
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10050fb1
call fcn.1005b750
call fcn.1004fce0
call fcn.10050510
mov esi, dword [0x101bf8f4]
mov ecx, dword [esi + 0x1bb8]
test ecx, ecx
je 0x100510f8
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10051024
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x32c]
je 0x100510ec
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x10051049
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x101b66b8]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x100510ec
comiss xmm2, xmm1
jb 0x100510ec
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 0x100510ad
movss xmm0, dword [ecx + 0x18]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x100510d9
test dword [ecx + 0x10], 0x100
jne 0x100510cb
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f20]
jb 0x100510cb
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f20], eax
push 1
lea edx, [esp + 0x38]
call fcn.100581a0
add esp, 4
mov ecx, dword [esi + 0x1bb8]
call fcn.10057d70
mov esi, dword [0x101bf8f4]
jmp 0x10051130
mov dword [esi + 0x1bb8], 0
jmp 0x1005112b
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x10051130
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x70], eax
jne 0x10051130
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x10051122
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x10051130
call fcn.1004f4c0
mov edx, dword [esi + 0x1d20]
sub edx, 1
js 0x1005116b
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 0x10051163
test dword [ecx + 0x10], 0x8000000
jne 0x1005122d
sub eax, 0x24
sub edx, 1
jns 0x10051150
cmp dword [ebx + 0x1e4c], 0
xorps xmm6, xmm6
je 0x10051188
movss xmm0, dword [ebx + 0x1e5c]
comiss xmm0, xmm6
ja 0x10051230
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x101b64c0]
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.10050070
mov esi, dword [0x101bf8f4]
mov edi, dword [esi + 0x1d44]
test edi, edi
je 0x10051252
cmp byte [edi + 0xaa], 0
je 0x10051252
test dword [edi + 0x10], 0x40000
jne 0x10051252
cmp byte [esi + 0xfc], 0
jne 0x10051252
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x10051252
call fcn.10052950
test al, al
je 0x10051252
mov al, 1
jmp 0x10051254
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x101b649c]
addss xmm1, dword [ebx + 0x1e80]
minss xmm1, dword [0x101b63d0]
jmp 0x100511a5
xor al, al
cmp dword [esi + 0x1be0], 0
mov byte [esi + 0x1e7c], al
jne 0x100512ae
test al, al
je 0x100512ae
cmp dword [esi + 0x1d48], 0
mov dword [esi + 0x1e68], edi
mov dword [esi + 0x1e74], 0x7fffffff
je 0x1005129d
mov ecx, dword [esi + 0x1d90]
cmp ecx, 0x7fffffff
je 0x1005129d
movzx eax, byte [esi + 0xfd]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x100512a8
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 0x10051342
mov eax, dword [esi + 0x1e74]
mov dword [esi + 0x1e64], edi
cmp eax, 0x7fffffff
je 0x10051300
mov ecx, dword [edi + 0x1b4]
cmp ecx, 0xffffffff
je 0x10051300
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1e6c], edx
mov eax, dword [esi + 0x1e78]
cmp eax, 0x7fffffff
je 0x10051324
mov ecx, dword [edi + 0x1b8]
cmp ecx, 0xffffffff
je 0x10051324
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 0x1005137a
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x1005137a
movsd xmm1, qword [ebx + 0x1b40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x28], xmm1
jmp 0x10051380
movss xmm1, dword [esp + 0x28]
xor edi, edi
cmp dword [ebx + 0x1b64], edi
je 0x1005150c
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 0x100514f9
cmp byte [esi + 0x36c], cl
jne 0x100514f9
comiss xmm1, dword [esi + 0x26c]
jbe 0x100514f9
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 0x10051437
mov eax, dword [0x101bf8f4]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x10051427
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x294]
call fcn.100602a0
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x1005147f
mov eax, dword [0x101bf8f4]
mov dword [esi + 0x198], 0
mov dword [esi + 0x194], 0
test eax, eax
je 0x1005146f
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 0x100514bc
mov eax, dword [0x101bf8f4]
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
test eax, eax
je 0x100514ac
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 0x100514f9
mov eax, dword [0x101bf8f4]
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1d4], 0
test eax, eax
je 0x100514e9
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 0x10051390
xor ebp, ebp
cmp dword [ebx + 0x1f4c], ebp
jle 0x1005165f
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 0x10051648
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x10051648
mov esi, dword [ebx + 0x1f28]
mov edi, dword [0x101bf8f4]
add esi, ecx
mov dword [esp + 0x34], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x100515a9
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x10051597
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 0x100515ef
mov eax, dword [0x101bf8f4]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x100515dd
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 0x1005161b
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 0x10051602
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 0x10051530
xor ebp, ebp
cmp dword [ebx + 0x1f40], ebp
jle 0x100516ad
xor esi, esi
xorps xmm1, xmm1
nop
mov edi, dword [ebx + 0x1f48]
movss xmm0, dword [edi + esi + 4]
comiss xmm0, xmm1
jb 0x100516a1
movss xmm2, dword [esp + 0x28]
comiss xmm2, xmm0
jbe 0x100516a1
lea ecx, [esi + 0x10]
add ecx, edi
call fcn.10062d30
mov dword [edi + esi + 4], 0xbf800000
xorps xmm1, xmm1
inc ebp
add esi, 0x68
cmp ebp, dword [ebx + 0x1f40]
jl 0x10051670
cmp byte [ebx + 0x1b57], 0
je 0x10051744
mov esi, dword [0x101bf8f4]
mov eax, dword [esi + 0x1d10]
test eax, eax
je 0x100516fe
mov dword [esi + 0x1d0c], 0
mov dword [esi + 0x1d08], 0
test esi, esi
je 0x100516e8
dec dword [esi + 0x370]
mov ebp, dword [esp + 0x2c]
push eax
call ebp
add esp, 4
mov dword [esi + 0x1d10], 0
jmp 0x10051702
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esi + 0x1d1c]
test ecx, ecx
je 0x1005173f
mov eax, dword [0x101bf8f4]
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
test eax, eax
je 0x1005172f
dec dword [eax + 0x370]
push ecx
call ebp
add esp, 4
mov dword [esi + 0x1d1c], 0
call fcn.10068250
mov eax, dword [ebx + 0x1d44]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x100517a8
cmp byte [eax + 0xab], 0
jne 0x100517a8
mov eax, dword [0x101bf8f4]
mov edx, dword [eax + 0x1b70]
sub edx, 1
js 0x100517a1
mov eax, dword [eax + 0x1b78]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x10051799
cmp byte [ecx + 0xab], 0
je 0x10051799
mov eax, dword [ecx + 0x10]
and eax, 0x40200
cmp eax, 0x40200
jne 0x100519ac
sub esi, 4
sub edx, 1
jns 0x10051777
xor ecx, ecx
call fcn.10057d70
mov ecx, dword [ebx + 0x1b8c]
test ecx, ecx
jns 0x100517ce
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.1005f000
mov dword [ebx + 0x1b88], 0
mov ecx, dword [ebx + 0x1d30]
test ecx, ecx
jns 0x100517fe
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.1005ef70
lea esi, [ebx + 0x1d08]
mov dword [ebx + 0x1d2c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005182d
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.1005ebf0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x10051842
push 8
mov ecx, esi
call fcn.1005ebf0
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.1005e9c0
mov ecx, dword [ebx + 0x1d44]
xor dl, dl
call fcn.10059ff0
mov esi, dword [0x101bf8f4]
cmp byte [esi + 0x2f98], 0
mov dword [esi + 0x2f9c], 0
je 0x10051935
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bd0]
mov dword [esi + 0x1e84], 7
test ecx, ecx
js 0x100518ae
call fcn.10052950
test al, al
je 0x100518ae
mov byte [esi + 0x2f98], 0
movss xmm0, dword [esi + 0x408]
ucomiss xmm0, dword [0x101b626c]
lahf
test ah, 0x44
jp 0x100518d4
test edi, edi
je 0x100518d4
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.100592f0
push edi
push str.HoveredId:_0x_08X
call fcn.10069b70
push str.Press_ESC_to_abort_picking.
call fcn.10069b70
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x101bf8f4]
add eax, 0x15ec
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.10069c60
add esp, 8
call fcn.10057b40
mov esi, dword [0x101bf8f4]
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.10055500
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f54], esi
jle 0x100519a4
xor edi, edi
nop
mov eax, dword [ebx + 0x2f5c]
add eax, edi
cmp dword [eax + 4], 1
jne 0x10051998
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 0x10051980
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x338]
test eax, eax
je 0x100519bf
cmp byte [eax + 0xab], 0
jne 0x100519c1
mov eax, ecx
mov ecx, eax
jmp 0x100517a3