Function at 0x100bd960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5597
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x1039b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x1a4], ecx
cmp dword [esi + 0x460], 0
jge 0x100bda26
test byte [esi], 2
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0xffffffff
lea ecx, [esi + 0x40]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
push eax
mov dword [ebp - 0x1d4], 0x1b00f5
je 0x100bda17
mov dword [ebp - 0x1d4], 0x20002
call fcn.100da380
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x460], eax
cmp dword [esi + 0x464], 0
jge 0x100bda93
test byte [esi], 4
jne 0x100bda93
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0xffffffff
push eax
lea ecx, [esi + 0x40]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1d4], 0x400041
call fcn.100da380
mov eax, dword [esi + 0x40]
dec eax
mov dword [esi + 0x464], eax
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.100d7770
xor eax, eax
mov byte [ebp - 0x155], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1e0], edi
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x4c]
mov edx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x170], 8
mov dword [ebp - 0x174], edx
test ecx, ecx
jle 0x100bdb7b
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x170]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x100bdb7b
mov ecx, dword [0x1039da5c]
test ecx, ecx
je 0x100bdb4e
inc dword [ecx + 0xa8]
imul eax, eax, 0x54
push eax
call edx
mov ecx, dword [ebp - 0x160]
add esp, 4
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x1f0], ecx
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f4], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x17c], ecx
test ecx, ecx
jle 0x100bdbe0
cmp ecx, 8
mov eax, ecx
cmovl eax, dword [ebp - 0x170]
mov dword [ebp - 0x160], eax
test eax, eax
jle 0x100bdbe0
mov ecx, dword [0x1039da5c]
test ecx, ecx
je 0x100bdbb4
inc dword [ecx + 0xa8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call edx
mov ecx, dword [ebp - 0x17c]
mov edi, eax
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], ecx
imul ecx, dword [ebp - 0x19c], 0x54
push ecx
push 0
push dword [ebp - 0x184]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x17c]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x194], eax
jle 0x100bdd77
mov esi, dword [ebp - 0x184]
xor edx, edx
mov ecx, dword [ebp - 0x164]
add esi, 0x34
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], esi
mov eax, dword [ecx + 0x54]
add eax, edx
mov dword [esi - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x170], eax
cmp dword [ecx + 0x34], edx
jle 0x100bdde7
mov edi, dword [ebp - 0x188]
or esi, 0xffffffff
mov ecx, esi
cmp esi, 0xffffffff
jne 0x100bdcab
mov ecx, dword [ebp - 0x164]
or esi, esi
mov eax, dword [eax + 0x74]
mov ecx, dword [ecx + 0x3c]
cmp eax, dword [ecx + edx*4]
jne 0x100bdc97
mov dword [edi - 4], edx
mov esi, edx
mov eax, dword [ebp - 0x164]
inc edx
mov ecx, esi
cmp edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x170]
jl 0x100bdc78
mov edi, dword [ebp - 0x190]
cmp ecx, 0xffffffff
je 0x100bdde7
push dword [ebx + 8]
mov esi, dword [ebp - 0x188]
push eax
push dword [ebp - 0x1a4]
lea ecx, [esi - 0x34]
call fcn.100bcbd0
test al, al
je 0x100bdde7
mov ecx, dword [ebp - 0x170]
mov edx, 0x10388b70
mov eax, dword [ecx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x155], al
mov eax, dword [esi - 4]
lea eax, [eax + eax*2]
mov dword [ebp - 0x160], eax
mov eax, dword [ecx + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x100bdd2b
movzx eax, word [edx + 2]
test ax, ax
je 0x100bdd2b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x100bdd10
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x178]
inc dword [edi + edx*8]
mov ecx, dword [esi]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
inc eax
mov dword [edi + edx*8 + 4], ecx
add esi, 0x54
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x18c]
add edx, 0x78
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x18c], edx
cmp eax, dword [ecx + 0x4c]
jl 0x100bdc52
mov eax, dword [ebp - 0x19c]
xor esi, esi
mov dword [ebp - 0x16c], esi
test eax, eax
jle 0x100be1b5
mov edx, dword [ebp - 0x184]
add edx, 0x44
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x15c], edx
mov eax, dword [edx - 0x14]
mov ecx, dword [edx - 0x10]
add ecx, 0x20
sar ecx, 5
lea esi, [eax + eax*2]
mov dword [ebp - 0x1a4], ecx
mov eax, dword [edx - 4]
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x160], eax
cmp ecx, eax
jle 0x100bde35
test eax, eax
je 0x100bddf3
cdq
sub eax, edx
mov edx, dword [ebp - 0x15c]
sar eax, 1
add eax, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
jmp 0x100bddfd
mov byte [ebp - 0x155], 0
jmp 0x100befdb
mov dword [ebp - 0x170], 8
cmp dword [ebp - 0x170], ecx
lea eax, [edx - 8]
mov dword [ebp - 0x178], eax
mov eax, ecx
cmovg eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x178]
push eax
call fcn.100bf2b0
mov edx, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x178]
jmp 0x100bde38
lea eax, [edx - 8]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [edx]
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi*8 + 0xc]
add esp, 0xc
add ecx, edi
mov dword [ebp - 0x170], ecx
cmp dword [ecx], 0
jne 0x100bdec1
mov esi, dword [edi + esi*8 + 4]
mov eax, dword [ecx + 4]
add esi, 0x20
sar esi, 5
mov dword [ebp - 0x160], eax
cmp esi, eax
jle 0x100bdeaa
test eax, eax
je 0x100bde8c
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x160]
jmp 0x100bde91
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x170]
push eax
call fcn.100bf2b0
mov ecx, dword [ebp - 0x170]
lea eax, [esi*4]
mov dword [ecx], esi
push eax
push 0
push dword [ecx + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx - 0x18]
mov dword [ebp - 0x1a8], eax
cmp word [eax], 0
je 0x100bdfb7
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x100bdfb1
movzx edi, word [eax]
cmp edi, ecx
ja 0x100bdf98
nop dword [eax + eax]
mov eax, dword [ebp - 0x188]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x190]
sar esi, 5
mov dword [ebp - 0x160], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x100bdf7f
mov eax, dword [ebp - 0x15c]
push edi
push dword [eax - 0x2c]
call fcn.10127710
mov edx, dword [ebp - 0x15c]
add esp, 8
test eax, eax
je 0x100bdf85
inc dword [edx - 0xc]
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x190]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 0x190]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x188]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x16c]
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1a8]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jle 0x100bdf00
mov eax, dword [ebp - 0x1a8]
add eax, 4
mov dword [ebp - 0x1a8], eax
cmp word [eax], 0
jne 0x100bdee0
mov edi, dword [ebp - 0x190]
add edx, 0x54
sub dword [ebp - 0x18c], 1
mov dword [ebp - 0x15c], edx
jne 0x100bdda2
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x19c]
add edx, 0x50
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x178], eax
mov esi, dword [edx - 0x18]
cmp esi, dword [edx - 4]
jle 0x100be067
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100bdfff
inc dword [eax + 0xa8]
mov eax, esi
shl eax, 5
push eax
call dword [ebp - 0x174]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [ebp - 0x160], eax
mov edi, dword [edx]
test edi, edi
je 0x100be062
mov ecx, dword [edx - 8]
shl ecx, 5
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0x15c]
add esp, 0xc
mov ecx, dword [edx]
test ecx, ecx
je 0x100be04c
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be04c
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 0x194]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov eax, dword [ebp - 0x160]
mov dword [edx], eax
mov dword [edx - 4], esi
mov ecx, dword [edx - 0xc]
mov esi, ecx
mov eax, dword [edx - 0x14]
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x170], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1b0], eax
cmp ecx, eax
jae 0x100be156
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x160], eax
test eax, eax
je 0x100be141
xor edi, edi
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [ebp - 0x160], eax
je 0x100be137
mov ecx, dword [edx - 8]
mov eax, esi
sub eax, dword [ebp - 0x1a4]
lea esi, [edx - 8]
shl eax, 3
xorps xmm0, xmm0
and eax, 0xffffffe0
add eax, edi
movzx eax, ax
movups xmmword [ebp - 0x1c8], xmm0
mov dword [ebp - 0x1c0], eax
mov eax, dword [edx - 4]
cmp ecx, eax
jne 0x100be117
inc ecx
test eax, eax
je 0x100be0fc
cdq
sub eax, edx
mov edx, dword [ebp - 0x15c]
sar eax, 1
add eax, dword [edx - 4]
jmp 0x100be101
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100bf230
mov edx, dword [ebp - 0x15c]
xorps xmm0, xmm0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
shl eax, 5
movups xmmword [ecx + eax], xmm0
movups xmm0, xmmword [ebp - 0x1c8]
movups xmmword [ecx + eax + 0x10], xmm0
inc dword [esi]
mov esi, dword [ebp - 0x170]
inc edi
cmp edi, 0x20
jb 0x100be0a2
add esi, 4
mov dword [ebp - 0x170], esi
cmp esi, dword [ebp - 0x1b0]
jb 0x100be090
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x100be191
mov eax, dword [0x1039da5c]
mov dword [edx - 0x10], 0
mov dword [edx - 0x14], 0
test eax, eax
je 0x100be17a
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 0x194]
mov edx, dword [ebp - 0x15c]
add esp, 4
mov dword [edx - 0xc], 0
add edx, 0x54
sub dword [ebp - 0x178], 1
mov dword [ebp - 0x15c], edx
jne 0x100bdfe8
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x16c]
jmp 0x100be1bd
xor esi, esi
mov dword [ebp - 0x16c], esi
cmp dword [ebp - 0x17c], 0
jle 0x100be22f
mov esi, dword [ebp - 0x194]
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x170], eax
nop dword [eax + eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x100be215
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be203
dec dword [eax + 0xa8]
push ecx
call esi
mov eax, dword [ebp - 0x170]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x170], eax
sub edi, 1
jne 0x100be1e0
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x16c]
test edi, edi
je 0x100be26e
mov eax, dword [0x1039da5c]
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e8], 0
test eax, eax
je 0x100be256
dec dword [eax + 0xa8]
push edi
call dword [ebp - 0x194]
add esp, 4
xor eax, eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x208], eax
test esi, esi
jle 0x100be2cb
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100be2cb
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be2aa
inc dword [eax + 0xa8]
mov eax, edi
shl eax, 4
push eax
call dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x210], esi
shl esi, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov edi, dword [ebp - 0x174]
mov byte [ebp - 4], 7
mov eax, dword [0x1039da5c]
push 0x40000
test eax, eax
je 0x100be312
inc dword [eax + 0xa8]
call edi
mov esi, eax
add esp, 4
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be328
inc dword [eax + 0xa8]
push 0x20
call edi
movss xmm0, dword [0x1038d99c]
xor ecx, ecx
mov dword [ebp - 0x188], eax
xor edi, edi
mov dword [ebp - 0x11c], eax
add esp, 4
mov dword [eax], esi
mov eax, 1
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x120], 8
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x1ac], edi
test eax, eax
jle 0x100be6de
mov esi, dword [ebp - 0x184]
xor edx, edx
add esi, 0x48
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x180], esi
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [esi - 0x10]
test edx, edx
je 0x100be6a5
mov eax, edi
add edi, edx
shl eax, 4
add eax, dword [ebp - 0x170]
mov dword [esi - 0x20], eax
movss xmm1, dword [ecx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x1ac], edi
movss dword [ebp - 0x160], xmm1
lahf
test ah, 0x44
jnp 0x100be430
mov byte [ebp - 0x165], 1
xor edi, edi
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1038e2d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.1019ea00
movss xmm1, dword [ebp - 0x160]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + edi - 0x118], dl
inc edi
cmp edi, 0x100
jb 0x100be3e6
jmp 0x100be437
mov byte [ebp - 0x165], 0
cmp dword [esi], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x18c], 0
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1a0], ecx
jle 0x100be6a5
xor ecx, ecx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x1b4], ecx
nop dword [eax + eax]
mov edi, dword [esi + 8]
add edi, ecx
push dword [edi + 0x18]
push dword [esi - 0x30]
call fcn.10127710
add esp, 8
test eax, eax
je 0x100be674
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.10128110
add esp, 0xc
test eax, eax
jne 0x100be674
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x178], eax
je 0x100be4c3
push eax
call fcn.1012f540
mov eax, dword [ebp - 0x178]
add esp, 4
test byte [esi - 0x2c], 0x40
je 0x100be4d2
push eax
call fcn.1012f640
add esp, 4
mov eax, dword [ebp - 0x178]
add eax, 0x18
je 0x100be674
mov eax, dword [esi - 0x30]
push dword [esi - 0x24]
mov eax, dword [eax + 0x54]
push eax
mov dword [ebp - 0x160], eax
call fcn.1012a490
add esp, 8
test eax, eax
jne 0x100be674
mov eax, dword [esi - 0x30]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + 0x50]
add ecx, 0x4c
mov dword [edi], eax
mov dword [ebp - 0x1b0], ecx
mov eax, dword [ecx]
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 [ebp - 0x160]
mov eax, dword [eax + 0x40]
add eax, 0x3f
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
cmp byte [ecx + 0x12], 7
sete al
mov byte [edi + 0x14], al
test ecx, ecx
je 0x100be674
mov eax, dword [edi + 4]
imul eax, dword [edi]
mov edx, dword [ebp - 0x17c]
shl eax, 2
mov dword [ebp - 0x1a4], eax
add eax, edx
cmp eax, 0x40000
jle 0x100be5e5
xor eax, eax
mov dword [ebp - 0x17c], eax
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be59f
inc dword [eax + 0xa8]
push 0x40000
call dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x124]
push eax
call fcn.100bf180
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x1a8], ecx
jmp 0x100be5f1
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x1a8]
mov ecx, dword [eax + ecx*4 - 4]
lea eax, [ebp - 0x118]
add ecx, edx
add edx, dword [ebp - 0x1a4]
mov dword [ebp - 0x17c], edx
xor edx, edx
cmp byte [ebp - 0x165], dl
mov dword [edi + 0x1c], ecx
cmove eax, edx
push eax
push dword [edi]
push ecx
push dword [ebp - 0x1b0]
call fcn.100bcdd0
mov eax, dword [ebp - 0x1a0]
movzx ecx, word [edi]
movzx edx, ax
mov eax, dword [esi - 0x20]
add cx, dx
mov esi, dword [ebp - 0x16c]
mov word [eax + esi + 4], cx
mov esi, dword [ebp - 0x180]
movzx ecx, word [edi + 4]
add cx, dx
mov edx, dword [ebp - 0x16c]
mov eax, dword [esi - 0x20]
mov word [eax + edx + 6], cx
mov eax, dword [esi - 0x20]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
imul ecx, eax
add dword [ebp - 0x15c], ecx
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x1b4]
inc eax
add dword [ebp - 0x16c], 0x10
add ecx, 0x20
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x1b4], ecx
cmp eax, dword [esi]
jl 0x100be470
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x198]
add esi, 0x54
movss xmm0, dword [0x1038d99c]
add edx, 0x78
sub dword [ebp - 0x1b8], 1
mov edi, dword [ebp - 0x1ac]
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x198], edx
jne 0x100be3a1
mov ecx, dword [ebp - 0x15c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
call fcn.10048260
mov eax, dword [ebp - 0x164]
cvttss2si ecx, xmm0
mov esi, dword [eax + 8]
mov dword [eax + 0x20], 0
inc ecx
test esi, esi
jg 0x100be73e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x1038dd60]
jb 0x100be71a
mov esi, 0x1000
jmp 0x100be73e
comiss xmm0, dword [0x1038dd58]
jb 0x100be72a
mov esi, 0x800
jmp 0x100be73e
comiss xmm0, dword [0x1038dd44]
mov esi, 0x200
mov ecx, 0x400
cmovae esi, ecx
mov ecx, eax
mov dword [ecx + 0x1c], esi
sub esi, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], eax
test esi, esi
jle 0x100be799
cmp esi, 8
mov edi, esi
mov ecx, 8
cmovl edi, ecx
test edi, edi
jle 0x100be799
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be77c
inc dword [eax + 0xa8]
lea eax, [edi*8]
push eax
call dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x200], edi
push esi
mov dword [ebp - 0x204], esi
mov esi, dword [ebp - 0x164]
push eax
push ecx
lea ecx, [ebp - 0x154]
mov edx, dword [esi + 0x1c]
call fcn.100bd290
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x160], edi
test edi, edi
jle 0x100be801
cmp edi, 8
mov ecx, edi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x100be801
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100be7ee
inc dword [eax + 0xa8]
shl ecx, 4
push ecx
call dword [ebp - 0x174]
add esp, 4
mov dword [ebp - 0x16c], eax
mov ecx, edi
shl ecx, 4
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x40], 0
jle 0x100be84f
mov edx, dword [ebp - 0x16c]
xor ecx, ecx
add edx, 6
xor edi, edi
mov eax, dword [esi + 0x48]
lea ecx, [ecx + 0x1c]
inc edi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [esi + 0x48]
movzx eax, word [eax + ecx - 0x1a]
mov word [edx - 0x10], ax
cmp edi, dword [esi + 0x40]
jl 0x100be825
mov edi, dword [ebp - 0x160]
mov edx, dword [ebp - 0x16c]
lea ecx, [ebp - 0x154]
push edi
call fcn.100d3cb0
add esp, 4
test edi, edi
jle 0x100be8c0
mov edx, dword [ebp - 0x16c]
xor esi, esi
add edx, 0xa
cmp dword [edx + 2], 0
je 0x100be8b5
mov eax, dword [ebp - 0x164]
movzx ecx, word [edx - 2]
mov eax, dword [eax + 0x48]
mov word [eax + esi + 4], cx
mov eax, dword [ebp - 0x164]
movzx ecx, word [edx]
mov eax, dword [eax + 0x48]
mov word [eax + esi + 6], cx
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub edi, 1
jne 0x100be873
mov eax, dword [ebp - 0x16c]
test eax, eax
je 0x100be8e4
mov ecx, dword [0x1039da5c]
test ecx, ecx
je 0x100be8da
dec dword [ecx + 0xa8]
push eax
call dword [ebp - 0x194]
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x19c]
test eax, eax
jle 0x100be95b
mov esi, dword [ebp - 0x184]
add esi, 0x38
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi]
test eax, eax
je 0x100be94f
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x154]
push eax
call fcn.100bd760
xor edi, edi
add esp, 4
cmp dword [esi], edi
jle 0x100be94f
xor edx, edx
mov eax, dword [esi - 0x10]
cmp dword [eax + edx + 0xc], 0
je 0x100be947
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
mov eax, dword [ebp - 0x164]
cmp dword [eax + 0x20], ecx
cmovge ecx, dword [eax + 0x20]
mov dword [eax + 0x20], ecx
inc edi
add edx, 0x10
cmp edi, dword [esi]
jl 0x100be921
add esi, 0x54
sub dword [ebp - 0x1ac], 1
jne 0x100be901
mov edi, dword [ebp - 0x164]
test byte [edi], 1
mov eax, dword [edi + 0x20]
jne 0x100be98e
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
mov esi, dword [edi + 0x1c]
inc eax
movss xmm2, dword [0x1038d99c]
movaps xmm1, xmm2
mov dword [edi + 0x20], eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, eax
cmp byte [ebp - 0x155], 0
divss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x1039da5c]
movss dword [edi + 0x24], xmm1
divss xmm2, xmm0
movss dword [edi + 0x28], xmm2
je 0x100be9ea
shl esi, 2
test eax, eax
je 0x100be9de
inc dword [eax + 0xa8]
push esi
call dword [ebp - 0x174]
mov dword [edi + 0x18], eax
jmp 0x100be9fe
test eax, eax
je 0x100be9f4
inc dword [eax + 0xa8]
push esi
call dword [ebp - 0x174]
mov dword [edi + 0x14], eax
add esp, 4
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x19c]
xor al, al
add esp, 0xc
mov byte [ebp - 0x165], al
test ecx, ecx
jle 0x100bee58
mov eax, dword [ebp - 0x184]
xor edx, edx
add eax, 8
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x160], ecx
cmp dword [eax + 0x30], 0
je 0x100bee31
mov ecx, dword [edi + 0x54]
movss xmm0, dword [eax - 4]
add ecx, edx
movss dword [ebp - 0x1b0], xmm0
movss xmm0, dword [eax]
mov dword [ebp - 0x1ac], ecx
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0x1b8], edx
movss dword [ebp - 0x1a0], xmm0
lea esi, [edx + 0x38]
lea edi, [edx + 0x48]
jne 0x100beac6
mov ecx, edx
call fcn.100d8610
mov edx, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1ac]
movss xmm0, dword [ebp - 0x1b0]
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
xor eax, eax
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x1a0]
mov word [esi], ax
mov eax, dword [ebp - 0x164]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x30], eax
movss dword [edx + 0x4c], xmm0
movss xmm0, dword [edi]
addss xmm0, dword [0x1038d930]
inc word [esi]
mov edi, dword [ebp - 0x164]
movss xmm2, dword [ecx + 0x28]
movss dword [ebp - 0x174], xmm2
cvttss2si eax, xmm0
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x1b0], 0
movd xmm1, eax
mov eax, dword [ebp - 0x178]
cvtdq2ps xmm1, xmm1
cmp dword [eax + 0x30], 0
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x17c], xmm1
jle 0x100bee1e
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x18c], edx
mov edi, dword [eax + 0x48]
mov eax, dword [eax + 0x20]
add edi, edx
add eax, ecx
cmp word [eax + 4], 0
jne 0x100beb4f
cmp word [eax + 6], 0
je 0x100bede2
movzx edx, word [eax + 8]
sub esp, 0x20
movd xmm0, dword [edi + 8]
add edx, esi
movzx esi, word [eax + 0xa]
mov eax, dword [edi]
add esi, dword [ebp - 0x15c]
movd xmm7, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x198], esi
mov esi, dword [ebp - 0x164]
mov dword [ebp - 0x180], edx
movd xmm6, eax
add eax, edx
addss xmm0, xmm2
movd xmm4, edx
cvtdq2ps xmm7, xmm7
cvtdq2ps xmm6, xmm6
addss xmm7, xmm1
movss dword [ebp - 0x1a0], xmm0
movd xmm1, dword [esi + 0x1c]
addss xmm6, xmm0
movd xmm0, dword [esi + 0x20]
mov esi, dword [ebp - 0x198]
cvtdq2ps xmm1, xmm1
movd xmm2, eax
lea eax, [ecx + esi]
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
divss xmm4, xmm1
divss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edi + 0x18]
movd xmm3, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp - 0x1b8]
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
movd xmm5, ecx
mov ecx, esi
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
addss xmm5, xmm7
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebp - 0x1a0]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push dword [ebp - 0x1ac]
call fcn.100d8ca0
cmp byte [edi + 0x14], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
je 0x100bec65
or dword [ecx + eax*8 - 0x28], 1
mov byte [ebp - 0x165], 1
mov ecx, dword [ebp - 0x164]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi]
mov dword [ebp - 0x16c], esi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1a0], eax
imul eax, dword [ebp - 0x198]
mov dword [ebp - 0x198], 0
test ecx, ecx
je 0x100bed21
add eax, ecx
add eax, dword [ebp - 0x180]
cmp dword [edi + 4], 0
mov dword [ebp - 0x180], eax
jle 0x100bedcc
lea ecx, [edx*4]
mov dword [ebp - 0x1dc], ecx
xor ecx, ecx
test edx, edx
jle 0x100becf2
add esi, 3
nop dword [eax]
mov edx, dword [ebp - 0x180]
lea esi, [esi + 4]
mov al, byte [esi - 4]
mov byte [ecx + edx], al
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jl 0x100becd0
mov eax, dword [ebp - 0x180]
mov esi, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x198]
add eax, dword [ebp - 0x1a0]
inc ecx
add esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x16c], esi
cmp ecx, dword [edi + 4]
jl 0x100becc0
jmp 0x100bedcc
mov ecx, dword [ebp - 0x180]
add ecx, eax
cmp dword [edi + 4], 0
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 0x18]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x180], ecx
jle 0x100bedcc
mov eax, dword [ebp - 0x1a0]
shl eax, 2
mov dword [ebp - 0x1a0], eax
lea eax, [edx*4]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x16c]
xor esi, esi
test edx, edx
jle 0x100beda2
sub eax, dword [ebp - 0x180]
mov dword [ebp - 0x1dc], eax
nop dword [eax]
mov eax, dword [ecx + eax]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc esi
mov edx, dword [edi]
mov eax, dword [ebp - 0x1dc]
cmp esi, edx
jl 0x100bed80
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x180]
mov esi, dword [ebp - 0x198]
add ecx, dword [ebp - 0x1a0]
inc esi
add eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x198], esi
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x16c], eax
cmp esi, dword [edi + 4]
jl 0x100bed67
mov esi, dword [ebp - 0x15c]
movss xmm2, dword [ebp - 0x174]
movss xmm1, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x178]
inc ecx
add dword [ebp - 0x18c], 0x20
add dword [ebp - 0x1b4], 0x10
mov edx, dword [ebp - 0x18c]
cmp ecx, dword [eax + 0x30]
mov dword [ebp - 0x1b0], ecx
mov ecx, dword [ebp - 0x1b4]
jl 0x100beb33
mov edi, dword [ebp - 0x164]
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x160]
mov dword [eax + 0x20], 0
add eax, 0x54
add edx, 0x78
sub ecx, 1
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x160], ecx
jne 0x100bea40
mov al, byte [ebp - 0x165]
xor esi, esi
mov byte [edi + 0x12], al
cmp dword [ebp - 0x1a8], esi
jle 0x100bee9f
mov edi, dword [ebp - 0x188]
nop dword [eax + eax]
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x100bee86
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100bee86
dec dword [eax + 0xa8]
push ecx
call dword [ebp - 0x194]
inc esi
add esp, 4
cmp esi, dword [ebp - 0x1a8]
jl 0x100bee70
mov edi, dword [ebp - 0x164]
mov eax, dword [ebp - 0x19c]
test eax, eax
jle 0x100bef1b
mov esi, dword [ebp - 0x184]
mov edi, dword [ebp - 0x194]
add esi, 0x18
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100beed4
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100beece
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x100beef0
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100beeea
dec dword [eax + 0xa8]
push ecx
call edi
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x100bef09
push eax
call fcn.10127260
add esp, 4
mov dword [esi], 0
add esi, 0x54
sub dword [ebp - 0x19c], 1
jne 0x100beeb8
mov edi, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x100bef64
mov eax, dword [0x1039da5c]
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
test eax, eax
je 0x100bef48
dec dword [eax + 0xa8]
mov esi, dword [ebp - 0x194]
push ecx
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x1ec], eax
jmp 0x100bef6a
mov esi, dword [ebp - 0x194]
mov ecx, edi
call fcn.100d8280
mov byte [ebp - 0x155], 1
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x100bef97
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100bef91
dec dword [eax + 0xa8]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x100befb6
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100befb0
dec dword [eax + 0xa8]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x100befd5
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100befcf
dec dword [eax + 0xa8]
push ecx
call esi
add esp, 4
mov edi, dword [ebp - 0x190]
test edi, edi
je 0x100beffc
mov eax, dword [0x1039da5c]
test eax, eax
je 0x100befee
dec dword [eax + 0xa8]
mov esi, dword [ebp - 0x194]
push edi
call esi
add esp, 4
jmp 0x100bf002
mov esi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x184]
test eax, eax
je 0x100bf022
mov ecx, dword [0x1039da5c]
test ecx, ecx
je 0x100bf01c
dec dword [ecx + 0xa8]
push eax
call esi
add esp, 4
mov al, byte [ebp - 0x155]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret