Function at 0x10029f10
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
jne 0x10029f3d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10029ffd
nop
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x1005ffb0
push eax
call fcn.1000db10
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029f76
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029fae
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10029f9a
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x10029ff2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10029fd3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029ff2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029fc7
jmp 0x10029ff2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029ff0
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10029ff0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029fe0
mov esi, eax
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x10029f50
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x1002a0bd
nop dword [eax]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x1005ffb0
push eax
call fcn.1000db10
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a034
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1002a06c
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x1002a058
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x1002a0b2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002a091
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1002a0b2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1002a085
jmp 0x1002a0b2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a0b0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x1002a0b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a0a0
mov esi, eax
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x1002a010
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x1002a175
nop dword [eax]
mov edi, dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push dword [edi + 8]
push 0x10060100
push eax
call fcn.1000db10
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002a0f2
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x1002a12a
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x1002a116
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push str.GDftSet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x1002a16a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1002a14f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1002a16a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1002a143
jmp 0x1002a16a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a168
cmp esi, dword [eax + 8]
jne 0x1002a168
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a158
mov esi, eax
mov eax, dword [ebx + 0x24]
cmp esi, dword [eax]
jne 0x1002a0d0
cmp dword [ebx + 0xbc], 8
lea eax, [ebx + 0xa8]
pop edi
pop esi
jb 0x1002a188
mov eax, dword [eax]
cmp dword [ebx + 0xa4], 8
lea ecx, [ebx + 0x90]
jb 0x1002a199
mov ecx, dword [ecx]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop ebx
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret