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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push dword [esp + 0x74]
mov esi, dword [ebp + 0x198]
push dword [ebp + 0x64]
push dword [esp + 0x6c]
call fcn.008380ac
mov ecx, dword [ebp + 0x60]
mov edx, eax
mov eax, dword [ebp + 0x1a0]
add esp, 0xc
mov ebx, dword [ebp + 8]
dec ecx
and dword [esp + 0x30], 0
and dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
xor eax, eax
inc eax
mov dword [esp + 0x44], ebx
shl eax, cl
mov ecx, dword [ebp + 0xc]
dec eax
add ebx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov edi, dword [esi + edx*4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x64]
sub ebx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
add ecx, eax
mov eax, ebx
mov dword [esp + 0x48], ecx
sub eax, dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x10]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov eax, ebx
and eax, dword [esp + 0x14]
and dword [esp + 0x1c], 0
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + edx*4], ebp
lea eax, [ecx + eax*8]
lea ebx, [eax + 4]
mov dword [esp + 0x10], eax
lea ecx, [ebp + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ecx
mov ebx, ecx
jmp 0x82640a
dec edx
mov dword [esp + 0x70], edx
cmp edi, dword [esp + 0x40]
jbe 0x82642a
mov edx, dword [esp + 0x24]
mov eax, edi
and eax, dword [esp + 0x14]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x30], edx
mov esi, edx
mov dword [esp + 0x3c], eax
cmovb esi, dword [esp + 0x30]
cmp dword [esp + 0x78], 0
je 0x826335
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jae 0x826335
push dword [esp + 0x48]
mov ebp, dword [esp + 0x48]
push dword [esp + 0x50]
add ebp, edi
push dword [esp + 0x70]
lea eax, [esi + ebp]
push eax
lea eax, [esi + ecx]
push eax
call fcn.006c8ed0
mov ecx, dword [esp + 0x78]
add esi, eax
add esp, 0x14
lea eax, [esi + edi]
cmp eax, dword [esp + 0x28]
jb 0x826362
mov ebp, dword [esp + 0x2c]
add ebp, edi
jmp 0x826362
mov ebp, dword [esp + 0x2c]
add ebp, edi
mov al, byte [esi + ebp]
cmp al, byte [esi + ecx]
jne 0x826362
push dword [esp + 0x68]
lea eax, [esi + 1]
add eax, ebp
push eax
lea eax, [esi + 1]
add eax, ecx
push eax
call fcn.0082aeec
mov ecx, dword [esp + 0x70]
inc esi
add esp, 0xc
add esi, eax
cmp esi, dword [esp + 0x1c]
jbe 0x8263c5
mov eax, ebx
lea ecx, [esi + edi]
sub eax, edi
cmp esi, eax
mov eax, dword [esp + 0x20]
cmovbe ecx, ebx
and dword [esp + 0x50], 0
and dword [esp + 0x58], 0
sub eax, edi
mov dword [esp + 0x50], eax
mov ebx, ecx
inc eax
bsr edx, eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
inc eax
bsr ecx, eax
mov eax, esi
sub eax, dword [esp + 0x1c]
sub edx, ecx
shl eax, 2
cmp eax, edx
jle 0x8263b8
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x50]
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x64]
lea eax, [esi + ecx]
cmp eax, dword [esp + 0x68]
je 0x82642a
mov al, byte [esi + ebp]
cmp al, byte [esi + ecx]
jae 0x8263ec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov dword [eax], edi
cmp edi, dword [esp + 0x38]
jbe 0x82641c
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x10], eax
mov edi, dword [eax]
jmp 0x82640e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [ecx], edi
cmp edi, dword [esp + 0x38]
jbe 0x826422
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x8262bd
jmp 0x82642e
lea eax, [esp + 0x64]
jmp 0x82642e
lea eax, [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc edx
pop edi
and dword [ecx], 0
lea ecx, [ebx - 8]
and dword [eax], 0
cmp ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
cmova edx, ecx
mov ecx, dword [esp + 0x5c]
pop esi
pop ebp
pop ebx
mov dword [ecx + 0x14], edx
add esp, 0x4c
ret