Function at 0x1006f920
Capabilities:
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c21ac
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x25c]
mov dword [ebp - method.QMMacID::CSeqIDGenerator.virtual_0], vtable.QMMacID::CSeqIDGenerator.0
call fcn.1007fa20
lea ecx, [ebp - 0x1d4]
call fcn.10081d90
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x260]
call fcn.10079f20
push 0x10
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa8]
call fcn.10073710
add esp, 4
lea esi, [edi + 0x140]
mov ebx, eax
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x1006fa17
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1006f9f2
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x1006f9e9
test cl, 0x1f
je 0x1006f9c5
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1006f9d1
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1006f9dd
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1006f9e7
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x1006fa0a
mov eax, dword [esi]
jmp 0x1006fa0c
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.10007941
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x1006fa6b
mov ecx, dword [ebp - 0xa8]
inc eax
cmp eax, 0x1000
jb 0x1006fa62
test cl, 0x1f
je 0x1006fa3e
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1006fa4a
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1006fa56
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1006fa60
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
cmp dword [edi + 0x158], 0xffffffff
je 0x1006fbf5
lea ecx, [ebp - 0x90]
call fcn.10074910
add edi, 0x18
mov byte [ebp - 4], 2
mov edx, edi
mov ecx, esi
call fcn.10045bc0
test al, al
je 0x1006fac6
cmp dword [ebp - 0x7c], 0x10
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
cmp dword [edi + 0x14], 0x10
jb 0x1006fab2
mov ecx, dword [edi]
jmp 0x1006fab4
mov ecx, edi
push eax
push ecx
push str.config1
push str.Profile
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x78]
call fcn.10074a40
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 0x10
cmovae eax, dword [ebp - 0x78]
push eax
push 0x40
lea eax, [ebp - 0x60]
push eax
push 0
push str.config1
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.100732e0
test eax, eax
je 0x1006fb37
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x78]
push 0
cmovae ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
push ecx
cmovae eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x1006fb81
mov ecx, dword [ebp - 0x78]
inc eax
cmp eax, 0x1000
jb 0x1006fb78
test cl, 0x1f
je 0x1006fb54
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1006fb60
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1006fb6c
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1006fb76
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
cmp eax, 0x10
jb 0x1006fbe0
mov ecx, dword [ebp - 0x90]
inc eax
cmp eax, 0x1000
jb 0x1006fbd7
test cl, 0x1f
je 0x1006fbb3
call fcn.100906d1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1006fbbf
call fcn.100906d1
sub ecx, eax
cmp ecx, 4
jae 0x1006fbcb
call fcn.100906d1
cmp ecx, 0x23
jbe 0x1006fbd5
call fcn.100906d1
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
lea ecx, [ebp - 0x1d4]
mov dword [ebp - method.QMMacID::CSeqIDGenerator.virtual_0], vtable.QMMacID::CSeqIDGenerator.0
call fcn.10081ec0
lea ecx, [ebp - 0x25c]
call fcn.1007fc10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a777
mov esp, ebp
pop ebp
ret