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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov esi, dword [ebx + 0x58]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x60], ebx
cmp word [esi + 0x492be], 0
movzx eax, word [esi + 0x1e]
mov dword [esp + 0x40], eax
je 0x10141bf7
push 0
push edi
mov ecx, esi
call fcn.101433e0
mov ebp, eax
jmp 0x10141c0a
mov ebp, dword [esi + 0x188]
mov ecx, edi
and ecx, 7
shl ecx, 2
shr ebp, cl
and ebp, 3
and ebp, 1
cmp word [esi + 0x492be], 0
mov dword [esp + 0x44], ebp
je 0x10141c28
push ebp
push edi
mov ecx, esi
call fcn.101433e0
mov esi, eax
jmp 0x10141c3e
mov esi, dword [esi + 0x188]
mov ecx, edi
and ecx, 7
add ecx, ecx
or ecx, ebp
add ecx, ecx
shr esi, cl
and esi, 3
mov edx, dword [ebx + 4]
mov ecx, edx
mov eax, edx
mov dword [esp + 0x84], 0xffffffff
neg eax
not ecx
mov dword [esp + 0x78], eax
mov eax, 1
sub eax, edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
lea eax, [edx - 1]
mov dword [esp + 0x88], eax
lea eax, [edi + 4]
imul eax, edx
xor edx, edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x40], edx
jbe 0x10141eda
xor esi, 2
lea edi, [ebx + 8]
mov dword [esp + 0x48], esi
mov dword [esp + 0x70], edi
add eax, edx
mov dword [esp + 0x38], edi
xor esi, esi
lea ebx, [esp + 0x74]
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], esi
lea ecx, [eax + eax*2]
mov dword [esp + 0x1c], ebx
add ecx, ecx
mov eax, edi
and edx, 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
nop word [eax + eax]
mov edi, dword [eax]
add ecx, 0x18
add edi, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
cmp edx, ebp
je 0x10141cf0
lea eax, [esi + esi]
xor ecx, eax
mov dword [esp + 0x14], ecx
xor esi, esi
xor edx, edx
mov dword [esp + 0x28], esi
lea esi, [ecx + ecx]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], esi
jmp 0x10141d09
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + edx*4]
xor ecx, ecx
mov dword [esp + 0x2c], ebx
lea eax, [eax + eax*2]
lea eax, [edi + eax*2]
movzx edx, word [esi + eax]
movzx eax, word [eax + 2]
mov dword [esp + 0x24], eax
movzx eax, word [edi + 2]
add eax, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov eax, ebx
mov esi, dword [eax]
mov edx, dword [esp + 0x14]
lea eax, [esi + esi*2]
sub edx, eax
movzx ebx, word [edi + edx*2]
lea edx, [esi + esi*2]
mov esi, dword [esp + 0x4c]
add edx, edx
sub edi, edx
sub esi, ebx
mov edx, esi
sar edx, 0x1f
movzx edi, word [edi + 2]
mov ebp, edi
sub ebp, ebx
mov ebx, dword [esp + 0x50]
sub ebp, dword [esp + 0x24]
sub ebx, edi
add ebp, dword [esp + 0x4c]
sub ebx, dword [esp + 0x24]
mov eax, ebp
sar eax, 0x1f
mov edi, ebx
mov dword [esp + 0x54], eax
mov eax, edx
xor eax, esi
sar edi, 0x1f
sub eax, edx
cdq
and edx, 3
lea esi, [edx + eax]
mov eax, dword [esp + 0x54]
xor eax, ebp
sar esi, 2
sub eax, dword [esp + 0x54]
cdq
and edx, 3
add eax, edx
sar eax, 2
add esi, eax
mov eax, edi
xor eax, ebx
mov ebx, dword [esp + 0x28]
add esi, eax
sub esi, edi
test ebx, ebx
je 0x10141db6
cmp esi, ebx
jge 0x10141dcc
mov edx, dword [esp + 0x10]
mov ebx, ecx
mov ebp, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
jmp 0x10141dd8
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
inc ecx
mov edi, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 3
jl 0x10141d34
mov esi, dword [esp + 0x30]
inc edx
mov dword [esp + 0x10], edx
cmp edx, 3
jl 0x10141d05
mov ecx, dword [esp + 0x20]
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + eax*4 + 0x74]
lea eax, [ecx + ebp]
mov edi, dword [esp + eax*4 + 0x74]
mov ebp, dword [esp + 0x14]
mov ecx, ebp
lea eax, [edx + edx*2]
sub ecx, eax
lea eax, [edx + edx*2]
add eax, eax
movzx esi, word [ebx + ecx*2]
mov ecx, ebx
sub ecx, eax
movzx ecx, word [ecx + 2]
sub esi, ecx
lea ecx, [edi*2]
add ecx, ebp
add ecx, edi
movzx eax, word [ebx + ecx*2]
lea ecx, [edi + edi*2]
movzx ecx, word [ebx + ecx*2 + 2]
add eax, esi
sub eax, ecx
movzx ecx, word [ebx + 2]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x60]
sar edx, 1
add edx, ecx
movzx ecx, word [eax + ebp*2 + 0x24]
cmp edx, ecx
jg 0x10141e78
movzx eax, word [eax + ebp*2 + 0x2c]
mov ecx, edx
cmp edx, eax
cmovl ecx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add edx, 3
mov ebp, dword [esp + 0x44]
inc esi
mov word [eax + ebx], cx
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
add eax, 4
mov ecx, dword [esp + 0x64]
add ebx, 0xc
mov dword [esp + 0x20], edx
cmp edx, 6
mov edx, dword [esp + 0x68]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ebx
jl 0x10141cd0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
inc edx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x40]
jl 0x10141ca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4