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

Disassembly:
sub esp, 0x130
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
xor ecx, ecx
mov edx, dword [esp + 0x138]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
push esi
mov dword [esp + 0x2c], eax
mov esi, dword [edx + 0x1ac8]
push edi
mov edi, dword [esp + 0x150]
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x3c], edi
mov al, byte [edi + 0x15]
mov ebp, dword [edi]
test al, al
mov byte [esp + 0x13], al
movzx eax, byte [edi + 0x9f]
setg cl
shr eax, 7
mov dword [esp + 0x48], eax
imul eax, ebx, 0x538
mov bl, byte [ebp + 0x1071aef0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
add eax, 0x10
add eax, edx
mov dh, byte [ebp + 0x1071af08]
mov dl, byte [edi + 5]
mov dword [esp + 0x18], eax
add eax, 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov ebp, eax
cmp bl, dh
jae 0x10115932
nop word [eax + eax]
movsx eax, byte [edi + ecx + 0x14]
lea eax, [eax + eax*8]
cmp dl, 0xf
je 0x10115912
cmp dl, 0x17
jne 0x10115925
cmp byte [esi + eax*4 + 0x20], 1
jbe 0x10115925
cmp bl, 8
jb 0x10115925
mov eax, 1
jmp 0x10115927
xor eax, eax
mov dword [esp + ecx*4 + 0x40], eax
inc ecx
cmp ecx, ebp
jl 0x10115900
jmp 0x10115964
xor ecx, ecx
movsx eax, byte [edi + ecx + 0x14]
lea eax, [eax + eax*8]
cmp dl, 0xf
je 0x10115946
cmp dl, 0x17
jne 0x10115959
cmp byte [esi + eax*4 + 0x20], 1
jbe 0x10115959
cmp dh, 8
jb 0x10115959
mov eax, 1
jmp 0x1011595b
xor eax, eax
mov dword [esp + ecx*4 + 0x40], eax
inc ecx
cmp ecx, ebp
jl 0x10115934
mov eax, dword [esp + 0x18]
mov ebp, dword [edi]
mov esi, dword [eax + 4]
cmp byte [ebp + 0x1071af08], 4
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x154]
jne 0x1011598d
test ebx, ebx
je 0x1011598d
test eax, eax
jne 0x1011598d
lea edx, [eax - 4]
jmp 0x1011598f
xor edx, edx
cmp byte [ebp + 0x1071aef0], 4
jne 0x101159a5
test esi, esi
je 0x101159a5
test eax, eax
jne 0x101159a5
lea ecx, [eax - 4]
jmp 0x101159a7
xor ecx, ecx
mov eax, dword [esp + 0x160]
mov ebp, dword [esp + 0x1c]
add eax, ecx
mov ecx, esi
sar eax, cl
mov ecx, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x164]
add eax, edx
sar eax, cl
xor ebx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x48], 0
je 0x101159f1
mov eax, dword [esp + 0x30]
add eax, 0xfc
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x28], eax
jmp 0x10115a11
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + ebx*4 + 0x1000]
mov dword [esp + 0x28], eax
lea eax, [ebx + 2]
lea eax, [ebx + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + ebx*4 + 0x40]
mov esi, dword [edi + ebx*4 + 0xc]
mov dword [esp + 0x60], eax
xor eax, eax
cmp byte [edi + 0x1c], 2
movzx ebx, byte [edi + 0x9f]
sete al
mov dword [esp + 0x24], esi
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x1008]
mov ebp, dword [ebp + 0x1a78]
shr ebx, 7
push ebx
mov edx, dword [eax + 0x8c]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x160]
shr edx, 3
push dword [esp + 0x160]
mov ecx, dword [eax + 8]
and edx, 1
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x164]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x104], edx
mov edx, 0x120
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xdc], eax
mov eax, 0x1000
sar edx, cl
shl edx, 0xa
sub eax, edx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x118], eax
mov ecx, edi
mov edx, 0x120
mov dword [esp + 0xf4], edi
sar edx, cl
mov eax, 0x1000
shl edx, 0xa
sub eax, edx
mov dword [esp + 0x100], ebp
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xcc]
mov dword [esp + 0x118], ebx
push eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.10116990
mov eax, dword [esp + 0x3c]
add esp, 0x14
mov bl, byte [esp + 0x13]
mov ecx, 1
mov edx, dword [esp + 0x14]
test bl, bl
mov edi, dword [esp + 0x58]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x2b7c]
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], 0
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x6c]
cmovg eax, ecx
mov dword [esp + 0x120], 3
mov dword [esp + 0x6c], eax
xor eax, eax
test bl, bl
movups xmmword [esp + 0xd4], xmm0
setle al
lea eax, [eax*4 + 7]
mov dword [esp + 0x124], eax
xor ecx, ecx
test bl, bl
setle cl
add ebp, 6
lea ecx, [ecx*4 + 7]
cmp ebp, 0x10
jle 0x10115bc9
lea eax, [ebp - 0xd]
mov dword [esp + 0x120], eax
test bl, bl
jg 0x10115bc9
sub ecx, ebp
add ecx, 0x10
mov dword [esp + 0x124], ecx
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x128], eax
lea eax, [esp + 0xb0]
push edi
mov edi, dword [esp + 0x40]
push eax
mov dword [esp + 0x120], edx
lea eax, [esp + 0xc0]
mov dword [esp + 0x124], 0x80
mov dword [esp + 0x11c], ebx
movups xmm0, xmmword [esp + 0x11c]
push eax
lea eax, [esp + 0xc0]
movups xmmword [esp + 0xa0], xmm0
push eax
movups xmm0, xmmword [esp + 0x134]
push edi
push dword [esp + 0x44]
movups xmmword [esp + 0xbc], xmm0
movq xmm0, qword [esp + 0x14c]
movq qword [esp + 0xcc], xmm0
call fcn.100c4cb0
mov ebp, dword [esp + 0x2c]
add esp, 0x18
cmp dword [esp + 0x154], 0
jne 0x10115c70
push edi
push ebp
push ebx
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100c4f80
add esp, 0x14
mov al, byte [edi + 0x4f]
cmp al, 2
je 0x10115c7b
cmp al, 3
jne 0x10115cbd
mov eax, dword [edi]
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x104], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
cmp ebx, 1
jne 0x10115cb0
mov dword [esp + 0x94], 0
mov dword [esp + 0x6c], 2
mov eax, dword [ebp + 0x1ad8]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xcc]
mov edx, 1
movsx edi, word [esp + 0x26]
mov ecx, edx
sub ecx, dword [esp + 0xec]
mov ebp, dword [esp + 0xf0]
shl eax, 4
movsx esi, si
shl esi, cl
mov ecx, edx
sub ecx, dword [esp + 0xe8]
add esi, eax
mov eax, dword [esp + 0xd0]
shl eax, 4
shl edi, cl
add edi, eax
mov eax, dword [ebp]
cmp eax, 0xffffffff
je 0x10115d30
cmp dword [ebp + 4], 0xffffffff
je 0x10115d30
cmp eax, 0x4000
jne 0x10115d19
cmp dword [ebp + 4], eax
je 0x10115d30
push ebp
push esi
call fcn.1007fd90
push ebp
push edi
mov esi, eax
call fcn.1007fd30
add esp, 0x10
mov edi, eax
jmp 0x10115d36
shl esi, 6
shl edi, 6
mov ecx, dword [esp + 0xe0]
add esi, 0x20
mov eax, dword [esp + 0xdc]
add edi, 0x20
mov edx, dword [esp + 0x10c]
add eax, 4
shl eax, 0xa
lea ecx, [ecx + 4]
mov dword [esp + 0x24], eax
shl ecx, 0xa
cmp esi, edx
jl 0x10115d6c
cmp esi, ecx
mov edx, esi
cmovg edx, ecx
mov eax, dword [esp + 0x110]
cmp edi, eax
jl 0x10115d82
cmp edi, dword [esp + 0x24]
mov eax, edi
cmovg eax, dword [esp + 0x24]
mov esi, dword [esp + 0xe4]
mov ecx, eax
and ecx, 0x3ff
mov dword [esp + 0x128], edx
mov dword [esp + 0x11c], ecx
mov ecx, edx
sar edx, 0xa
and ecx, 0x3ff
imul edx, esi
mov dword [esp + 0x124], eax
mov dword [esp + 0x120], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x114], ecx
mov ecx, dword [ebp + 0xc]
add edx, dword [esp + 0xd8]
sar eax, 0xa
mov dword [esp + 0x118], ecx
add eax, edx
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x10115e0a
cmp ecx, 1
je 0x10115e0a
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push dword [esp + 0x40]
push esi
push eax
call fcn.100c53e0
jmp 0x10115e2a
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push dword [esp + 0x40]
push esi
push eax
call fcn.100c5210
mov edi, dword [esp + 0x54]
inc ebx
add esp, 0x18
mov dword [esp + 0x38], ebx
cmp ebx, dword [esp + 0x20]
jl 0x101159d3
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x130
ret