Function at 0x10029b20
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 0x10029b4d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c484
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 0x10029c0d
nop
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x20c]
push 0x1005ffa8
push eax
call fcn.1000db00
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029b86
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029bbe
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10029baa
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 0x10029c02
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10029be3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029c02
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029bd7
jmp 0x10029c02
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029c00
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x10029c00
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029bf0
mov esi, eax
mov eax, dword [ebx + 0x1c]
cmp esi, dword [eax]
jne 0x10029b60
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10029ccd
nop dword [eax]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
push dword [eax]
lea eax, [ebp - 0x20c]
push 0x1005ffa8
push eax
call fcn.1000db00
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029c44
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029c7c
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10029c68
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 0x10029cc2
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10029ca1
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029cc2
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029c95
jmp 0x10029cc2
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029cc0
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10029cc0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029cb0
mov esi, eax
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax]
jne 0x10029c20
mov eax, dword [ebx + 0x24]
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x10029d85
nop dword [eax]
mov edi, dword [esi + 0x14]
lea eax, [ebp - 0x20c]
push dword [edi + 8]
push 0x100600f8
push eax
call fcn.1000db00
add esp, 0xc
add edi, 0xc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10029d02
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x10029d3a
cmp dword [ebx + 0xa4], 8
lea eax, [ebx + 0x90]
jb 0x10029d26
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 0x10029d7a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x10029d5f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10029d7a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10029d53
jmp 0x10029d7a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10029d78
cmp esi, dword [eax + 8]
jne 0x10029d78
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10029d68
mov esi, eax
mov eax, dword [ebx + 0x24]
cmp esi, dword [eax]
jne 0x10029ce0
cmp dword [ebx + 0xbc], 8
lea eax, [ebx + 0xa8]
pop edi
pop esi
jb 0x10029d98
mov eax, dword [eax]
cmp dword [ebx + 0xa4], 8
lea ecx, [ebx + 0x90]
jb 0x10029da9
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.1002c484
mov esp, ebp
pop ebp
ret