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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6c7f440c
sub esp, 0x38
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 0x50], eax
jne 0x6c7f43da
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x6c7f43c9
mov ebx, dword [ecx + 0x7c]
test ebx, ebx
jne 0x6c7f43c9
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
jne 0x6c7f43c9
mov ecx, dword [ecx + 0x78]
test ecx, ecx
jne 0x6c7f43c9
cmp dword [edx + 4], 1
jne 0x6c7f43c9
mov eax, dword [eax]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x6c7f40b3
sub ecx, eax
cmp dword [0x6c862184], ecx
jbe 0x6c7f40c4
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.6c80a8c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x6c7f43b8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call fcn.6c80b610
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, 0xfffffffe
je 0x6c7f43a7
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x30]
lea ebx, [edx + 0x27]
cmp byte [edx + 0x27], 1
ja 0x6c7f412a
xor ebp, ebp
jmp 0x6c7f415b
mov ebp, ebx
mov esi, dword [edx + 0x1c]
lea ebx, [ebx + esi*4 + 5]
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
xchg esi, ebx
sete bl
xchg esi, ebx
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x98]
xchg esi, eax
movzx eax, al
xchg esi, eax
dec esi
add eax, ebx
and eax, esi
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x6c7f4396
movzx ebp, byte [edx + 0x25]
xchg ebp, eax
test al, 4
xchg ebp, eax
jne 0x6c7f4396
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.6c80afa0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x27], 3
ja 0x6c7f41a4
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x6c7f41cf
mov ebx, dword [esp + 0x2c]
mov ebp, dword [edx + 0x1c]
lea ebx, [ebx + ebp*4 + 0xd]
mov ebx, dword [ebx]
cmp ebx, 0xffffffff
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x34]
mov edi, dword [esi + 0x98]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
add ebx, edi
and ebx, ebp
test ebx, ebx
je 0x6c7f4257
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], 2
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.6c80b510
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x6c7f4247
cmp eax, 0x100000
jae 0x6c7f4401
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + eax*4 + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.6c80b0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x6c7f424f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
cmp ecx, 8
jge 0x6c7f4268
xor ebx, ebx
jmp 0x6c7f4299
mov dword [esp], eax
lea ecx, [0x6c88f9bf]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
call fcn.6c7c29d0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x28]
test bl, bl
je 0x6c7f42a4
mov ebx, 1
jmp 0x6c7f42de
cmp ecx, 0x11
jge 0x6c7f42ad
xor ebx, ebx
jmp 0x6c7f42de
mov dword [esp], eax
lea ecx, [0x6c89177d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x11
call fcn.6c7c29d0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x28]
test bl, bl
jne 0x6c7f4316
cmp ecx, 8
jge 0x6c7f42eb
xor eax, eax
jmp 0x6c7f4312
mov dword [esp], eax
lea eax, [0x6c88f9af]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
call fcn.6c7c29d0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test al, al
je 0x6c7f4327
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffb
je 0x6c7f4379
add eax, 4
cmp eax, 1
ja 0x6c7f4368
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6c7f43eb
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jb 0x6c7f43eb
sub ecx, eax
cmp ecx, 0x14
ja 0x6c7f43eb
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.6c80a880
mov eax, dword [esp + 8]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x50], eax
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
add esp, 0x38
ret
lea eax, [0x6c890bee]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.6c7f2ef0
mov ecx, 0x100000
call fcn.6c81a4b0
nop
call fcn.6c819000
jmp fcn.6c7f4040