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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [0x4756b0]
mov ebx, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 0x2f90]
lea ecx, [ebx + 0x2f98]
sub eax, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
js 0x408383
lea edi, [eax + eax*4]
shl edi, 2
mov ecx, dword [ecx]
cmp dword [ecx + edi + 4], 7
jne 0x408364
mov esi, dword [ebx + 0x2f98]
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 + 0x2f90]
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 + 0x2f90]
dec eax
lea ecx, [ebx + 0x2f98]
sub edi, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x408311
mov edi, dword [0x4756b0]
lea ecx, [ebx + 0x2f98]
jmp 0x408386
mov dword [ebp - 8], ecx
xor esi, esi
cmp dword [ebx + 0x2f90], esi
jle 0x4083bb
xor edi, edi
mov eax, dword [ecx]
add eax, edi
cmp dword [eax + 4], 0
jne 0x4083a9
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
mov ecx, dword [ebp - 8]
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f90]
jl 0x408392
mov edi, dword [0x4756b0]
cmp byte [edi + 0xb4], 0
je 0x4083d1
test byte [edi + 0xc], 2
jne 0x4083d1
mov byte [edi + 0xb4], 0
mov esi, edi
cmp byte [esi + 0x2f59], 0
lea eax, [esi + 0x20]
jne 0x408438
mov ecx, dword [eax]
test ecx, ecx
je 0x408431
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.004054b0
mov edi, eax
add esp, 8
test edi, edi
je 0x408428
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.00416060
mov ecx, dword [0x4756b0]
test ecx, ecx
je 0x408419
dec dword [ecx + 0x36c]
push dword [0x4756a8]
push edi
call fcn.00404c60
add esp, 8
mov edi, dword [0x4756b0]
lea eax, [esi + 0x20]
mov byte [esi + 0x2f59], 1
movss xmm0, dword [esi + 0x2f5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4084c4
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x2f5c], xmm0
jb 0x4084c4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4084b3
lea ecx, [ebp - 4]
mov dword [edi + 0x2f5c], 0
mov dword [ebp - 4], 0
call fcn.00416300
mov ecx, dword [ebp - 0x10]
mov edx, 0x472500
mov dword [ebp - 0xc], eax
call fcn.004053b0
mov edi, eax
test edi, edi
je 0x4084ab
push edi
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
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 [0x4756b0]
jmp 0x4084ba
mov byte [esi + 0x354], 1
mov dword [esi + 0x2f5c], 0
movss xmm0, dword [ebx + 0x18]
xor eax, eax
inc dword [ebx + 0x1b48]
cvtps2pd xmm0, xmm0
mov byte [ebx + 0x1b54], 1
mov word [ebx + 0x2f2a], ax
mov dword [ebx + 0x1b9c], eax
addsd xmm0, qword [ebx + 0x1b40]
movsd qword [ebx + 0x1b40], xmm0
mov ecx, dword [ebx + 0x2f40]
test ecx, ecx
jns 0x408524
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 + 0x2f3c]
call fcn.00417440
mov edi, dword [0x4756b0]
mov dword [ebx + 0x2f3c], 0
mov ecx, 0x78
mov eax, dword [ebx + 0x31e4]
xorps xmm3, xmm3
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x472a70]
movss xmm4, dword [0x472994]
subss xmm0, dword [ebx + eax*4 + 0x3004]
movss dword [ebp - 4], xmm2
addss xmm0, dword [ebx + 0x31ec]
movss dword [ebx + 0x31ec], xmm0
movss dword [ebx + eax*4 + 0x3004], xmm1
mov eax, dword [ebx + 0x31e4]
inc eax
movss xmm1, dword [ebx + 0x31ec]
cdq
idiv ecx
mov eax, dword [ebx + 0x31e8]
inc eax
mov dword [ebx + 0x31e4], edx
cmp eax, ecx
cmovl ecx, eax
comiss xmm1, xmm3
mov dword [ebx + 0x31e8], ecx
jbe 0x4085be
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
jmp 0x4085c1
movaps xmm0, xmm2
movss dword [ebx + 0x358], xmm0
xor esi, esi
mov eax, dword [edi + 0x1d4c]
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 + 0x1d44], esi
jle 0x4086c7
nop
mov eax, dword [edi + 0x1d4c]
movaps xmm2, xmm3
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 xmm0, dword [edx + 0x7c]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x78]
addss xmm1, dword [edx + 4]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
movaps xmm1, xmm3
subss xmm0, dword [edx + 0x78]
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 esi, dword [edi + 0x1d44]
jl 0x408600
movss xmm2, dword [ebp - 4]
mov eax, dword [ebx + 0x98]
mov byte [eax + 0x10], 1
mov esi, dword [edi + 0xa4]
test esi, esi
jne 0x4086e6
mov eax, dword [edi + 0x98]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
mov eax, dword [edi + 0x1ba8]
movaps xmm0, xmm4
mov dword [edi + 0x1940], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [edi + 0x9c]
mulss xmm1, dword [esi + 0x44]
maxss xmm0, xmm1
movss dword [edi + 0x1948], xmm0
test eax, eax
je 0x408733
mulss xmm0, dword [eax + 0x234]
mov eax, dword [eax + 0x2d0]
test eax, eax
je 0x408736
mulss xmm0, dword [eax + 0x234]
jmp 0x408736
movaps xmm0, xmm3
movss xmm4, dword [0x472aa8]
movaps xmm7, xmm2
movss dword [edi + 0x1944], 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 + 0x194c], eax
lea eax, [edx + 0x58]
mov dword [edi + 0x1950], ecx
mov dword [edi + 0x1b3c], eax
mov dword [edi + 0x1954], esi
movss dword [edi + 0x1958], xmm0
mov edx, dword [ebx + 0x1d44]
test edx, edx
jle 0x4087d4
mov ecx, dword [ebx + 0x1d4c]
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 0x4087b4
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x4087bc
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x4087c4
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x4087cc
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x408790
mov eax, dword [ebx + 0x15e8]
movss xmm1, dword [ebx + 0x15ec]
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm5
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebx + 0x195c], eax
movups xmmword [ebx + 0x1964], xmm0
movss xmm0, dword [ebx + 0x1960]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4088f8
movss dword [ebx + 0x1960], xmm1
xor esi, esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x4088b4
movss xmm1, dword [ebx + 0x1960]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x472994]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4729e4]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x4088a5
mov eax, 4
jmp 0x4088b6
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x4088b6
xor eax, eax
mov byte [ebx + esi + 0x1afc], al
inc esi
cmp esi, 0x40
jl 0x408826
movsd xmm0, qword [0x4729a8]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x472994]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x1960]
divss xmm0, xmm1
movss dword [ebx + 0x1af8], xmm0
xor edx, edx
mov dword [ebx + 0x1974], 0
cmp byte [ebx + 0x15e4], dl
je 0x40891b
mov dword [ebx + 0x1974], 1
mov edx, 1
cmp byte [ebx + 0x15e5], 0
mov ecx, edx
je 0x40893d
mov eax, dword [ebx + 0x1940]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x40893d
or ecx, 2
mov dword [ebx + 0x1974], ecx
cmp byte [ebx + 0x15e6], 0
je 0x40894f
or ecx, 4
mov dword [ebx + 0x1974], ecx
test byte [ebx + 0xc], 8
je 0x40895e
or ecx, 8
mov dword [ebx + 0x1974], ecx
xor esi, esi
cmp dword [ebx + 0x1d44], esi
jle 0x408992
nop dword [eax + eax]
mov eax, dword [ebx + 0x1d4c]
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 + 0x1d44]
jl 0x408970
cmp byte [ebx + 0x1ec0], 0
je 0x4089c6
mov eax, dword [ebx + 0x1ed8]
cmp eax, dword [ebx + 0x1be0]
jne 0x4089c6
cmp dword [edi + 0x1be0], eax
jne 0x4089b7
mov dword [edi + 0x1be4], eax
cmp dword [edi + 0x1c1c], eax
jne 0x4089c6
mov byte [edi + 0x1c20], 1
cmp dword [ebx + 0x1bd0], 0
lea eax, [ebx + 0x1bcc]
mov ecx, dword [eax]
jne 0x4089e3
mov dword [ebx + 0x1bd8], 0
jmp 0x4089f3
mov edx, ecx
mov esi, eax
test ecx, ecx
je 0x408a01
cmp dword [ebx + 0x1be0], ecx
jne 0x408a01
mov dword [ebx + 0x1bdc], 0
mov edx, ecx
mov esi, eax
movss xmm1, dword [ebx + 0x18]
test edx, edx
je 0x408a38
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bd8]
movss dword [ebx + 0x1bd8], xmm0
cmp dword [ebx + 0x1be0], edx
je 0x408a38
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1bdc]
movss dword [ebx + 0x1bdc], xmm0
mov al, byte [ebx + 0x1bd5]
movaps xmm2, xmm1
mov byte [ebx + 0x1bd6], al
mov eax, dword [ebx + 0x1be0]
mov dword [ebx + 0x1bd0], edx
mov dword [esi], 0
mov word [ebx + 0x1bd4], 0
mov byte [ebx + 0x1bd7], 0
cmp dword [ebx + 0x1be4], eax
je 0x408a87
cmp dword [ebx + 0x1c1c], eax
jne 0x408a87
test eax, eax
je 0x408a87
call fcn.00406f10
movss xmm2, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1be0]
test ecx, ecx
je 0x408aa4
movaps xmm0, xmm2
addss xmm0, dword [ebx + 0x1be8]
movss dword [ebx + 0x1be8], xmm0
mov eax, dword [ebx + 0x1c10]
addss xmm2, dword [ebx + 0x1c2c]
mov dword [ebx + 0x1c24], eax
mov al, byte [ebx + 0x1bf0]
mov byte [ebx + 0x1c21], al
mov eax, dword [ebx + 0x2ebc]
movss dword [ebx + 0x1c2c], xmm2
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 0x408b09
cmp ecx, eax
je 0x408b09
mov dword [ebx + 0x2ebc], 0
test ecx, ecx
jne 0x408b25
mov dword [ebx + 0x1bf4], ecx
mov dword [ebx + 0x1bf8], ecx
mov dword [ebx + 0x1c00], ecx
mov dword [ebx + 0x1c04], ecx
cmp byte [ebx + 0x1518], 0
mov eax, dword [ebx + 0x1f24]
mov dword [ebx + 0x1f28], eax
mov dword [ebx + 0x1f24], 0
mov dword [ebx + 0x1f20], 0x7f7fffff
mov word [ebx + 0x1ec1], 0
mov dword [ebx + 0x1f30], 0
je 0x408bdc
push 0x200
lea eax, [ebx + 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x474]
mov ecx, 0x200
mov dword [eax + 0x800], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x408b82
mov dword [ebx + 0xfc], ecx
lea eax, [ebx + 0x1474]
mov dword [ebx + 0x380], ecx
mov dword [ebx + 0x37c], ecx
mov ecx, 0x14
nop dword [eax + eax]
mov dword [eax + 0x50], 0xbf800000
lea eax, [eax + 4]
mov dword [eax - 4], 0xbf800000
sub ecx, 1
jne 0x408bc0
mov byte [ebx + 0x1518], cl
xor eax, eax
cmp byte [edi + 0xfc], al
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 + 0xc74]
cmove eax, edx
mov dword [ebx + 0x37c], eax
lea eax, [ebx + 0x474]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp byte [ebx + ecx + 0x100], 0
je 0x408c53
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x408c4c
xorps xmm0, xmm0
jmp 0x408c5b
addss xmm0, dword [ebx + 0x18]
jmp 0x408c5b
movss xmm0, dword [0x472a80]
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x408c31
call fcn.00413780
call fcn.004077d0
call fcn.00408050
mov esi, dword [0x4756b0]
mov ecx, dword [esi + 0x1bb4]
test ecx, ecx
je 0x408d7a
mov eax, dword [esi + 0x1be0]
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x408ca9
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
mov ecx, dword [ecx + 0x2d4]
je 0x408d6e
lea eax, [esi + 0xe4]
mov edx, eax
test eax, eax
jne 0x408cce
lea edx, [esi + 0xe4]
movss xmm0, dword [edx]
movss xmm1, dword [0x472aa4]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x408d6e
comiss xmm2, xmm1
jb 0x408d6e
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x1c08]
movss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 0x1c0c]
ucomiss xmm0, xmm1
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm2
lahf
test ah, 0x44
jp 0x408d30
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x408d5b
test dword [ecx + 8], 0x100
jne 0x408d4e
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2f5c]
jb 0x408d4e
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2f5c], eax
push 1
lea edx, [ebp - 0x20]
call fcn.00410570
add esp, 4
mov ecx, dword [esi + 0x1bb4]
call fcn.00410160
mov esi, dword [0x4756b0]
jmp 0x408db2
mov dword [esi + 0x1bb4], 0
jmp 0x408dad
mov ecx, dword [esi + 0x1c10]
test ecx, ecx
je 0x408db2
mov eax, dword [esi + 0x1be0]
cmp dword [ecx + 0x50], eax
jne 0x408db2
mov dword [esi + 0x1be4], eax
cmp dword [esi + 0x1c1c], eax
jne 0x408da4
mov byte [esi + 0x1c20], 1
cmp byte [esi + 0xec], 0
jne 0x408db2
call fcn.00406f10
mov edx, dword [esi + 0x1d2c]
sub edx, 1
js 0x408deb
mov eax, dword [esi + 0x1d34]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x408de3
test dword [ecx + 8], 0x8000000
jne 0x408e9b
sub eax, 0x24
sub edx, 1
jns 0x408dd0
cmp dword [ebx + 0x1ea0], 0
xorps xmm6, xmm6
je 0x408e08
movss xmm0, dword [ebx + 0x1eb0]
comiss xmm0, xmm6
ja 0x408e9e
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x472a08]
movss xmm1, dword [ebx + 0x1eb8]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1eb8], xmm1
mov dword [ebx + 0x1ebc], 0
mov dword [ebx + 0x31f8], 0xffffffff
mov dword [ebx + 0x31f4], 0xffffffff
mov dword [ebx + 0x31f0], 0xffffffff
mov dword [ebx + 0x2f48], 0x3f800000
mov dword [ebx + 0x2f4c], 0x3f800000
call fcn.00407bb0
cmp byte [ebx + 0x1b57], 0
jne 0x408ec0
movss xmm0, dword [ebx + 0xb8]
comiss xmm6, xmm0
ja 0x408ec0
movsd xmm1, qword [ebx + 0x1b40]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x408ec5
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x4729fc]
addss xmm1, dword [ebx + 0x1eb8]
minss xmm1, dword [0x472994]
jmp 0x408e25
movss xmm1, dword [ebp - 4]
xor edi, edi
cmp dword [ebx + 0x1b60], edi
je 0x409072
mov eax, dword [ebx + 0x1b68]
xor ecx, ecx
mov esi, dword [eax + edi*4]
mov al, byte [esi + 0x8a]
mov byte [esi + 0x8b], al
mov word [esi + 0x96], cx
mov byte [esi + 0x8a], cl
mov byte [esi + 0x8c], cl
test al, al
jne 0x409060
cmp byte [esi + 0x318], cl
jne 0x409060
comiss xmm1, dword [esi + 0x214]
jbe 0x409060
mov ecx, dword [esi + 0x23c]
mov byte [esi + 0x318], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x310], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x314], eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x408f83
mov eax, dword [0x4756b0]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
test eax, eax
je 0x408f6a
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0xcc], 0
mov ecx, dword [esi + 0x23c]
call fcn.0041f800
mov ecx, dword [esi + 0x160]
test ecx, ecx
je 0x408fd4
mov eax, dword [0x4756b0]
mov dword [esi + 0x15c], 0
mov dword [esi + 0x158], 0
test eax, eax
je 0x408fbb
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0x160], 0
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x40901a
mov eax, dword [0x4756b0]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x409001
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x409060
mov eax, dword [0x4756b0]
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
test eax, eax
je 0x409047
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0x194], 0
movss xmm1, dword [ebp - 4]
inc edi
cmp edi, dword [ebx + 0x1b60]
jne 0x408ed3
xor ecx, ecx
mov dword [ebp - 0xc], ecx
cmp dword [ebx + 0x1f94], ecx
jle 0x4091cf
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0x10], edx
nop dword [eax + eax]
mov eax, dword [ebx + 0x1f9c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x4091b6
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x4091b6
mov esi, dword [ebx + 0x1f7c]
mov edi, dword [0x4756b0]
add esi, edx
mov dword [ebp - 0x1c], edi
mov dword [esi + 0x194], 0
mov eax, dword [esi + 0x190]
test eax, eax
je 0x40910e
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
test edi, edi
je 0x4090f5
dec dword [edi + 0x36c]
push dword [0x4756a8]
push eax
call fcn.00404c60
add esp, 8
mov dword [esi + 0x190], 0
mov byte [esi + 0x1bc], 1
mov ecx, dword [esi + 0x174]
test ecx, ecx
je 0x40915b
mov eax, dword [0x4756b0]
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
test eax, eax
je 0x409142
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0x174], 0
xor edx, edx
mov byte [esi + 0x1c6], 1
cmp dword [esi + 0x54], edx
jle 0x409187
xor ecx, ecx
or edi, 0xffffffff
nop
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], di
cmp edx, dword [esi + 0x54]
jl 0x409170
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
sub esi, dword [edi + 0x1f7c]
mov eax, 0x8fb823ef
imul esi
xorps xmm1, xmm1
mov eax, dword [edi + 0x1f9c]
add edx, esi
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 0xc]
inc ecx
add edx, 0x1c8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
cmp ecx, dword [ebx + 0x1f94]
jl 0x409090
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x1f68], eax
jle 0x409223
xor esi, esi
xorps xmm1, xmm1
mov edi, dword [ebx + 0x1f70]
movss xmm0, dword [esi + edi + 4]
comiss xmm0, xmm1
jb 0x409214
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x409214
lea ecx, [edi + 0x10]
add ecx, esi
call fcn.004222b0
mov eax, dword [ebp - 0x10]
xorps xmm1, xmm1
mov dword [esi + edi + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0x10], eax
cmp eax, dword [ebx + 0x1f68]
jl 0x4091e1
cmp byte [ebx + 0x1b57], 0
je 0x4092c2
mov esi, dword [0x4756b0]
mov eax, dword [esi + 0x1d1c]
test eax, eax
je 0x409277
mov dword [esi + 0x1d18], 0
mov dword [esi + 0x1d14], 0
test esi, esi
je 0x40925e
dec dword [esi + 0x36c]
push dword [0x4756a8]
push eax
call fcn.00404c60
add esp, 8
mov dword [esi + 0x1d1c], 0
mov ecx, dword [esi + 0x1d28]
test ecx, ecx
je 0x4092bd
mov eax, dword [0x4756b0]
mov dword [esi + 0x1d24], 0
mov dword [esi + 0x1d20], 0
test eax, eax
je 0x4092a4
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
add esp, 8
mov dword [esi + 0x1d28], 0
call fcn.00428e70
mov eax, dword [ebx + 0x1d50]
mov byte [ebx + 0x1b57], 0
test eax, eax
je 0x409326
cmp byte [eax + 0x8b], 0
jne 0x409326
mov eax, dword [0x4756b0]
mov edx, dword [eax + 0x1b6c]
sub edx, 1
js 0x40931f
mov eax, dword [eax + 0x1b74]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x409317
cmp byte [ecx + 0x8b], 0
je 0x409317
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x4095d6
sub esi, 4
sub edx, 1
jns 0x4092f5
xor ecx, ecx
call fcn.00410160
mov ecx, dword [ebx + 0x1b88]
test ecx, ecx
jns 0x40934c
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 + 0x1b84]
call fcn.004179a0
mov dword [ebx + 0x1b84], 0
mov ecx, dword [ebx + 0x1d3c]
test ecx, ecx
jns 0x40937c
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 + 0x1d38]
call fcn.00417910
lea esi, [ebx + 0x1d14]
mov dword [ebx + 0x1d38], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x409418
mov eax, ecx
xor edi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x409418
mov eax, dword [0x4756b0]
test eax, eax
je 0x4093ba
inc dword [eax + 0x36c]
push dword [0x4756a8]
lea eax, [edi*4]
push eax
call fcn.00404c40
mov edx, dword [esi + 8]
add esp, 8
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x409412
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x409400
mov eax, dword [0x4756b0]
test eax, eax
je 0x409400
dec dword [eax + 0x36c]
push dword [0x4756a8]
push ecx
call fcn.00404c60
mov eax, dword [ebp - 0x1c]
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 4], edi
lea eax, [ebp - 0x1c]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 0x1c], 0
call fcn.004171e0
push 0
lea ecx, [ebx + 0x1d20]
call fcn.00417120
mov esi, dword [0x4756b0]
cmp byte [esi + 0x2fd4], 0
mov dword [esi + 0x2fd8], 0
je 0x409505
mov ecx, dword [esi + 0x6c]
mov edi, dword [esi + 0x1bd0]
mov dword [esi + 0x1ebc], 7
test ecx, ecx
js 0x409481
call fcn.0040b0c0
test al, al
je 0x409481
mov byte [esi + 0x2fd4], 0
movss xmm0, dword [esi + 0x410]
ucomiss xmm0, dword [0x472910]
lahf
test ah, 0x44
jp 0x4094a7
test edi, edi
je 0x4094a7
mov dword [esi + 0x2fd8], edi
mov byte [esi + 0x2fd4], 0
or dword [esi + 0x1c84], 0x40
xor ecx, ecx
mov dword [esi + 0x1cd8], 0x3f19999a
call fcn.004117a0
push edi
push str.HoveredId:_0x_08X
call fcn.00429b70
push str.Press_ESC_to_abort_picking.
call fcn.00429b70
add esp, 0xc
mov ecx, 0x1600
test edi, edi
mov eax, 0x15f0
cmove eax, ecx
add eax, dword [0x4756b0]
push str.Click_to_break_in_debugger_
push eax
call fcn.00429c00
add esp, 8
call fcn.00410080
mov esi, dword [0x4756b0]
lea eax, [esi + 0x1bc8]
lea edi, [esi + 0x2fec]
mov dword [eax], 0
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
inc eax
cmp dword [esi + 0x1b48], eax
jne 0x409610
mov edx, dword [esi + 0x1bd0]
mov dword [ebp - 4], edx
test edx, edx
jne 0x40953f
mov edx, dword [esi + 0x1be0]
mov dword [ebp - 4], edx
cmp dword [edi + 8], edx
je 0x409583
lea eax, [edi + 0xc]
mov dword [edi + 8], edx
mov dword [edi + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40957d
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 + 0xc]
call fcn.00417a20
mov esi, dword [0x4756b0]
lea eax, [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [eax], 0
test edx, edx
je 0x409610
mov eax, dword [edi + 4]
test eax, eax
js 0x4095c8
mov ecx, eax
cmp eax, dword [edi + 0xc]
jge 0x4095f6
mov edx, dword [edi + 0x14]
shl ecx, 6
mov dword [ebp - 0x1c], ecx
cmp byte [ecx + edx + 5], 0
mov edx, dword [ebp - 4]
jne 0x4095c4
mov esi, dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [edi + 0x14]
cmp byte [esi + edx + 4], 2
mov esi, dword [0x4756b0]
mov edx, dword [ebp - 4]
jle 0x4095f6
inc eax
mov dword [edi + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x4095f2
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
jmp 0x409610
mov eax, dword [ecx + 0x2e4]
test eax, eax
je 0x4095e9
cmp byte [eax + 0x8b], 0
jne 0x4095eb
mov eax, ecx
mov ecx, eax
jmp 0x409321
test ecx, ecx
js 0x409610
cmp ecx, dword [edi + 0xc]
jge 0x409610
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x10]
shl ecx, 6
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov eax, dword [edi + 0x14]
inc byte [eax + ecx + 4]
mov byte [ebx + 0x1b55], 1
xor edx, edx
or dword [esi + 0x1c84], 2
mov ecx, str.DebugDefault
push 0
mov dword [esi + 0x1ca4], 0x43c80000
mov dword [esi + 0x1ca8], 0x43c80000
mov dword [esi + 0x1c8c], 4
call fcn.0040d9f0
xor esi, esi
add esp, 4
cmp dword [ebx + 0x2f90], esi
jle 0x409683
xor edi, edi
nop dword [eax]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, edi
cmp dword [eax + 4], 1
jne 0x409677
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x2f90]
jl 0x409660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret