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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x174], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
movzx eax, byte [edx]
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, dword [eax*4 + 0x10910ea8]
mov esi, dword [eax*4 + 0x10910ef8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
cmp edi, esi
je 0x10267271
jle 0x1026724d
lea eax, [esi + esi]
cmp edi, eax
jne 0x10267238
mov dword [esp + 0x20], 1
jmp 0x10267279
lea eax, [esi*4]
cmp edi, eax
jne 0x10267271
mov dword [esp + 0x20], 2
jmp 0x10267279
lea eax, [edi + edi]
cmp esi, eax
jne 0x1026725e
mov dword [esp + 0x20], 0xffffffff
jmp 0x10267279
lea eax, [edi*4]
mov dword [esp + 0x20], 0xfffffffe
cmp esi, eax
je 0x10267279
mov dword [esp + 0x20], 0
xor ecx, ecx
cmp dword [edx + 0x2c], ecx
mov edx, dword [ebp + 0x1c]
jle 0x102672b4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
nop dword [eax + eax]
cmp ecx, 0xc
jge 0x102672ac
mov al, byte [edi + ecx + 0x12]
inc al
add al, byte [esi]
add al, dl
mov byte [esp + ecx + 0x164], al
inc ecx
cmp ecx, dword [edi + 0x2c]
jl 0x10267290
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cmp dword [eax + 0x30], ecx
jle 0x102672ec
mov esi, dword [esp + 0x28]
mov edi, eax
cmp ecx, 0xc
jge 0x102672e4
mov al, byte [ecx + edi + 0x1e]
inc al
add al, byte [esi + 1]
add al, byte [esi]
add al, dl
mov byte [esp + ecx + 0x170], al
inc ecx
cmp ecx, dword [edi + 0x30]
jl 0x102672c5
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + 0x10]
mov byte [esp + 0x50], al
movzx eax, byte [ecx + 0x11]
mov byte [esp + 0x54], al
movzx eax, byte [ecx + 0x2a]
push eax
call fcn.10267650
mov dword [esp + 0x44], eax
movzx eax, byte [ecx + 0x2b]
push eax
call fcn.10267650
mov dword [esp + 0x60], eax
lea edx, [esi*4]
mov eax, dword [esp + 0x1c]
add esp, 8
add eax, edx
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
test edi, edi
jle 0x10267486
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
lea eax, [edi*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
lea eax, [eax + edi*4]
add eax, 0xfffffffc
mov dword [esp + 0x3c], eax
nop word [eax + eax]
cmp dword [ecx + 4], 0
jne 0x1026739b
xor ecx, ecx
test esi, esi
jle 0x102673d7
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
movsx eax, word [edx]
mov dword [edi + ecx*4], eax
inc ecx
lea edx, [edx + esi*2]
mov esi, dword [esp + 0x24]
cmp ecx, esi
jl 0x10267384
jmp 0x102673d3
xor ecx, ecx
test esi, esi
jle 0x102673d7
mov eax, dword [ebp + 0x10]
neg eax
add eax, eax
mov dword [esp + 0x4c], eax
lea eax, [esi - 1]
imul eax, dword [ebp + 0x10]
add eax, edx
mov edx, dword [ebp + 8]
lea edx, [edx + eax*2]
nop dword [eax + eax]
mov edi, dword [esp + 0x14]
movsx eax, word [edx]
add edx, dword [esp + 0x4c]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x102673c0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
movsx eax, byte [eax]
neg eax
push eax
push esi
push dword [esp + 0x1c]
call dword [0x10b48568]
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x60]
push dword [esp + 0x44]
push dword [esp + 0x2c]
call dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
movsx eax, byte [eax + 1]
neg eax
push eax
push esi
push dword [esp + 0x54]
call dword [0x10b48568]
mov eax, dword [esp + 0x44]
xor ecx, ecx
add esp, 0x28
cmp dword [eax + 8], ecx
jne 0x10267444
test esi, esi
jle 0x10267462
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + ecx*4]
inc ecx
mov dword [edx], eax
add edx, dword [esp + 0x44]
cmp ecx, esi
jl 0x10267434
jmp 0x1026745e
test esi, esi
jle 0x10267462
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + ecx*4]
inc ecx
mov dword [edx], eax
add edx, dword [esp + 0x44]
cmp ecx, esi
jl 0x10267450
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
add dword [esp + 0x34], 2
inc edx
add dword [esp + 0x38], 4
sub dword [esp + 0x3c], 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], edx
cmp edx, edi
jl 0x10267370
test esi, esi
jle 0x10267634
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x40], eax
nop
lea eax, [esp + 0x170]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x68]
push eax
push ecx
call dword [esp + 0x68]
mov eax, dword [esp + 0x38]
movsx eax, byte [eax + 2]
neg eax
push eax
lea eax, [esp + 0x74]
push edi
push eax
call dword [0x10b48568]
add esp, 0x1c
cmp dword [esp + 0x40], 1
jne 0x102675ef
xor ecx, ecx
test edi, edi
jle 0x102675ef
cmp edi, 8
jb 0x102675cb
cmp dword [0x10b47804], 6
jl 0x102675cb
mov eax, edi
and eax, 0x80000007
jns 0x10267509
dec eax
or eax, 0xfffffff8
inc eax
movaps xmm1, xmmword [0x10912340]
mov edx, edi
movaps xmm2, xmmword [0x10912350]
sub edx, eax
movaps xmm3, xmmword [0x107d3520]
psllq xmm1, 0xb
nop word [eax + eax]
pmovsxdq xmm0, qword [esp + ecx*4 + 0x60]
vpmullq xmm0, xmm0, xmm2
paddq xmm0, xmm1
vpsraq xmm0, xmm0, 0xc
pshufb xmm0, xmm3
movq qword [esp + ecx*4 + 0x60], xmm0
pmovsxdq xmm0, qword [esp + ecx*4 + 0x68]
vpmullq xmm0, xmm0, xmm2
paddq xmm0, xmm1
vpsraq xmm0, xmm0, 0xc
pshufb xmm0, xmm3
movq qword [esp + ecx*4 + 0x68], xmm0
pmovsxdq xmm0, qword [esp + ecx*4 + 0x70]
vpmullq xmm0, xmm0, xmm2
paddq xmm0, xmm1
vpsraq xmm0, xmm0, 0xc
pshufb xmm0, xmm3
movq qword [esp + ecx*4 + 0x70], xmm0
pmovsxdq xmm0, qword [esp + ecx*4 + 0x78]
vpmullq xmm0, xmm0, xmm2
paddq xmm0, xmm1
vpsraq xmm0, xmm0, 0xc
pshufb xmm0, xmm3
movq qword [esp + ecx*4 + 0x78], xmm0
add ecx, 8
cmp ecx, edx
jl 0x10267530
cmp ecx, edi
jge 0x102675ef
mov esi, 0x16a1
mov eax, dword [esp + ecx*4 + 0x60]
imul esi
add eax, 0x800
adc edx, 0
shrd eax, edx, 0xc
mov dword [esp + ecx*4 + 0x60], eax
inc ecx
cmp ecx, edi
jl 0x102675d0
xor eax, eax
jmp 0x102675f5
xor eax, eax
test edi, edi
jle 0x10267611
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
nop dword [eax]
mov ecx, dword [esp + eax*4 + 0x60]
inc eax
mov dword [edx], ecx
add edx, esi
cmp eax, edi
jl 0x10267600
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
lea eax, [edi*4]
add dword [esp + 0x14], 4
add ecx, eax
sub esi, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], esi
jne 0x102674a0
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret