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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov esi, 1
mov eax, dword [ebp + 4]
mov ebx, dword [ebp + 0x1f4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
shl esi, cl
dec esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
lea edi, [eax + eax*4]
add edi, edi
mov eax, dword [ebp + edi*8 + 0x100]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + edi*8 + 0x104]
mov dword [esp + 0x64], eax
lea eax, [ebx*8 + 8]
push eax
call fcn.1006eac0
mov ecx, dword [ebp + edi*8 + 0x10c]
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x1011f473
lea eax, [ebx + 1]
push eax
push str.Unable_to_allocate_buffer_of_size__d_n
push 2
call fcn.105200f0
add esp, 4
push eax
call fcn.100633e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
xor edx, edx
mov dword [esp + 0x40], edx
cmp dword [esp + 0xac], edx
jle 0x1011fa40
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
neg eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
inc eax
mov dword [esp + 0x4c], eax
nop
mov ecx, dword [ebp + 4]
mov eax, edi
sar eax, cl
imul eax, edx
xor edx, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], eax
test ebx, ebx
jle 0x1011fa1e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp]
mov ecx, ebx
sar edi, cl
mov ecx, dword [esp + 0x1c]
mov eax, edi
imul eax, edx
cmp byte [ecx - 1], 0
mov dword [esp + 0x28], eax
je 0x1011f9fe
cmp dword [esp + 0x40], 0
jbe 0x1011f514
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0xa0]
add eax, edx
cmp byte [eax + esi], 0
mov esi, dword [esp + 0x18]
je 0x1011f514
xor eax, eax
jmp 0x1011f518
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
test edx, edx
je 0x1011f52a
cmp byte [ecx - 2], 0
je 0x1011f52a
xor eax, eax
jmp 0x1011f52e
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
sar eax, cl
sar edx, cl
mov dword [esp + 0x38], eax
mov eax, edx
imul eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, dword [esp + 0x3c]
cmp ecx, edx
cmovge ecx, edx
inc eax
mov dword [esp + 0x38], ecx
cmp eax, dword [esp + 0xa8]
jge 0x1011f578
mov ecx, dword [esp + 0x1c]
cmp byte [ecx], 0
jne 0x1011f57c
sub edi, dword [esp + 0x20]
mov edx, dword [esp + 0x84]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
sar edx, cl
sub edx, dword [esp + 0x28]
sub edx, ebx
mov dword [esp + 0x44], edx
cmp edx, edi
jl 0x1011f5cb
cmp eax, dword [esp + 0xa8]
jge 0x1011f5b9
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x1011f5b9
mov edx, dword [esp + 0xa4]
mov ecx, dword [ebp]
sar edx, cl
jmp 0x1011f5c7
mov edx, dword [esp + 0xa4]
mov ecx, dword [ebp]
sar edx, cl
sub edx, ebx
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
jge 0x1011f9f6
mov ebx, dword [esp + 0x48]
nop dword [eax]
mov ecx, ebx
mov dword [esp + 0x30], ecx
cmp ebx, edx
jge 0x1011f9e0
mov edx, dword [esp + 0x78]
add eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
lea edx, [edx + edx*4]
add edx, 0x14
shl edx, 4
mov dword [esp + 0x6c], edx
nop dword [eax + eax]
mov ebp, dword [esp + 0x28]
mov edx, dword [ebx + 0x1f0]
add ebp, ecx
cmp dword [ebx + 0xc], 0
mov edi, dword [esp + 0x2c]
je 0x1011f79d
test edi, edi
jle 0x1011f68a
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x80]
sub ebx, edx
nop dword [eax + eax]
mov ecx, dword [edx + 4]
add ecx, dword [esp + 0x10]
imul ecx, dword [esp + 0x8c]
mov eax, dword [edx]
add eax, ebp
add ecx, eax
mov eax, dword [esp + 0x7c]
movzx eax, word [eax + ecx*2]
movd xmm1, eax
movzx eax, word [esi + ecx*2]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [ebx + edx], xmm1
add edx, 8
sub edi, 1
jne 0x1011f640
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x7c]
imul ecx, dword [esp + 0x8c]
add ecx, ebp
cmp dword [esp + 0x94], 0
movzx eax, word [eax + ecx*2]
movd xmm3, eax
mov eax, dword [esp + 0x80]
cvtdq2pd xmm3, xmm3
movzx eax, word [eax + ecx*2]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm0
je 0x1011f931
cmp dword [esp + 0x98], 0
je 0x1011f931
mov ebx, dword [esp + 0x90]
mov eax, 1
xor edx, edx
xor edi, edi
xorps xmm1, xmm1
mov dword [esp + 0x24], edx
xorps xmm2, xmm2
mov ecx, dword [ebx + 4]
shl eax, cl
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x1011f914
mov ebx, dword [ebx]
mov ebp, 1
mov ecx, ebx
mov dword [esp + 0x60], ebx
shl ebp, cl
test ebp, ebp
jle 0x1011f78f
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
shl edx, cl
mov ecx, dword [esp + 0x30]
add edx, edi
imul edx, dword [esp + 0x9c]
lea eax, [eax + ecx]
mov ecx, ebx
mov ebx, dword [esp + 0x98]
shl eax, cl
add eax, edx
mov edx, dword [esp + 0x94]
sub edx, ebx
add dword [esp + 0x24], ebp
lea ecx, [ebx + eax*2]
mov ebx, ebp
nop dword [eax + eax]
movzx eax, word [ecx + edx]
movd xmm0, eax
movzx eax, word [ecx]
add ecx, 2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub ebx, 1
jne 0x1011f760
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
inc edi
cmp edi, eax
jl 0x1011f713
jmp 0x1011f90c
test edi, edi
jle 0x1011f7fa
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x80]
sub ebx, edx
nop
mov eax, dword [edx + 4]
add eax, dword [esp + 0x10]
imul eax, dword [esp + 0x8c]
mov ecx, dword [edx]
add ecx, ebp
add ecx, eax
mov eax, dword [esp + 0x7c]
movzx eax, byte [ecx + eax]
movd xmm1, eax
movzx eax, byte [ecx + esi]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movsd qword [ebx + edx], xmm1
add edx, 8
sub edi, 1
jne 0x1011f7b0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x8c]
cmp dword [esp + 0x94], 0
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x7c]
movzx eax, byte [ecx + eax]
movd xmm3, eax
mov eax, dword [esp + 0x80]
cvtdq2pd xmm3, xmm3
movzx eax, byte [ecx + eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm3, xmm0
je 0x1011f931
cmp dword [esp + 0x98], 0
je 0x1011f931
mov ecx, dword [esp + 0x90]
mov eax, 1
xor edx, edx
xor edi, edi
xorps xmm1, xmm1
mov dword [esp + 0x24], edx
xorps xmm2, xmm2
mov ecx, dword [ecx + 4]
shl eax, cl
mov dword [esp + 0x60], eax
test eax, eax
jle 0x1011f914
mov edx, dword [esp + 0x90]
mov ebp, 1
mov ebx, dword [edx]
mov ecx, ebx
mov dword [esp + 0x5c], ebx
shl ebp, cl
nop dword [eax]
test ebp, ebp
jle 0x1011f907
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
shl eax, cl
mov ecx, ebx
add eax, edi
mov ebx, ebp
imul eax, dword [esp + 0x9c]
lea edx, [esi + edx]
shl edx, cl
mov ecx, dword [esp + 0x94]
sub ecx, dword [esp + 0x98]
add edx, eax
add edx, dword [esp + 0x98]
add dword [esp + 0x24], ebp
movzx eax, byte [edx + ecx]
movd xmm0, eax
movzx eax, byte [edx]
inc edx
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
sub ebx, 1
jne 0x1011f8d3
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x90]
inc edi
cmp edi, eax
jl 0x1011f890
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
movd xmm0, edx
subsd xmm1, xmm2
cvtdq2pd xmm0, xmm0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
divsd xmm1, xmm0
movsd qword [eax + ebx*8], xmm1
mov ebp, dword [esp + 0x54]
test ebp, ebp
jle 0x1011f9b4
mov ebx, dword [esp + 0x14]
lea ecx, [ebp*8]
mov eax, dword [esp + 0x64]
sub ebx, eax
mov edi, dword [esp + 0x68]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x60], ecx
movaps xmm1, xmm0
mulsd xmm1, xmm0
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov edx, edi
nop dword [eax]
movsd xmm0, qword [esi + ecx*8]
inc ecx
mulsd xmm0, qword [ebx + eax]
divsd xmm0, xmm1
addsd xmm0, qword [edx]
movsd qword [edx], xmm0
add edx, 8
cmp ecx, dword [esp + 0x54]
jl 0x1011f970
movaps xmm0, xmm3
add edi, dword [esp + 0x60]
mulsd xmm0, qword [ebx + eax]
divsd xmm0, xmm1
addsd xmm0, qword [eax]
movsd qword [eax], xmm0
add eax, 8
sub ebp, 1
jne 0x1011f965
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
inc ecx
mov eax, dword [esp + 0x10]
inc dword [edi + ebx]
mov dword [esp + 0x30], ecx
cmp ecx, edx
jl 0x1011f610
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x38]
jl 0x1011f5e0
mov ebp, dword [esp + 0x90]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa8]
inc edx
mov edi, dword [esp + 0xa4]
inc ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], ecx
cmp edx, ebx
jl 0x1011f4d4
mov edx, dword [esp + 0x40]
add dword [esp + 0x4c], ebx
inc edx
add dword [esp + 0x50], ebx
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0xac]
jl 0x1011f4b0
mov eax, dword [esp + 0x14]
push eax
call fcn.1006eaa0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret