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

Disassembly:
sub esp, 0x17c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x19c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x1b0]
mov dword [esp + 0x6c], ebx
add ebx, 0xe0
mov eax, dword [eax + 0x3bb8]
mov dword [esp + 0x58], eax
xor eax, eax
cmp byte [esp + 0x1c4], 0x18
sete al
mov edx, dword [esp + 0x1b8]
mov dword [esp + 0x30], eax
xor eax, eax
cmp dword [esp + 0x1d0], eax
mov esi, dword [esp + 0x198]
sete al
mov edi, dword [esp + 0x190]
xor ebp, ebp
mov dword [esp + 0x70], ecx
lea eax, [eax*2 + 1]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1bc]
mov dword [edi], 0
mov dword [ecx], 1
mov dword [ecx + 4], 0
mov dword [esi], 1
mov dword [esi + 4], 0
mov ecx, dword [ebx + 0x1008]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edx
mov dl, byte [esp + 0x1c0]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0xd0], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xd4], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0xd8], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0xc4], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x1cc]
shl eax, 2
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x1c4]
sub al, 0xd
mov dword [esp + 0x74], esi
mov byte [esp + 0x13], al
mov eax, 0xc
sub eax, dword [esp + 0x1b4]
movzx esi, dl
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x4c], eax
nop dword [eax]
mov eax, dword [esi*4 + 0x107fb050]
imul edi, ebp, 0x538
add edi, ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], edi
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
lea eax, [edx + eax*2]
lea eax, [ecx + eax*2]
mov edi, dword [eax*4 + 0x106341d0]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], edi
mov esi, dword [eax + ebp*4]
mov ebx, esi
imul ebx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], esi
shl ebx, 2
sar ebx, cl
mov ecx, edx
add ebx, dword [eax + ebp*4]
mov eax, dword [esp + 0x20]
sar eax, cl
mov ecx, dword [esp + 0x1b4]
add ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
nop
cmp byte [esp + 0x13], 0xb
ja 0x1015d7d6
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x88], 0
mov eax, dword [ebx + 0xfd0]
mov eax, dword [eax]
add eax, dword [esp + 0x4c]
mov eax, dword [eax + ecx]
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0xb8], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + ebp*4 + 0xb8]
mov dword [esp + 0x8c], ecx
test ebp, ebp
je 0x1015d581
mov ecx, dword [eax + 4]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x24]
jmp 0x1015d590
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1008]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [esp + 0x88]
mov edx, dword [eax + 0x8c]
mov eax, dword [esp + 0x38]
movzx ebp, byte [ecx + 0x107faba0]
shr edx, 3
and edx, 1
mov dword [esp + 0x138], ebp
mov esi, dword [eax + 0x18]
mov edi, dword [eax + 0x14]
movzx eax, byte [ecx + 0x107fabb8]
mov ecx, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x1c8]
shl eax, 2
sar eax, cl
mov ecx, edi
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x20]
sar eax, cl
mov ecx, esi
mov dword [esp + 0x144], eax
mov eax, dword [ebx + 0x1a78]
xor ebx, ebx
mov dword [esp + 0x168], eax
mov eax, 0x1000
mov dword [esp + 0x16c], edx
mov edx, 0x120
sar edx, cl
mov ecx, edi
shl edx, 0xa
sub eax, edx
mov dword [esp + 0x160], esi
mov dword [esp + 0x180], eax
mov edx, 0x120
sar edx, cl
mov eax, 0x1000
shl edx, 0xa
mov ecx, 0x107fa80c
sub eax, edx
mov dword [esp + 0x15c], edi
mov edx, dword [esp + 0x18]
cmp ebp, 4
mov dword [esp + 0x184], eax
mov eax, 0x107fa480
cmovbe eax, ecx
mov dword [esp + 0x17c], 0
cmp dword [esp + 0x50], 4
mov dword [esp + 0x130], eax
mov eax, 0x107fa480
cmovbe eax, ecx
mov esi, dword [edx + 0x2b7c]
cmp byte [esp + 0x1c4], 0x18
mov dword [esp + 0x134], eax
mov eax, dword [edx + 0x1000]
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x158], eax
mov eax, 1
cmove ebx, eax
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
xor eax, eax
mov dword [esp + 0xe0], ebx
mov ebx, dword [esp + 0x1c4]
cmp bl, 0x18
movups xmmword [esp + 0x148], xmm0
setne al
mov dword [esp + 0xa4], 0
xor ecx, ecx
mov dword [esp + 0x94], 3
cmp bl, 0x18
setne cl
lea eax, [eax*4 + 7]
mov dword [esp + 0x98], eax
lea ecx, [ecx*4 + 7]
mov edx, dword [edx + 0x1a78]
add edx, 6
cmp edx, 0x10
jle 0x1015d757
lea eax, [edx - 0xd]
mov dword [esp + 0x94], eax
cmp bl, 0x18
je 0x1015d757
sub ecx, edx
add ecx, 0x10
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x90], 0x80
movups xmm0, xmmword [esp + 0x88]
push eax
mov dword [esp + 0xa0], ebp
lea eax, [esp + 0x58]
movups xmmword [esp + 0x10c], xmm0
push eax
movups xmm0, xmmword [esp + 0xa0]
push esi
push ebx
movups xmmword [esp + 0x128], xmm0
movq xmm0, qword [esp + 0xb8]
movq qword [esp + 0x138], xmm0
call fcn.10115760
mov edi, dword [esp + 0x38]
add esp, 0x10
jmp 0x1015d81c
push ebp
movzx eax, byte [edi + 0x107fad08]
push 0
push 0
mov ecx, dword [esp + 0x64]
push esi
push ebx
push esi
push ebx
push 5
push 0
push 0
push dword [esp + 0x1ec]
push eax
movzx eax, byte [edi + 0x107fabb8]
push eax
movzx eax, byte [edi + 0x107faba0]
push eax
movzx eax, byte [ecx + 0x3d]
push eax
push dword [ecx + 0x1c]
push dword [esp + 0x58]
call fcn.100f8590
add esp, 0x44
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
mov edx, dword [esp + 0x30]
add ecx, 4
mov ebx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
cmp eax, edx
jl 0x1015d510
movzx edx, byte [edi + 0x107faba0]
lea eax, [esp + 0xb0]
push eax
mov esi, dword [esp + ebp*4 + 0xc8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
push dword [esp + 0x1e0]
movzx eax, byte [edi + 0x107fad08]
push eax
movzx eax, byte [edi + 0x107fabb8]
push eax
mov edi, dword [esp + 0x50]
push edx
push dword [esp + 0x78]
mov eax, dword [esp + 0x40]
push dword [esp + 0x80]
mov ecx, dword [edi + 0x18]
push dword [esp + 0x88]
mov dword [esp + 0x68], 1
push dword [esp + 0x5c]
mov dword [esp + 0x70], 0
push ebx
push esi
imul esi, dword [esp + 0x1fc]
shl esi, 2
sar esi, cl
mov ecx, dword [edi + 0x14]
add esi, dword [esp + ebp*4 + 0x104]
sar eax, cl
add esi, eax
push esi
push edx
push dword [esp + 0xa4]
push dword [esp + 0xac]
call fcn.10161120
mov ecx, dword [esp + 0xb4]
add esp, 0x44
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x80]
add dword [ecx], eax
mov eax, dword [esp + 0x44]
adc dword [ecx + 4], eax
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0xb0]
add dword [ecx], eax
mov eax, dword [esp + 0xb4]
adc dword [ecx + 4], eax
inc ebp
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ebp
add dword [ecx], eax
cmp ebp, dword [esp + 0x7c]
jl 0x1015d4a0
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x17c
ret