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

Disassembly:
mov ecx, dword [0x6cb24420]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c815881
add esp, 0xffffff80
lea edi, [esp + 0x88]
xor eax, eax
call fcn.6c82c2c5
mov ecx, dword [esp + 0x84]
jmp 0x6c815310
xor eax, eax
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
cmp edx, 2
jge 0x6c815703
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x6c8156a6
mov edx, dword [ecx + 8]
mov ebp, dword [ecx]
dec edx
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 4
dec ebx
mov edi, dword [ebp]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], esi
mov ebx, dword [0x6cb24500]
add edx, ebp
test ebx, ebx
je 0x6c815360
mov ebx, edi
call fcn.6c82c070
mov dword [edi], edx
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [esp + 0x2c], edi
mov dword [ecx], edx
mov dword [esp], edi
call fcn.6c816810
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6c81547a
mov ecx, dword [0x6cae40e0]
test ecx, ecx
jne 0x6c815394
mov ecx, dword [esp + 0x84]
jmp 0x6c81530e
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.6c815890
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 8]
lea ebp, [ecx + ebx]
mov esi, dword [eax + 0xc]
mov edi, dword [esp + 4]
cmp edx, ebp
jae 0x6c815401
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x7c], edi
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x6c9a6120]
mov dword [esp + 0x10], eax
call fcn.6c810610
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x7c], esi
lea eax, [0x6c9a6120]
mov dword [esp], eax
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
imul ecx, ecx, 0x2c
and edx, ecx
lea ecx, [esi + edx]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.6c7d2910
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [0x6cb24500]
test eax, eax
jne 0x6c815461
mov edx, dword [esp + 0x7c]
jmp 0x6c815472
call fcn.6c82c070
mov edx, dword [esp + 0x7c]
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
mov dword [ecx + 0xc], edx
jmp 0x6c81530e
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
mov dword [esp], eax
call fcn.6c816790
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x6c81549f
lea edi, [ecx - 1]
jmp 0x6c8154a1
mov edi, ecx
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.6c817740
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
test eax, eax
jge 0x6c8154ee
mov edx, dword [esp + 0xc]
test edx, edx
je 0x6c8154db
mov ebx, dword [edx + 4]
mov edx, dword [edx + 0x24]
test eax, eax
jmp 0x6c81550f
test eax, eax
mov edx, 0
mov ebx, 0
mov ecx, 0
jmp 0x6c81550f
cmp eax, 0x100000
jae 0x6c815876
mov ebp, dword [esp + 0x14]
test byte [ebp], al
mov esi, eax
shl eax, 4
mov ebx, dword [ebp + eax + 4]
mov edx, dword [ebp + eax + 0xc]
test esi, esi
jl 0x6c815515
xor eax, eax
jmp 0x6c815519
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x44], eax
test ecx, ecx
jne 0x6c81552b
xor ecx, ecx
xor ebx, ebx
jmp 0x6c815541
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.6c8165c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.6c81f270
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
call fcn.6c8140b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x48]
mov edx, eax
xor eax, eax
call fcn.6c82c2c5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
inc ebx
mov ebp, dword [ecx + 0xc]
cmp edx, ebx
jae 0x6c815652
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6c9a6120]
mov dword [esp + 0x10], eax
call fcn.6c810610
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x14], eax
mov eax, dword [0x6cb24500]
test eax, eax
je 0x6c815642
call fcn.6c82c070
mov dword [edi], ecx
mov ebp, dword [ebx + 0xc]
mov dword [edi + 4], ebp
mov dword [ebx + 0xc], ecx
xor eax, eax
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x10], ebx
mov edx, dword [0x6cb24500]
imul ebx, ebx, 0x2c
lea edi, [ebx + ebp - 0x2c]
test edx, edx
je 0x6c815691
mov dword [esp + 0x7c], edi
lea eax, [0x6c9a6120]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.6c7d2860
xor eax, eax
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x48]
call fcn.6c82c772
mov ecx, dword [esp + 0x84]
jmp 0x6c81530e
test edx, edx
je 0x6c8156f7
cmp edx, 1
jne 0x6c8156f2
lea edi, [esp + 0x88]
call fcn.6c82c772
mov eax, dword [esp + 0x84]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 2
mov ecx, dword [0x6cb24500]
lea edx, [eax + 0x18]
test ecx, ecx
je 0x6c8156ea
call fcn.6c82c070
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
mov dword [eax + 0xc], edx
jmp 0x6c8157f4
cmp edx, 2
jmp 0x6c815703
mov byte [esp + 0xb4], 0
sub esp, 0xffffff80
ret
jne 0x6c8157a1
lea edi, [esp + 0x88]
call fcn.6c82c772
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
cmp edx, 1
jbe 0x6c81586a
mov eax, dword [0x6cb24500]
mov edx, dword [ecx + 0xc]
lea edi, [ecx + 0x18]
lea esi, [edx + 0x2c]
lea edx, [ecx + 0x18]
test eax, eax
je 0x6c815782
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edx
mov eax, edi
call fcn.6c82c070
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
lea ebx, [0x6c9a6120]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.6c7d2860
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
call fcn.6c82c772
mov eax, dword [esp + 0x84]
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 2
mov dword [eax + 0xc], edx
jmp 0x6c8157f4
lea edi, [esp + 0x88]
call fcn.6c82c772
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x10]
cmp edx, 1
jb 0x6c81585e
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x14]
dec ebx
dec edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], ebx
mov edx, dword [0x6cb24500]
neg ebx
sar ebx, 0x1f
and ebx, 0x2c
add eax, ebx
test edx, edx
je 0x6c8157ef
call fcn.6c82c070
mov dword [edi], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 4], edx
mov dword [ecx + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0xac]
mov eax, dword [eax + 0x10]
test ecx, ecx
je 0x6c81584e
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.6c817200
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
test eax, eax
setne al
mov byte [esp + 0xb4], al
sub esp, 0xffffff80
ret
mov eax, 1
xor ecx, ecx
call fcn.6c82c140
mov eax, 1
mov ecx, edx
call fcn.6c82c0e0
mov ecx, 0x100000
call fcn.6c82c0e0
nop
call fcn.6c82ac40
jmp fcn.6c8152e0