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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa24
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x6c6e71
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa24
ret
mov ecx, dword [0x6b4760]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.006bf6c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x6c6e99
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xa24
ret
mov ax, word [ebp + 0x44]
test ax, ax
je 0x6c746c
cmp ax, 0xffff
je 0x6c746c
mov edx, dword [esp + 0xa3c]
push ebp
and edx, 0xfff
push edx
call fcn.006c6e20
add esp, 8
test ax, ax
je 0x6c6ee1
push ebp
push eax
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov eax, dword [esp + 0xa44]
test eax, eax
je 0x6c6e62
mov esi, dword [esp + 0xa50]
test si, si
jbe 0x6c6e62
cmp si, 0x38
jbe 0x6c6f15
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xa24
ret
xor eax, eax
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
movsx ecx, word [ebp + 0x5a]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x6b106c
push eax
call ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dx, word [ebp + 0x44]
push edx
push 0x6b106c
push eax
call ebx
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa58]
and ecx, 0xffff
push ecx
push 0x6b106c
push edx
stosw word es:[edi], ax
call ebx
mov ecx, dword [esp + 0xa60]
xor eax, eax
mov dword [esp + 0x3c], eax
push ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x44], eax
push 0x6b1160
push edx
mov dword [esp + 0x50], eax
call ebx
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
mov eax, esi
mov esi, dword [esp + 0xa74]
and eax, 0xffff
lea edi, [esp + 0x138]
mov ecx, eax
mov dword [esp + 0x44], eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x138]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc4]
push ecx
push eax
push edx
call fcn.006c8810
mov ecx, dword [esp + 0x50]
xor eax, eax
mov dword [esp + 0x6c], eax
push ecx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
push 0x6b106c
push edx
mov dword [esp + 0x80], eax
call ebx
mov esi, dword [esp + 0xaa0]
add esp, 0x48
mov edi, 0x6b1310
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x6c7063
test al, al
je 0x6c705f
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x6c7063
add esi, 2
add edi, 2
test al, al
jne 0x6c703b
xor eax, eax
jmp 0x6c7068
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6c70c9
mov ecx, dword [esp + 0xa54]
mov dword [esp + 0x48], eax
and ecx, 0xffff
lea edx, [esp + 0x48]
push ecx
mov dword [esp + 0x50], eax
push 0x6b106c
push edx
mov dword [esp + 0x5c], eax
call ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
push 7
push 0x6b1064
call fcn.006c9000
add esp, 0x30
jmp 0x6c70f9
lea ecx, [esp + 0x30]
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push 6
push 0x6b1064
call fcn.006c9000
add esp, 0x20
mov edx, eax
test edx, edx
jne 0x6c7115
push ebp
push 0x4a
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x584]
lea ebx, [esp + 0x584]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_free]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
xor ecx, ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], ecx
lea eax, [esp + 0x588]
mov dword [esp + 0x5c], ecx
push edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xa60]
push eax
push ecx
push 3
push 0x6b0f60
call fcn.006c9000
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x6c71a0
push ebp
push 0x4a
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3f4]
lea esi, [esp + 0x3f4]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x3f8]
push ecx
call fcn.006c90e0
mov edx, eax
add esp, 8
test edx, edx
jne 0x6c7209
push ebp
push 0x4a
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x268]
lea edx, [esp + 0x3f8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x268]
push ecx
push ebp
push edx
call fcn.006c53d0
add esp, 0x10
test ax, ax
je 0x6c727b
push ebp
push eax
call fcn.006be670
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
lea eax, [esp + 0x264]
push eax
call fcn.006c8dd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x6c72a7
push ebp
push 0x42
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x714]
lea edx, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x8a4]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x264]
lea eax, [esp + 0x714]
push ecx
push edx
push eax
push esi
push 3
push 0x6b0f60
call fcn.006c8c30
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x6c731b
push ebp
push 0x42
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov esi, 0x6b105c
lea eax, [esp + 0x714]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x6c734f
test cl, cl
je 0x6c734b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x6c734f
add eax, 2
add esi, 2
test cl, cl
jne 0x6c7327
xor eax, eax
jmp 0x6c7354
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6c737b
lea eax, [esp + 0x8a4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.006be740
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x1f0]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1f0]
lea eax, [esp + 0x264]
push ecx
push edx
push eax
push 2
push 0x6b1064
call fcn.006c8c30
add esp, 0x14
test ax, ax
je 0x6c73db
push ebp
push 0x42
call fcn.006be740
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x17c]
lea edx, [esp + 0x94]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x17c]
push ecx
push edx
call fcn.006c88a0
mov edi, dword [esp + 0xa50]
add esp, 8
test edi, edi
je 0x6c7427
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x17c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4c]
test esi, esi
je 0x6c7445
lea ecx, [esp + 0x1f0]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.006be740
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa24
ret
pop edi
pop esi
pop ebp
mov ax, 0x47
pop ebx
add esp, 0xa24
ret