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

Disassembly:
sub esp, 0x74
and dword [esp + 0x18], 0
mov eax, ecx
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
mov dword [esp + 0x2c], eax
movzx edi, byte [ebx + 0x2c]
mov ebp, dword [ebx + 0x300]
mov eax, dword [ebx + 0xc]
shr edi, 3
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x1000e80d
movzx ecx, word [ebp + 0x18]
movzx esi, word [ebp + 0x1a]
mov eax, ecx
imul esi, eax
add eax, 7
shr eax, 3
mov dword [esp + 0x78], eax
mov eax, ecx
mov dword [esp + 0x38], eax
imul esi, edi
cmp dword [ebx + 0x2f4], esi
jge 0x1000e3a3
lfence
mov ecx, dword [ebx + 0x2f8]
test ecx, ecx
je 0x1000e388
call fcn.1001ce4a
mov ecx, esi
call fcn.1001cda8
mov dword [ebx + 0x2f8], eax
mov dword [ebx + 0x2f4], esi
movzx eax, word [ebp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x10], eax
push 0
mov ecx, dword [ecx + 0x7888]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x3c]
movzx esi, ax
pop eax
cmovns eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
lea esi, [esi + edx]
sub eax, ecx
xor ecx, ecx
test edx, edx
cmovns eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
cmp esi, eax
lea ecx, [eax - 1]
cmovl ecx, esi
mov eax, ecx
mov dword [esp + 0x80], ecx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x1000e80d
mov eax, dword [esp + 0x2c]
lfence
movzx esi, word [ebp + 0x1e]
push 0
mov ecx, dword [eax + 0x788c]
mov edx, ecx
sub edx, esi
mov dword [esp + 0x24], esi
movzx esi, word [ebp + 0x1a]
pop eax
cmovns eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea esi, [esi + edx]
sub eax, ecx
xor ecx, ecx
test edx, edx
cmovns eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
cmp esi, eax
lea ecx, [eax - 1]
cmovl ecx, esi
mov eax, ecx
mov dword [esp + 0x7c], ecx
sub eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x1000e80d
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov ebp, dword [esp + 0x14]
imul eax, edi
lfence
mov dword [esp + 0x2c], ecx
lfence
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
imul eax, edi
xor edx, edx
mov dword [esp + 0x24], edx
mov edi, eax
mov eax, dword [ebx + 0x2f8]
lea esi, [ecx + ebp]
imul esi, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x58], eax
add esi, dword [ebx + 0x304]
add esi, dword [esp + 0x54]
cmp dword [esp + 0x28], 0
jne 0x1000e4c0
push edi
push esi
push eax
call sub.ntdll.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1000e4d3
mov eax, dword [esp + 0x58]
push edi
push esi
push eax
mov dword [esp + 0x34], 1
call fcn.10027640
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
inc ecx
add edx, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [esp + 0x38]
jl 0x1000e488
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
cmp dword [ebp + 0x2c], 0
jne 0x1000e503
mov edx, ebp
mov ecx, ebx
call fcn.1000e07e
cmp dword [ebp + 0x30], 0
je 0x1000e757
movzx ecx, byte [ebx + 0x36]
movzx eax, word [ebx + 0x30]
movzx edx, byte [ebx + 0x37]
movzx esi, byte [ebx + 0x38]
shl eax, cl
mov dword [esp + 0x60], eax
movzx eax, word [ebx + 0x32]
mov dword [esp + 0x2c], ecx
mov ecx, edx
shl eax, cl
mov ecx, esi
mov dword [esp + 0x3c], eax
movzx eax, word [ebx + 0x34]
shl eax, cl
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], 0xff
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x20]
add esi, edx
imul esi, dword [esp + 0x30]
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x18]
movzx eax, word [ebp + 0x18]
add edx, ecx
imul eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
imul edx, edi
add edx, dword [ebx + 0x304]
add edx, esi
lea esi, [eax + ecx]
add esi, dword [esp + 0x1c]
add ecx, eax
add ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x30]
imul esi, edi
mov dword [esp + 0x54], edx
movzx eax, byte [ecx + eax]
mov dword [esp + 0x44], eax
add esi, dword [ebp + 0x2c]
mov dword [esp + 0x4c], esi
test eax, eax
je 0x1000e728
cmp edi, 1
jne 0x1000e5cd
movzx edx, byte [edx]
movzx esi, byte [esi]
jmp 0x1000e620
cmp edi, 2
jne 0x1000e5da
movzx edx, word [edx]
movzx esi, word [esi]
jmp 0x1000e620
cmp edi, 3
jne 0x1000e613
mov ecx, dword [esp + 0x54]
movzx edx, byte [edx + 2]
movzx esi, byte [esi + 2]
shl edx, 8
movzx eax, byte [ecx + 1]
or edx, eax
shl esi, 8
movzx eax, byte [ecx]
mov ecx, dword [esp + 0x4c]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
or esi, eax
movzx eax, byte [ecx]
shl esi, 8
or esi, eax
jmp 0x1000e620
cmp edi, 4
jne 0x1000e728
mov edx, dword [edx]
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
mov eax, edx
and eax, dword [esp + 0x60]
mov edi, esi
and edi, dword [esp + 0x3c]
shr eax, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov eax, edx
and eax, dword [esp + 0x3c]
and edx, dword [esp + 0x40]
shr eax, cl
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov eax, esi
and eax, dword [esp + 0x60]
and esi, dword [esp + 0x40]
shr edx, cl
mov ecx, dword [esp + 0x2c]
shr eax, cl
mov ecx, dword [esp + 0x28]
shr edi, cl
mov ecx, dword [esp + 0x24]
shr esi, cl
cmp dword [ebp + 0x34], 0
mov dword [esp + 0x68], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x6c], esi
jne 0x1000e6b5
mov ecx, dword [esp + 0x44]
imul eax, ecx
imul edi, ecx
imul esi, ecx
cdq
idiv dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, edi
cdq
mov edi, 0xff
idiv edi
mov dword [esp + 0x48], eax
mov eax, esi
cdq
mov esi, edi
idiv esi
mov edx, dword [esp + 0x68]
mov ecx, eax
jmp 0x1000e6be
mov ecx, dword [esp + 0x6c]
mov esi, 0xff
mov edi, esi
sub edi, dword [esp + 0x44]
mov eax, edi
imul eax, edx
cdq
idiv esi
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x24]
mov eax, edi
shl esi, cl
imul eax, dword [esp + 0x70]
mov ecx, 0xff
imul edi, dword [esp + 0x74]
cdq
idiv ecx
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x48]
shl eax, cl
mov ecx, 0xff
or esi, eax
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
shl eax, cl
or esi, eax
lea eax, [esp + 0x74]
push edi
push eax
push dword [esp + 0x5c]
mov dword [esp + 0x80], esi
call fcn.10027640
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x34]
jl 0x1000e574
mov edx, dword [esp + 0x58]
inc edx
mov dword [esp + 0x58], edx
cmp edx, dword [esp + 0x38]
jl 0x1000e555
jmp 0x1000e7f0
xor eax, eax
mov dword [esp + 0x2c], eax
add eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x70], eax
imul eax, dword [esp + 0x78]
lfence
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x10]
add ecx, esi
mov eax, ecx
and ecx, 7
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x74]
sar eax, 3
add eax, dword [ebp + 0x14]
movzx eax, byte [eax + edx]
shl eax, cl
test al, al
jns 0x1000e7d6
movzx eax, word [ebp + 0x18]
imul eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x30]
push edi
add eax, dword [esp + 0x14]
add eax, esi
imul eax, edi
add eax, dword [ebp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
add eax, esi
imul eax, edi
add ecx, eax
add ecx, dword [ebx + 0x304]
push ecx
call fcn.10027640
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x34]
jl 0x1000e773
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x38]
jl 0x1000e75d
push dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x84]
push dword [esp + 0x1c]
call fcn.10012f0b
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret