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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
lea edi, [ebp - 0x3a]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, edx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3a]
mov edx, dword [0x6c3258]
call fcn.0040c974
xor eax, eax
push ebp
push 0x6cb2db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx + 0x10]
adc edx, dword [ecx + 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
test ebx, ebx
je 0x6cad94
mov eax, ebx
call fcn.004b9a44
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x6cadb0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.006c81cc
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea eax, [ebp - 0x3a]
call fcn.006c8354
movzx eax, word [ebp - 0x3a]
mov edx, eax
and dx, 0xff
cmp dx, 0x14
jae 0x6cadf1
and ax, 0xff00
add ax, 0x14
mov word [ebp - 0x3a], ax
cmp word [ebp - 0x38], 0x14
jae 0x6cadfe
mov word [ebp - 0x38], 0x14
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x6cae08
mov eax, dword [eax - 4]
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x6cae16
mov eax, dword [eax - 4]
mov word [ebp - 0x20], ax
cmp dword [ebp + 8], 0
jne 0x6cae28
lea eax, [ebp - 0x3a]
mov dword [ebp + 8], eax
jmp 0x6cae64
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
setne cl
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.006c8490
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2a]
test eax, eax
je 0x6cae49
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2e]
test eax, eax
je 0x6cae5d
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1a], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x32]
test eax, eax
je 0x6cae71
mov eax, dword [eax - 4]
mov edx, dword [ebp + 8]
mov word [edx + 0x1c], ax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004b9a64
mov eax, dword [0x6f7c74]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 4
call fcn.006c72dc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.006c72dc
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.006c722c
cmp word [ebp - 0x20], 0
jbe 0x6caee2
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.006c722c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004b9a44
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
test ebx, ebx
je 0x6cb193
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
jne 0x6caf12
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov dword [ebp - 0x70], eax
jmp 0x6cafe3
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x78], 0
jne 0x6caf32
mov ecx, dword [0x6fb06c]
mov dl, 1
mov eax, dword [0x6c3478]
call fcn.0042ff4c
call fcn.0040a4d4
lea eax, [ebp - 0x3a]
mov cl, 1
xor edx, edx
call fcn.006c8490
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404c3c]
call fcn.0040de9c
add esp, 4
jmp 0x6caf9a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x6caf70
mov eax, dword [ebp - 0x74]
mov eax, dword [eax - 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x78]
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.00540f4c
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004b9a44
cmp edx, dword [ebp - 0x54]
jne 0x6cafad
cmp eax, dword [ebp - 0x58]
jb 0x6caf5b
jmp 0x6cafaf
jl 0x6caf5b
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov eax, ebx
call fcn.004b9a64
mov eax, dword [ebp - 0x2e]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x78]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x74]
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [0x6c7ba0]
call fcn.006cc018
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x40]
add eax, 0x3c
lea edx, [ebp - 0x3a]
mov ecx, dword [0x6c3258]
call fcn.0040cab0
movzx eax, byte [ebp - 0x34]
mov byte [ebp - 0x69], al
movzx edx, byte [ebp - 0x69]
mov eax, dword [ebp - 0x40]
call fcn.006c9270
lea eax, [ebp - 0x3a]
push eax
movzx edx, byte [ebp - 0x69]
lea ecx, [ebp - 0x8c]
mov eax, dword [0x7032e8]
call fcn.006cc9bc
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x70]
mov esi, dword [eax]
call dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x5377ec]
call fcn.004092fc
test al, al
je 0x6cb058
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x18], 0x6c9d58
xor eax, eax
push ebp
push 0x6cb18c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x74], 0
je 0x6cb091
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
sbb edx, dword [ebp - 0x4c]
push edx
push eax
mov ecx, 0x100000
mov edx, ebx
mov eax, dword [ebp - 0x5c]
call fcn.004bb114
jmp 0x6cb116
push 0x4000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404c3c]
call fcn.0040de9c
add esp, 4
jmp 0x6cb101
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x6cb0c3
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax - 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x20]
mov dword [ebp - 0x80], eax
mov esi, dword [ebp - 0x80]
push esi
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov dword [ebp - 0x84], eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x2e]
push eax
call fcn.00540f4c
add esp, 0xc
mov dword [ebp - 0x2e], eax
mov eax, ebx
call fcn.004b9a44
cmp edx, dword [ebp - 0x54]
jne 0x6cb114
cmp eax, dword [ebp - 0x58]
jb 0x6cb0ae
jmp 0x6cb116
jl 0x6cb0ae
mov eax, dword [ebp - 0x40]
cmp word [eax + 0x32], 0
je 0x6cb143
mov eax, dword [ebp - 0x40]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x5c]
call fcn.004b9a44
push edx
push eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x34]
call dword [ebx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cb193
mov eax, dword [ebp - 0x5c]
call fcn.00409014
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x70]
je 0x6cb16b
mov eax, dword [ebp - 0x70]
call fcn.00409014
mov eax, dword [ebp - 0x40]
add eax, 0x3c
mov edx, dword [0x6c3258]
call fcn.0040c30c
mov edi, eax
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
jmp eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004b9a44
sub eax, dword [ebp - 0x68]
sbb edx, dword [ebp - 0x64]
push edx
push eax
lea eax, [ebp - 0x3a]
call fcn.006c828c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x26]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2a]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x2e]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
movzx edx, word [ebp - 0x20]
mov word [eax + 0x1a], dx
mov eax, dword [ebp + 8]
add eax, 0x2e
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x404c3c]
call fcn.0040e004
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004b9a44
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [ebp - 0x3a]
call fcn.006c8318
add eax, 4
adc edx, 0
push edx
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
call fcn.004b9a64
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov ecx, 0x1a
call fcn.006c72dc
cmp word [ebp - 0x20], 0
jbe 0x6cb255
movzx ecx, word [ebp - 0x22]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.006c722c
movzx ecx, word [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
call fcn.006c722c
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x6cb262
mov eax, dword [eax - 4]
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 0x40]
add eax, 0x20
mov ecx, 1
mov edx, dword [0x6c6fd0]
call fcn.0040de9c
add esp, 4
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 0x20]
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov ecx, dword [0x6c3258]
call fcn.0040cab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cb2e2
lea eax, [ebp - 0x8c]
mov edx, dword [0x6c479c]
call fcn.0040c30c
lea eax, [ebp - 0x3a]
mov edx, dword [0x6c3258]
call fcn.0040c30c
lea eax, [ebp - 4]
mov edx, dword [0x404c3c]
call fcn.0040dfc0
pop eax
jmp eax