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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov esi, 0xffffffff
cmp dword [esp + 0x7c], 0x944
jb 0x6b6e70d0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx]
movzx ebp, bl
lea edx, [eax + 0x270]
cmp ebp, 0xc
mov eax, 0
mov ecx, 0x1b
mov edi, edx
rep stosd dword es:[edi], eax
mov esi, 0xffffffd4
ja 0x6b6e70d0
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x78]
lea eax, [ecx + 0x4dc]
lea ebx, [ecx + 0x5dc]
lea ecx, [esp + 0x54]
lea edi, [esp + 0x50]
push 0
push 0x368
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push ecx
push edi
push edx
push 0x100
push eax
call fcn.6b6e2010
add esp, 0x28
cmp eax, 0xffffff88
ja 0x6b6e6eac
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0xc]
ja 0x6b6e70d0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
shr eax, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
add eax, 4
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
lea eax, [ecx + 0x9c]
mov ecx, 0xfffffffc
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, 0xffffffcc
inc esi
mov edx, dword [esp + 0x78]
cmp dword [edx + eax*4], 0
lea eax, [eax - 1]
je 0x6b6e6d40
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
lea edx, [eax - 0x9a]
add eax, 0xffffff65
xor ebx, ebx
mov dword [esp + 0x10], edx
cmp edx, 2
jb 0x6b6e6d9b
xor esi, esi
xor edi, edi
nop
nop
nop
nop
nop
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + esi*4 + 0x274]
add ebx, edi
mov dword [edx + esi*4 + 0x2ac], edi
inc esi
cmp eax, esi
mov edi, ebx
jne 0x6b6e6d80
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1c], ebx
mov dword [edx + 0x2a8], ebx
mov edx, dword [esp + 0x50]
test edx, edx
je 0x6b6e6df3
xor ebx, ebx
mov dword [esp], edx
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x78]
movzx edx, byte [esi + ebx + 0x4dc]
mov edi, dword [esi + edx*4 + 0x2a8]
lea ebp, [edi + 1]
mov dword [esi + edx*4 + 0x2a8], ebp
mov byte [esi + edi*2 + 0x2dc], bl
mov byte [esi + edi*2 + 0x2dd], dl
mov edx, dword [esp]
inc ebx
cmp edx, ebx
jne 0x6b6e6dc0
cmp dword [esp + 0x10], 2
mov edx, dword [esp + 0x78]
mov dword [edx + 0x2a8], 0
jb 0x6b6e6eb3
mov esi, dword [esp + 0x78]
sub esi, ecx
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 4]
mov dword [esp], ecx
xor ebx, ebx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [esp + 0x78]
mov edx, dword [edi + ebx*4 + 0x274]
mov ecx, dword [esp]
add ecx, ebx
shl edx, cl
add edx, ebp
mov dword [edi + ebx*4 + 4], ebp
inc ebx
cmp eax, ebx
mov ebp, edx
jne 0x6b6e6e30
mov ecx, dword [esp + 4]
inc ecx
mov edx, dword [esp + 0xc]
mov edi, edx
mov ebx, dword [esp + 0x18]
sub edi, ebx
inc edi
cmp ebx, edi
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ecx
jae 0x6b6e6ec5
cmp dword [esp + 0x10], 2
jb 0x6b6e6ec5
mov ecx, dword [esp + 0x18]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp + 0x78]
mov ebx, dword [ebx + edx*4 + 4]
shr ebx, cl
mov dword [esi + edx*4], ebx
inc edx
cmp eax, edx
jne 0x6b6e6e90
inc ecx
add esi, 0x34
cmp ecx, edi
jb 0x6b6e6e80
jmp 0x6b6e6ebb
mov esi, eax
jmp 0x6b6e70d0
inc dword [esp + 4]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
jmp 0x6b6e6ec9
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov ecx, 0xd
mov edi, ebx
mov esi, dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 4]
je 0x6b6e70bb
mov eax, dword [esp + 0x78]
lea esi, [eax + 0x2dc]
mov dword [esp + 0x2c], esi
mov esi, ecx
sub esi, edx
mov dword [esp + 0x40], esi
add eax, 0x610
mov dword [esp], eax
xor esi, esi
jmp 0x6b6e6f3e
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
add dword [ebx + eax*4], ecx
mov esi, dword [esp + 0x48]
inc esi
cmp esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
je 0x6b6e70bb
mov eax, dword [esp + 0x2c]
movzx edi, byte [eax + esi*2]
mov dword [esp + 0x10], edi
movzx eax, byte [eax + esi*2 + 1]
sub ecx, eax
mov edi, dword [ebx + eax*4]
mov ebx, ecx
mov ecx, edx
sub ecx, ebx
mov edx, 1
shl edx, cl
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], edx
jae 0x6b6e6fb0
lea eax, [edx + edi]
cmp edi, eax
jae 0x6b6e6f10
movzx eax, bl
shl eax, 0x10
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx + 0x1000000]
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + edi*4]
mov edx, dword [esp + 0x30]
nop
nop
mov dword [ecx], eax
add ecx, 4
dec edx
jne 0x6b6e6fa0
jmp 0x6b6e6f10
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x40]
lea ecx, [ebx + eax]
test ecx, ecx
mov eax, 1
cmovg eax, ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x24], edi
mov edi, dword [edx + eax*4 + 0x2a4]
imul esi, ebx, 0x34
add esi, edx
mov edx, dword [esp + 0x1c]
mov ebp, edi
mov dword [esp + 0x20], edi
sub edx, edi
mov dword [esp + 0x34], edx
cmp ecx, 2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ebp, [ecx + edx*4]
mov ecx, 0xd
mov edi, dword [esp]
rep movsd dword es:[edi], dword [esi]
jl 0x6b6e7028
mov ecx, dword [esp]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x6b6e7028
movzx ecx, bl
shl ecx, 0x10
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edx + 0x1000000]
mov edx, ebp
mov dword [edx], ecx
add edx, 4
dec eax
jne 0x6b6e7020
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x34], 0
je 0x6b6e6f10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
lea eax, [eax + ecx*2]
mov dword [esp + 0x20], eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x20]
movzx esi, byte [eax + edi*2]
movzx eax, byte [eax + edi*2 + 1]
mov edx, dword [esp + 4]
sub edx, eax
mov ecx, dword [esp + 0x4c]
sub ecx, edx
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp]
mov ecx, dword [ecx + eax*4]
shl esi, 8
add edx, dword [esp + 0x24]
movzx edx, dl
shl edx, 0x10
add esi, dword [esp + 0x10]
lea edx, [edx + esi + 0x2000000]
lea esi, [ebx + ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp + ecx*4], edx
inc ecx
cmp ecx, esi
jb 0x6b6e70a0
mov ecx, dword [esp]
add dword [ecx + eax*4], ebx
inc edi
cmp edi, dword [esp + 0x34]
jne 0x6b6e7050
jmp 0x6b6e6f10
mov byte [ebp], al
mov byte [ebp + 1], 1
mov byte [ebp + 2], al
mov eax, dword [esp + 0x38]
mov byte [ebp + 3], al
mov esi, dword [esp + 0x3c]
mov eax, esi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret