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

Disassembly:
sub esp, 0x78
mov eax, dword [0x102d94c0]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x7c]
push ebx
mov bh, byte [esp + 0x94]
mov dword [esp + 8], edx
mov eax, dword [edx]
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x3c], edi
test bh, bh
jne 0x10115edd
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xc], bh
jne 0x10115edd
mov eax, dword [edi]
xorps xmm0, xmm0
push 1
push dword [esp + 0xa0]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
push eax
push esi
push ebp
push ecx
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
call fcn.10115e50
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp byte [edi + 4], 0
jne 0x10115f7f
mov eax, dword [esi + 0x10]
mov ebx, 1
add eax, dword [ebp + 0x10]
mov ecx, eax
neg ecx
and ecx, 7
shl ebx, cl
dec ebx
cmp eax, 0x60
jbe 0x10115f14
mov eax, dword [edi]
test eax, eax
je 0x10115f45
cmp dword [eax], 0
jne 0x10115f45
mov dword [eax], 0x12
jmp 0x10115f45
lea ecx, [eax + 7]
mov dword [edi + 8], eax
shr ecx, 3
mov dword [edi + 0xc], ecx
mov word [edi + 4], 0x101
test eax, eax
je 0x10115f45
xor eax, eax
test ecx, ecx
je 0x10115f3d
mov byte [edi + eax + 0x10], 0xff
inc eax
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x10115f30
lea eax, [edi + ecx]
not bl
and byte [eax + 0xf], bl
cmp byte [edi + 4], 0
jne 0x10115f78
mov eax, dword [esp + 0x18]
cmp byte [eax + 8], 0
je 0x10116416
mov eax, dword [edi]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov byte [edx + 0xd], 0
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.101f469d
add esp, 0x78
ret
mov bh, byte [esp + 0xa0]
mov dword [edx + 0x14], 0
lea esi, [esp + 0x78]
mov dword [edx + 0x18], 0
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x20], eax
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x78], xmm0
cmp eax, dword [edi + 8]
ja 0x10116416
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xf9], 0
je 0x10116010
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
push ecx
add eax, 0x120
xorps xmm0, xmm0
push eax
push edx
movups xmmword [esp + 0x4c], xmm0
call fcn.10116430
mov eax, dword [esp + 0x24]
add eax, 0x10c
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.10116430
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [esp + 0x18]
xor edi, edi
mov bl, 0x80
cmp dword [esp + 0x20], edi
jbe 0x101160e8
jmp 0x10116024
mov eax, dword [esp + 0x18]
test byte [esi], bl
je 0x101160be
push 1
push dword [edx + 0x10]
push dword [esp + 0xa4]
push eax
push edi
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.10115a70
mov eax, dword [esp + 0x30]
push 0
push dword [eax + 0x10]
mov eax, dword [esp + 0x3c]
push dword [esp + 0xc0]
push eax
push edi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.10115a70
mov eax, dword [esp + 0x8c]
add esp, 0x38
shr eax, 4
test al, 1
jne 0x101160a2
mov eax, dword [esp + 0x40]
shr eax, 4
test al, 1
jne 0x101160a2
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x20]
add eax, 0xf0
push eax
call fcn.101134e0
add esp, 0xc
test al, al
je 0x101160be
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x1c]
call fcn.10116430
mov al, bl
add esp, 0xc
not al
and byte [esi], al
mov ecx, edi
and ecx, 7
cmp ecx, 7
jne 0x101160cc
mov bl, 0x80
jmp 0x101160ce
shr bl, 1
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
inc edi
cmp ecx, 7
cmovne eax, esi
mov esi, eax
cmp edi, dword [esp + 0x20]
jb 0x10116020
test bh, bh
je 0x10116150
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x1011610b
cmp dword [ebx + 0x24], 0
jg 0x1011610b
lea eax, [eax + eax*4]
cmp dword [ebx + eax*4 + 0x10], 0
jge 0x101163a2
mov eax, dword [ebx + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
movlpd qword [esp + 0x48], xmm0
push eax
push ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 0x31
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], 0
call fcn.10116430
add esp, 0xc
jmp 0x101163a2
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x78]
xor edi, edi
mov dword [esp + 0x2c], edx
mov cl, 0x80
mov byte [esp + 0x13], cl
test esi, esi
je 0x1011639e
nop dword [eax]
mov ebx, dword [esp + 0x14]
test byte [edx], cl
je 0x1011637b
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
xor eax, eax
cmp edi, dword [ebp + 0x10]
jb 0x101161a3
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x101161a1
cmp dword [ecx], eax
jne 0x101161a1
mov dword [ecx], 0x82
xor ecx, ecx
mov esi, dword [ebp + 8]
imul esi, ecx
add esi, dword [ebp + 0x18]
mov ecx, dword [esi + 8]
mov edx, ecx
sub edx, dword [esi + 4]
cmp edx, 0xffeb0000
jne 0x101161c9
mov eax, ecx
mov ecx, 1
mov dword [esp + 0x40], ecx
jmp 0x101161f0
cmp edx, 0xffec0000
jne 0x101161db
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x40], ecx
jmp 0x101161f2
mov ecx, 4
mov dword [esp + 0x40], ecx
test edx, edx
jns 0x101161ed
mov eax, dword [esi + 8]
jmp 0x101161f0
mov eax, dword [esi + 4]
mov edx, ecx
add eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
test edx, edx
je 0x10116222
cmp byte [esi], 0
je 0x10116222
mov eax, dword [esi + 0xc]
or ecx, 0x10
mov dword [esp + 0x40], ecx
jmp 0x10116250
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
xor edx, edx
mov ecx, edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
cmp edi, dword [ebp + 0x10]
jb 0x1011627b
mov eax, dword [ebp + 4]
test eax, eax
je 0x10116279
cmp dword [eax], edx
jne 0x10116279
mov dword [eax], 0x82
xor ecx, ecx
mov eax, dword [ebp + 8]
imul eax, ecx
add eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov esi, dword [eax + 8]
mov ecx, dword [eax + 4]
sub esi, ecx
cmp esi, 0xffeb0000
jne 0x101162a2
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x54], ecx
jmp 0x101162ce
cmp esi, 0xffec0000
jne 0x101162b7
mov edx, ecx
mov ecx, 2
mov dword [esp + 0x54], ecx
jmp 0x101162cc
mov ecx, 8
mov dword [esp + 0x54], ecx
test esi, esi
jns 0x101162c9
mov edx, dword [eax + 4]
jmp 0x101162cc
mov edx, dword [eax + 8]
mov esi, ecx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x101162e7
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0xe8]
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x24]
add edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
test esi, esi
je 0x1011632a
cmp byte [eax], 0
je 0x1011632a
cmp dword [esp + 0x1c], 0
je 0x1011631e
mov eax, dword [eax + 0x10]
or ecx, 0x10
mov dword [esp + 0x54], ecx
jmp 0x10116358
mov eax, dword [eax + 0xc]
or ecx, 0x10
mov dword [esp + 0x54], ecx
jmp 0x10116358
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.10116430
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov eax, edi
and eax, 7
cmp al, 7
jne 0x1011638d
inc edx
mov cl, 0x80
mov dword [esp + 0x2c], edx
jmp 0x1011638f
shr cl, 1
inc edi
mov byte [esp + 0x13], cl
cmp edi, esi
jb 0x10116170
jmp 0x101163a2
mov ebx, dword [esp + 0x14]
push ebx
call fcn.10115bb0
add esp, 4
cmp byte [esp + 0xa0], 0
jne 0x1011640a
xor esi, esi
cmp dword [ebx + 0x14], esi
jbe 0x1011640a
lea ecx, [ebx + 0x1c]
nop
mov eax, dword [ecx]
shr eax, 5
test al, 1
jne 0x10116401
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
jb 0x101163e5
mov eax, dword [ebp + 4]
test eax, eax
je 0x101163e3
cmp dword [eax], 0
jne 0x101163e3
mov dword [eax], 0x82
xor edx, edx
mov eax, dword [ebp + 8]
imul eax, edx
mov edx, dword [ecx + 0xc]
add eax, dword [ebp + 0x18]
test byte [ecx], 0xa
je 0x101163fb
mov dword [eax + 0x10], edx
jmp 0x101163fe
mov dword [eax + 0xc], edx
mov byte [eax], 1
inc esi
add ecx, 0x14
cmp esi, dword [ebx + 0x14]
jb 0x101163c0
mov eax, dword [esp + 0x3c]
mov byte [ebx + 0xc], 1
mov byte [eax + 5], 0
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101f469d
add esp, 0x78
ret