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

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebp, dword [edi + 4]
mov esi, dword [edi]
mov ebx, dword [edi + 8]
cmp byte [ebp + 0x10], 0x4c
setne al
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp edx, 2
jne 0x6c8463
cmp byte [ebp + 0x11], 0x5a
jne 0x6c8463
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x6c84d7
cmp byte [ebp + 0x10], 0x59
jne 0x6c84c4
mov edi, dword [ebx + 0x74]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x2c]
push ecx
cmp edx, 2
jne 0x6c84b0
cmp byte [ebp + 0x11], 0x56
jne 0x6c849c
push dword [edi + 0x20]
push eax
push dword [edi + 0x28]
push 0x37
push edi
call fcn.006c8850
add esp, 0x18
jmp 0x6c84ed
push dword [edi + 0x28]
push eax
push dword [edi + 0x20]
push 0x39
push edi
call fcn.006c8850
add esp, 0x18
jmp 0x6c84ed
push dword [edi + 0x28]
push eax
push dword [edi + 0x30]
push 0x36
push edi
call fcn.006c8850
add esp, 0x18
jmp 0x6c84d3
push 1
push ecx
push eax
push 0x31
push ebx
call fcn.006a0ac0
add esp, 0x14
mov edx, dword [esp + 0x30]
cmp edx, 1
jne 0x6c84f1
cmp dword [ebp + 0x58], 0
jne 0x6c84f1
push 0
push edi
call fcn.006c75f0
add esp, 8
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x24], eax
mov al, byte [ebp + 0x11]
cmp al, byte [ebp + 0x12]
jne 0x6c8603
cmp dword [esp + 0x34], 0
je 0x6c8603
cmp byte [ebp + 0x10], 0x59
jne 0x6c8603
mov al, byte [esi + 0x13]
test al, al
jne 0x6c8528
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
jmp 0x6c8537
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x98]
mov al, byte [esi + 0x13]
mov dword [esp + 0x2c], ecx
test al, al
jne 0x6c854a
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x6c8559
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov dword [esp + 0x10], eax
cmp edx, 2
jne 0x6c859c
push ecx
push dword [edi + 0x20]
push 0x86
push ebx
call fcn.006a0a60
push dword [esp + 0x20]
push dword [edi + 0x30]
push 0x86
push ebx
call fcn.006a0a60
push dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x39
push ebx
call fcn.006a0ac0
add esp, 0x34
jmp 0x6c85c7
cmp dword [edi + 0x1c], 0
je 0x6c85cb
push ecx
push dword [edi + 0x30]
push 0x86
push ebx
call fcn.006a0a60
push dword [esp + 0x3c]
push dword [esp + 0x28]
push dword [edi + 0x1c]
push 0x39
push ebx
call fcn.006a0ac0
add esp, 0x24
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x6c85e7
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x6c85e7
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x6c8603
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x6c8603
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
mov eax, edx
dec eax
je 0x6c867a
dec eax
je 0x6c8643
cmp dword [ebp + 0x58], 0
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
je 0x6c8631
push 1
push dword [ebp + 0x5c]
push 0x55
push ebx
call fcn.006a0a60
add esp, 0x10
jmp 0x6c8691
push dword [edi + 0x14]
push 0
push eax
push ebp
push edi
call fcn.006c7930
add esp, 0x14
jmp 0x6c8691
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x6c8668
push 1
push ecx
push 0x55
push ebx
call fcn.006a0a60
add esp, 0x10
jmp 0x6c8691
push dword [edi + 0x14]
push 1
push eax
push ebp
push edi
call fcn.006c7930
add esp, 0x14
jmp 0x6c8691
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x2c]
push edi
mov dword [esp + 0x14], eax
call fcn.006c9940
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, dword [edi + 0x18]
jne 0x6c86c3
push dword [esp + 0x2c]
push 0x81
push ebx
call fcn.006a0a00
mov eax, dword [ebx + 0x74]
add esp, 0xc
test eax, eax
jle 0x6c86c3
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [ebx + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp dword [esp + 0x38], 0
mov eax, dword [ebx + 0x74]
je 0x6c8738
add eax, 2
push eax
push dword [esp + 0x30]
push 5
push ebx
call fcn.006a0a60
mov edx, dword [ebx + 0x74]
add esp, 0x10
mov dword [esp + 0x1c], edx
cmp dword [ebx + 0x78], edx
jg 0x6c8703
push 0
push 0
push 0
push 0xb
push ebx
call fcn.00655560
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x6c876b
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x6c876b
mov ecx, dword [esp + 0x18]
inc ecx
add eax, ecx
push eax
push dword [esp + 0x30]
push 5
push ebx
call fcn.006a0a60
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x6c87ef
push dword [esp + 0x14]
push 0
push 0xb
push ebx
call fcn.006a0a60
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x6c87ef
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x6c878f
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x6c8797
push ecx
push esi
call fcn.00689440
add esp, 8
jmp 0x6c8799
mov dword [esp + 0x18], 0
xor eax, eax
push eax
push dword [esp + 0x30]
mov dword [esp + 0x38], eax
push edi
call fcn.006c9830
push dword [esp + 0x30]
mov edi, dword [esp + 0x40]
push dword [esp + 0x20]
push edi
push dword [ebp + 0xc]
push esi
call fcn.006c9430
mov eax, dword [esp + 0x38]
add esp, 0x20
cmp eax, 1
jne 0x6c87e4
test edi, edi
je 0x6c87ef
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x6c87ef
movzx eax, al
mov dword [esi + eax*4 + 0x98], edi
inc byte [esi + 0x13]
jmp 0x6c87ef
cmp eax, dword [esi + 0x1c]
jle 0x6c87ef
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6c8805
push eax
push 0
push 0xb
push ebx
call fcn.006a0a60
add esp, 0x10
mov edx, dword [ebx + 0xc]
mov ebp, dword [esp + 0x14]
not ebp
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x6c882d
push ebp
push ebx
push edx
call fcn.00667600
mov eax, dword [esp + 0x28]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [edx + 0x40]
mov ecx, dword [ebx + 0x74]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [edx + ebp*4], ecx
pop ebp
pop ebx
add esp, 0x18
ret