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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
cmp dword [ebp + 8], 0x1c71c71
mov dword [ebp - 0x1c], ecx
ja 0x6c5bb9
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x20], eax
sub eax, esi
sar eax, 4
imul eax, eax, 0x38e38e39
cmp dword [ebp + 8], eax
ja 0x6c5900
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
sub eax, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x6c5b80
mov eax, dword [ebp + 8]
lea eax, [eax + eax*8]
shl eax, 4
mov dword [esp], eax
call fcn.006ff530
mov dword [ebp - 0x28], eax
cmp esi, dword [ebp - 0x20]
je 0x6c5aba
mov ebx, dword [ebp - 0x28]
lea esi, [esi]
test ebx, ebx
je 0x6c5aa5
mov eax, dword [esi]
mov edx, dword [esi + 0x14]
lea ecx, [ebx + 0x24]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
movzx eax, byte [esi + 8]
mov byte [ebx + 8], al
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [esi + 0x2c]
sub esp, 4
lea ecx, [ebx + 0x2c]
mov dword [esp], eax
call fcn.0041f8d0
lea eax, [esi + 0x34]
sub esp, 4
lea ecx, [ebx + 0x34]
mov dword [esp], eax
call fcn.0041f8d0
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x6c]
sub esp, 4
sub edi, dword [esi + 0x68]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x5c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x5c], edx
xor edx, edx
mov dword [ebx + 0x58], eax
movzx eax, byte [esi + 0x60]
mov byte [ebx + 0x60], al
movzx eax, byte [esi + 0x61]
mov byte [ebx + 0x61], al
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x64], eax
mov eax, edi
sar eax, 3
test eax, eax
je 0x6c5a2f
cmp eax, 0x1fffffff
ja 0x6c5b8c
mov dword [esp], edi
call fcn.006ff530
mov edx, eax
add edi, edx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edi
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
mov edi, ecx
sub edi, eax
cmp ecx, eax
je 0x6c5a5e
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [ebp - 0x24], edx
call sub.msvcrt.dll_puts
mov edx, dword [ebp - 0x24]
mov eax, dword [esi + 0x74]
add edx, edi
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [ebx + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [ebx + 0x8c], eax
add esi, 0x90
add ebx, 0x90
cmp dword [ebp - 0x20], esi
jne 0x6c5940
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
mov edi, dword [edx]
cmp eax, edi
je 0x6c5b43
lea ebx, [edi + 0x90]
sub eax, ebx
shr eax, 4
imul eax, eax, 0x8e38e39
and eax, 0xfffffff
lea esi, [eax + eax*8 + 9]
shl esi, 4
add esi, edi
jmp 0x6c5b04
mov dword [esp], eax
mov edi, ebx
call fcn.006ff4e0
cmp esi, ebx
je 0x6c5b3e
add ebx, 0x90
mov eax, dword [edi + 0x68]
test eax, eax
je 0x6c5b13
mov dword [esp], eax
call fcn.006ff4f0
mov eax, dword [edi + 0x34]
test eax, eax
je 0x6c5b22
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x6c5b31
mov dword [esp], eax
call fcn.006ff4e0
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x6c5af0
cmp ebx, esi
mov edi, ebx
jne 0x6c5afe
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
test edi, edi
je 0x6c5b4f
mov dword [esp], edi
call fcn.006ff4f0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [edx], ecx
lea eax, [eax + eax*8]
shl eax, 4
add eax, ecx
mov dword [edx + 8], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [ebp - 0x28], 0
jmp 0x6c592d
call fcn.006f7400
lea ecx, [ebx + 0x1c]
mov esi, eax
call fcn.00636100
mov dword [esp], esi
call fcn.006ff710
mov esi, dword [ebp - 0x28]
cmp esi, ebx
je 0x6c5bef
mov ecx, esi
add esi, 0x90
call fcn.00558610
jmp 0x6c5ba6
mov dword [esp], 0x7491a4
call fcn.006f7840
mov esi, eax
jmp 0x6c5b9b
call fcn.006ffd80
mov ebx, eax
call fcn.006ff900
mov dword [esp], ebx
call fcn.006ff710
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x6c5c12
mov dword [esp], eax
call fcn.006ff4f0
call fcn.006ffd80
mov ebx, eax
call fcn.006ff900
mov dword [esp], ebx
call fcn.0053a5b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop