Function at 0x10034ac0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x1d8
mov eax, dword [0x10137008]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], edi
cmp dword [edi + 0x460], 0
jge 0x10034b49
test byte [edi], 2
lea eax, [esp + 0x60]
vxorps xmm0, xmm0, xmm0
mov dword [esp + 0x64], 0xffffffff
lea ecx, [edi + 0x40]
mov dword [esp + 0x68], 0
mov dword [esp + 0x78], 0
vmovss dword [esp + 0x6c], xmm0
vmovss dword [esp + 0x70], xmm0
vmovss dword [esp + 0x74], xmm0
push eax
mov dword [esp + 0x64], 0x1b00d9
je 0x10034b3a
mov dword [esp + 0x64], 0x20002
call fcn.10033f60
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x460], eax
cmp dword [edi + 0x464], 0
jge 0x10034ba4
test byte [edi], 4
jne 0x10034ba4
vxorps xmm0, xmm0, xmm0
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0xffffffff
push eax
lea ecx, [edi + 0x40]
mov dword [esp + 0x6c], 0
vmovss dword [esp + 0x70], xmm0
vmovss dword [esp + 0x74], xmm0
vmovss dword [esp + 0x78], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x64], 0x400041
call fcn.10033f60
mov eax, dword [edi + 0x40]
dec eax
mov dword [edi + 0x464], eax
vxorps xmm0, xmm0, xmm0
mov ecx, edi
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
vmovups xmmword [edi + 0x24], xmm0
call fcn.10030b80
mov ecx, dword [edi + 0x4c]
xor esi, esi
mov byte [esp + 0xa], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], ecx
lea edx, [esi + 8]
test ecx, ecx
jle 0x10034c20
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
test eax, eax
jle 0x10034c20
mov ecx, dword [0x10141c24]
test ecx, ecx
je 0x10034c05
inc dword [ecx + 0x36c]
push dword [0x10141c1c]
imul eax, eax, 0x54
push eax
call fcn.1001a570
add esp, 8
mov dword [esp + 0x2c], eax
mov edx, 8
mov eax, dword [edi + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
jle 0x10034c61
cmp eax, 8
mov ecx, eax
cmovl ecx, edx
test ecx, ecx
jle 0x10034c61
mov eax, dword [0x10141c24]
test eax, eax
je 0x10034c46
inc dword [eax + 0x36c]
push dword [0x10141c1c]
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.1001a570
add esp, 8
mov dword [esp + 0x3c], eax
mov esi, eax
imul ecx, dword [esp + 0x44], 0x54
push ecx
push 0
push dword [esp + 0x34]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x34], 0
cmp dword [edi + 0x4c], 0
jle 0x10034d9e
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x48], eax
add esi, 0x34
nop word [eax + eax]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov edi, dword [edi + 0x54]
add edi, eax
mov dword [esi - 4], 0xffffffff
cmp dword [ecx + 0x34], edx
jle 0x10034def
or eax, 0xffffffff
nop
cmp eax, 0xffffffff
jne 0x10034cfd
mov ecx, dword [ecx + 0x3c]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10034ce7
mov dword [esi - 4], edx
mov eax, edx
jmp 0x10034cea
mov eax, dword [esi - 4]
mov ecx, dword [esp + 0xc]
inc edx
cmp edx, dword [ecx + 0x34]
jl 0x10034cd0
cmp eax, 0xffffffff
je 0x10034def
push dword [ebp + 8]
lea ecx, [esi - 0x34]
push edi
push dword [esp + 0x48]
call fcn.100341b0
test al, al
je 0x10034def
mov eax, dword [edi + 0x40]
mov edx, 0x1011207c
shr eax, 8
and al, 1
or byte [esp + 0xa], al
mov eax, dword [esi - 4]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x30]
test eax, eax
mov dword [esp + 0x10], ecx
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x10034d60
movzx eax, word [edx + 2]
test ax, ax
je 0x10034d5c
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x10034d41
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
inc dword [edx + ecx*8]
mov ecx, dword [esi]
cmp dword [edx + edi*8 + 4], ecx
cmovge ecx, dword [edx + edi*8 + 4]
add eax, 0x78
mov dword [edx + edi*8 + 4], ecx
add esi, 0x54
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], eax
cmp ecx, dword [edi + 0x4c]
jl 0x10034cb0
mov eax, dword [esp + 0x44]
xor edi, edi
mov dword [esp + 0x24], edi
test eax, eax
jle 0x100351a0
mov edx, dword [esp + 0x2c]
add edx, 0x44
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
nop
mov eax, dword [edx - 0x14]
mov esi, dword [edx - 0x10]
mov edi, dword [edx - 4]
add esi, 0x20
sar esi, 5
lea ecx, [eax + eax*2]
mov dword [esp + 0x30], ecx
cmp esi, edi
jle 0x10034e12
test edi, edi
je 0x10034df9
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x10034dfe
mov byte [esp + 0xa], 0
jmp 0x10035e6a
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edx - 8]
push eax
call fcn.1002c3d0
mov edx, dword [esp + 0x20]
lea eax, [esi*4]
mov dword [edx - 8], esi
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x3c]
cmp dword [eax + ecx*8 + 0xc], 0
lea edi, [eax + ecx*8]
jne 0x10034e8d
mov esi, dword [eax + ecx*8 + 4]
mov eax, dword [edi + 0x10]
add esi, 0x20
sar esi, 5
cmp esi, eax
jle 0x10034e71
test eax, eax
je 0x10034e5c
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x10]
jmp 0x10034e61
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
lea ecx, [edi + 0xc]
push eax
call fcn.1002c3d0
lea eax, [esi*4]
mov dword [edi + 0xc], esi
push eax
push 0
push dword [edi + 0x14]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0x18]
mov dword [esp + 0x18], eax
movzx esi, word [eax]
test si, si
je 0x10034f70
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x10034f70
movzx edi, si
cmp edi, eax
ja 0x10034f55
mov edx, dword [esp + 0x3c]
mov esi, edi
mov eax, edi
sar esi, 5
and eax, 0x1f
mov dword [esp + 0x40], eax
mov ecx, dword [edx + ecx*8 + 0x14]
mov edx, 1
shlx eax, edx, eax
mov edx, dword [esp + 0x20]
test dword [ecx + esi*4], eax
jne 0x10034f40
push edi
push dword [edx - 0x2c]
call fcn.10099520
add esp, 8
test eax, eax
je 0x10034f3c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
inc dword [eax - 0xc]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x24]
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc edi
mov ecx, dword [esp + 0x30]
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x10034ec8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x18], eax
movzx esi, word [eax]
test si, si
jne 0x10034eb0
add edx, 0x54
sub dword [esp + 0x10], 1
mov dword [esp + 0x20], edx
jne 0x10034dc0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
add esi, 0x4c
mov dword [esp + 0x34], eax
mov edi, dword [esi - 0x14]
cmp edi, dword [esi]
jle 0x10035008
mov eax, dword [0x10141c24]
test eax, eax
je 0x10034fa7
inc dword [eax + 0x36c]
push dword [0x10141c1c]
mov eax, edi
shl eax, 5
push eax
vzeroupper
call fcn.1001a570
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x40], eax
test edx, edx
je 0x10035003
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x10034ff0
mov eax, dword [0x10141c24]
test eax, eax
je 0x10034ff0
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
mov eax, dword [esp + 0x48]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], edi
mov edx, dword [esi - 8]
mov ecx, dword [esi - 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], edx
lea eax, [edx + ecx*4]
mov ecx, edx
mov dword [esp + 0x5c], eax
cmp edx, eax
jae 0x10035151
mov edx, dword [ecx]
mov dword [esp + 0x54], edx
test edx, edx
je 0x10035142
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
mov eax, 1
shlx eax, eax, edi
test edx, eax
je 0x10035130
mov eax, ecx
mov ecx, dword [esi]
sub eax, dword [esp + 0x40]
shl eax, 3
and eax, 0xffffffe0
add eax, edi
vpxor xmm0, xmm0, xmm0
movzx eax, ax
vmovdqu ymmword [esp + 0x60], ymm0
mov dword [esp + 0x78], eax
mov eax, dword [esi - 4]
cmp eax, ecx
jne 0x10035112
lea edi, [eax + 1]
test ecx, ecx
je 0x10035090
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10035095
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1003510e
mov eax, dword [0x10141c24]
test eax, eax
je 0x100350ad
inc dword [eax + 0x36c]
push dword [0x10141c1c]
mov eax, edi
shl eax, 5
push eax
vzeroupper
call fcn.1001a570
mov edx, dword [esi + 4]
add esp, 8
mov dword [esp + 0x38], eax
test edx, edx
je 0x10035109
mov ecx, dword [esi - 4]
shl ecx, 5
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
je 0x100350f6
mov eax, dword [0x10141c24]
test eax, eax
je 0x100350f6
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [esi + 4], eax
mov dword [esi], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esi - 4]
vmovdqu ymm0, ymmword [esp + 0x60]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
shl eax, 5
add eax, dword [esi + 4]
vmovdqu ymmword [eax], ymm0
inc dword [esi - 4]
inc edi
mov dword [esp + 0x18], edi
cmp edi, 0x20
jb 0x10035040
mov eax, dword [esp + 0x5c]
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x10035027
mov ecx, dword [esi - 8]
test ecx, ecx
je 0x1003518e
mov eax, dword [0x10141c24]
mov dword [esi - 0xc], 0
mov dword [esi - 0x10], 0
test eax, eax
je 0x10035175
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
vzeroupper
call fcn.1001a590
add esp, 8
mov dword [esi - 8], 0
add esi, 0x54
sub dword [esp + 0x34], 1
jne 0x10034f91
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x14], 0
jle 0x100351fd
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add esi, 0x14
mov ecx, dword [esi]
test ecx, ecx
je 0x100351f1
mov eax, dword [0x10141c24]
mov dword [esi - 4], 0
mov dword [esi - 8], 0
test eax, eax
je 0x100351d5
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
vzeroupper
call fcn.1001a590
mov eax, dword [esp + 0x1c]
add esp, 8
mov dword [esi], 0
add esi, 0x18
sub eax, 1
mov dword [esp + 0x14], eax
jne 0x100351b2
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x1003522e
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035214
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push esi
vzeroupper
call fcn.1001a590
add esp, 8
mov dword [esp + 0x3c], 0
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
push edi
vzeroupper
call fcn.10033de0
mov eax, dword [esp + 0x9c]
shl eax, 4
push eax
mov eax, dword [esp + 0xa8]
push 0
push eax
mov dword [esp + 0x4c], eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], eax
mov eax, dword [0x10141c24]
test eax, eax
je 0x100352aa
inc dword [eax + 0x36c]
push dword [0x10141c1c]
push 0x40000
call fcn.1001a570
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x9c]
push eax
call fcn.1002c170
mov ecx, dword [esp + 0x44]
xor eax, eax
vmovss xmm0, dword [0x10133680]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edi
test ecx, ecx
jle 0x1003560a
mov eax, dword [esp + 0xa4]
xor edx, edx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
add esi, 0x48
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x100355db
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [esp + 0x40]
mov dword [esi - 0x20], eax
vmovss xmm1, dword [ecx + 0x44]
vucomiss xmm1, xmm0
mov dword [esp + 0x50], edi
lahf
vmovss dword [esp + 0x38], xmm1
test ah, 0x44
jnp 0x100353a8
mov byte [esp + 0xb], 1
xor edi, edi
nop
vxorpd xmm0, xmm0, xmm0
mov eax, edi
shr eax, 0x1f
vcvtsi2sd xmm0, xmm0, edi
vaddsd xmm0, xmm0, qword [eax*8 + 0x10133ac0]
vcvtsd2ss xmm0, xmm0, xmm0
vmulss xmm0, xmm0, xmm1
call fcn.100efd90
vmovss xmm1, dword [esp + 0x38]
mov edx, 0xff
movzx ecx, al
cmp eax, edx
cmovbe edx, ecx
mov byte [esp + edi + 0xd8], dl
inc edi
cmp edi, 0x100
jb 0x10035360
jmp 0x100353ad
mov byte [esp + 0xb], 0
cmp dword [esi], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], 0
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
jle 0x100355d7
xor ecx, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], ecx
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.10099520
add esp, 8
test eax, eax
je 0x100355b6
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.10099e00
add esp, 0xc
test eax, eax
jne 0x100355b6
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov eax, dword [esi - 0x2c]
mov dword [esp + 0x10], ecx
test al, 0x20
je 0x1003542a
push ecx
call fcn.100a0a60
mov eax, dword [esi - 0x2c]
add esp, 4
mov ecx, dword [esp + 0x10]
test al, 0x40
je 0x10035437
push ecx
call fcn.100a0b60
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0x18
je 0x100355b6
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [esp + 0x40], eax
call fcn.1009c0e0
add esp, 8
test eax, eax
jne 0x100355b6
mov eax, dword [esi - 0x30]
vxorps xmm0, xmm0, xmm0
mov eax, dword [eax + 0x54]
add eax, 0x4c
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
mov dword [edi], ecx
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [edi + 4], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x64]
mov dword [edi + 8], eax
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x68]
neg eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 6
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [esp + 0x10]
vmovss dword [edi + 0x10], xmm0
cmp byte [eax + 0x12], 7
sete al
mov byte [edi + 0x14], al
mov eax, dword [esp + 0x18]
imul eax, ecx
shl eax, 2
mov dword [esp + 0x18], eax
add eax, edx
cmp eax, 0x40000
jle 0x1003553c
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [0x10141c24]
test eax, eax
je 0x100354f8
inc dword [eax + 0x36c]
push dword [0x10141c1c]
push 0x40000
call fcn.1001a570
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x9c]
push eax
call fcn.1002c170
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
jmp 0x10035544
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [esp + 0xd8]
add ecx, edx
add edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
xor edx, edx
cmp byte [esp + 0xb], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [esp + 0x1c]
call fcn.100343b0
mov eax, dword [esp + 0x54]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [esp + 0x24]
mov word [esi + eax + 4], cx
mov esi, dword [esp + 0x58]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [esp + 0x24]
mov eax, dword [esi - 0x20]
mov word [edx + eax + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
imul ecx, eax
add dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
inc eax
add dword [esp + 0x24], 0x10
add ecx, 0x20
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
cmp eax, dword [esi]
jl 0x100353d7
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
add esi, 0x54
vmovss xmm0, dword [0x10133680]
mov edi, dword [esp + 0x50]
add edx, 0x78
sub dword [esp + 0x28], 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], edx
jne 0x10035321
mov eax, dword [esp + 0x1c]
jmp 0x10035620
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0xc]
mov esi, dword [edi + 8]
mov dword [edi + 0x20], 0
test esi, esi
jg 0x1003569b
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vcvtss2sd xmm0, xmm0, xmm0
vxorpd xmm1, xmm1, xmm1
vucomisd xmm1, xmm0
ja 0x1003564e
vsqrtsd xmm0, xmm0, xmm0
jmp 0x10035653
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vcvtsd2ss xmm0, xmm0, xmm0
vcvttss2si eax, xmm0
inc eax
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vcomiss xmm0, dword [0x10133840]
jb 0x10035675
mov esi, 0x1000
jmp 0x1003569b
vcomiss xmm0, dword [0x1013383c]
jb 0x10035686
mov esi, 0x800
jmp 0x1003569b
vcomiss xmm0, dword [0x10133828]
mov esi, 0x200
mov eax, 0x400
cmovae esi, eax
mov dword [edi + 0x1c], esi
xor ecx, ecx
sub esi, dword [edi + 0xc]
mov dword [esp + 0x38], ecx
test esi, esi
jle 0x100356e4
cmp esi, 8
mov eax, esi
mov edx, 8
cmovl eax, edx
test eax, eax
jle 0x100356e4
mov ecx, dword [0x10141c24]
test ecx, ecx
je 0x100356cc
inc dword [ecx + 0x36c]
push dword [0x10141c1c]
shl eax, 3
push eax
call fcn.1001a570
add esp, 8
mov dword [esp + 0x38], eax
mov ecx, eax
mov edx, dword [edi + 0x1c]
push esi
push ecx
push ecx
lea ecx, [esp + 0xb4]
call fcn.100348c0
add esp, 0xc
mov dword [esp + 0xa0], 0
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
push dword [edi + 0x40]
call fcn.10033de0
mov edi, dword [esp + 0x9c]
mov eax, edi
shl eax, 4
push eax
push 0
push dword [esp + 0xac]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
xor esi, esi
add esp, 0xc
cmp dword [eax + 0x40], esi
jle 0x1003578b
mov edx, dword [esp + 0xa4]
xor ecx, ecx
add edx, 6
mov edi, eax
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x10035760
mov edi, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
push edi
call fcn.1002cd00
add esp, 4
test edi, edi
jle 0x100357fe
mov edx, dword [esp + 0xa4]
xor esi, esi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x100357f3
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx - 2]
mov word [esi + ecx + 4], ax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x48]
movzx eax, word [edx]
mov word [esi + ecx + 6], ax
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x100357b2
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x10035828
mov ecx, dword [0x10141c24]
test ecx, ecx
je 0x10035819
dec dword [ecx + 0x36c]
push dword [0x10141c1c]
push eax
call fcn.1001a590
add esp, 8
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x1003589c
mov esi, dword [esp + 0x2c]
add esi, 0x38
mov dword [esp + 0x50], eax
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x10035892
mov edx, dword [esi - 0x10]
lea ecx, [esp + 0xa8]
push eax
call fcn.1002cd00
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x10035892
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [edx + eax + 0xc], 0
je 0x1003588a
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovge ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x10035861
add esi, 0x54
sub dword [esp + 0x50], 1
jne 0x10035840
mov edi, dword [esp + 0xc]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x100358cd
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
vmovss xmm2, dword [0x10133680]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 0x1c]
vdivss xmm1, xmm2, xmm0
lea esi, [eax + 1]
mov eax, dword [0x10141c24]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
mov dword [edi + 0x20], esi
imul esi, dword [edi + 0x1c]
cmp byte [esp + 0xa], 0
vdivss xmm0, xmm2, xmm0
vmovss dword [edi + 0x24], xmm1
vmovss dword [edi + 0x28], xmm0
je 0x1003592c
shl esi, 2
test eax, eax
je 0x1003591b
inc dword [eax + 0x36c]
push dword [0x10141c1c]
push esi
call fcn.1001a570
mov dword [edi + 0x18], eax
jmp 0x10035945
test eax, eax
je 0x10035936
inc dword [eax + 0x36c]
push dword [0x10141c1c]
push esi
call fcn.1001a570
mov dword [edi + 0x14], eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x58]
xor al, al
add esp, 0x14
mov byte [esp + 0xb], al
test ecx, ecx
jle 0x10035d07
mov eax, dword [esp + 0x2c]
xor edx, edx
add eax, 8
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], ecx
nop dword [eax + eax]
cmp dword [eax + 0x30], 0
je 0x10035ce8
mov ecx, dword [edi + 0x54]
vmovss xmm0, dword [eax - 4]
add ecx, edx
vmovss dword [esp + 0x28], xmm0
vmovss xmm0, dword [eax]
mov dword [esp + 0x50], ecx
cmp byte [ecx + 0x3c], 0
mov esi, dword [ecx + 0x74]
mov dword [esp + 0x94], esi
vmovss dword [esp + 0x4c], xmm0
jne 0x100359e9
mov ecx, esi
call fcn.10031ce0
mov ecx, dword [esp + 0x50]
vmovss xmm0, dword [esp + 0x28]
vmovss xmm1, dword [esp + 0x4c]
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edi
vmovss dword [esi + 0x48], xmm0
vmovss dword [esi + 0x4c], xmm1
jmp 0x100359f2
movzx eax, word [esi + 0x38]
vmovss xmm0, dword [esi + 0x48]
vaddss xmm0, xmm0, dword [0x10133618]
inc eax
mov dword [esp + 0x58], 0
mov word [esi + 0x38], ax
vmovss xmm1, dword [ecx + 0x28]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [edi + 0xc]
vaddss xmm2, xmm0, dword [ecx + 0x2c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
vmovss dword [esp + 0x24], xmm1
vmovss dword [esp + 0x18], xmm2
cmp dword [eax + 0x30], 0
jle 0x10035cd9
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], edx
nop dword [eax]
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x10035a6c
cmp word [eax + 6], 0
je 0x10035cad
movzx esi, word [eax + 8]
sub esp, 0x20
add esi, dword [esp + 0xb0]
movzx eax, word [eax + 0xa]
add eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x2c]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 8]
vaddss xmm3, xmm0, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 0xc]
vaddss xmm4, xmm0, xmm2
vmovss xmm0, dword [edi + 0x10]
vmovss dword [esp + 0x1c], xmm0
vxorps xmm0, xmm0, xmm0
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
add eax, dword [edi + 4]
vcvtsi2ss xmm0, xmm0, eax
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [edx + 0x20]
mov edx, dword [edi]
vdivss xmm0, xmm0, xmm1
vmovss dword [esp + 0x18], xmm0
vxorps xmm0, xmm0, xmm0
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, dword [esi + 0x1c]
mov esi, dword [esp + 0x3c]
lea eax, [edx + esi]
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm0, xmm0, xmm2
vmovss dword [esp + 0x14], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [esp + 0x48]
vdivss xmm0, xmm0, xmm1
vmovss dword [esp + 0x10], xmm0
movzx eax, word [edi + 0x18]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
mov esi, dword [esp + 0xb4]
mov ecx, esi
vdivss xmm0, xmm0, xmm2
vmovss dword [esp + 0xc], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [edi + 4]
vaddss xmm0, xmm0, xmm4
vmovss dword [esp + 8], xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edx
vaddss xmm0, xmm0, xmm3
vmovss dword [esp + 4], xmm0
vmovss dword [esp], xmm4
push eax
push dword [esp + 0x74]
call fcn.10032330
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x10035b7c
or dword [ecx + eax*8 - 0x28], 1
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0xc]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x4c], eax
imul eax, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x10035c12
add eax, ecx
add eax, dword [esp + 0x1c]
cmp dword [edi + 4], 0
mov dword [esp + 0x1c], eax
jle 0x10035ca1
lea ecx, [edx*4]
mov dword [esp + 0x8c], ecx
xor ecx, ecx
test edx, edx
jle 0x10035bec
add esi, 3
nop
mov edx, dword [esp + 0x1c]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x10035bd0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x4c]
inc ecx
add esi, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
cmp ecx, dword [edi + 4]
jl 0x10035bc6
jmp 0x10035ca1
mov ecx, dword [esp + 0x1c]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x1c], ecx
jle 0x10035ca1
mov eax, dword [esp + 0x4c]
shl eax, 2
mov dword [esp + 0x4c], eax
lea eax, [edx*4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
nop dword [eax]
xor esi, esi
test edx, edx
jle 0x10035c80
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [eax + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [esp + 0x8c]
cmp esi, edx
jl 0x10035c61
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add ecx, dword [esp + 0x4c]
inc esi
add eax, dword [esp + 0x98]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
cmp esi, dword [edi + 4]
jl 0x10035c50
vmovss xmm2, dword [esp + 0x18]
vmovss xmm1, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
inc ecx
add dword [esp + 0x34], 0x20
add dword [esp + 0x48], 0x10
mov edx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x48]
jl 0x10035a50
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ecx
jne 0x10035980
mov al, byte [esp + 0xb]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [esp + 0x30], esi
jle 0x10035d46
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x10035d2c
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035d2c
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
inc esi
add esp, 8
cmp esi, dword [esp + 0x30]
jl 0x10035d16
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x10035dbe
mov esi, dword [esp + 0x2c]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10035d7a
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035d6b
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10035d9f
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035d90
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov eax, dword [esi]
test eax, eax
je 0x10035db4
push eax
call fcn.100990c0
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [esp + 0x44], 1
jne 0x10035d55
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x10035dec
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035dd5
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push esi
call fcn.1001a590
add esp, 8
mov dword [esp + 0x2c], 0
mov ecx, edi
call fcn.100319f0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0xa], 1
test ecx, ecx
je 0x10035e1e
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035e0f
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10035e44
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035e35
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x10035e6a
mov eax, dword [0x10141c24]
test eax, eax
je 0x10035e5b
dec dword [eax + 0x36c]
push dword [0x10141c1c]
push ecx
call fcn.1001a590
add esp, 8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10035e91
mov ecx, dword [0x10141c24]
test ecx, ecx
je 0x10035e82
dec dword [ecx + 0x36c]
push dword [0x10141c1c]
push eax
call fcn.1001a590
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10035eb8
mov ecx, dword [0x10141c24]
test ecx, ecx
je 0x10035ea9
dec dword [ecx + 0x36c]
push dword [0x10141c1c]
push eax
call fcn.1001a590
add esp, 8
mov ecx, dword [esp + 0x1dc]
mov al, byte [esp + 0xa]
pop edi
pop esi
xor ecx, esp
call fcn.100eeb4d
mov esp, ebp
pop ebp
ret