Function at 0x1000393b
Capabilities:
Accept command line arguments
Copy file

Disassembly:
push 0xc8
mov eax, 0x1001026d
call fcn.1000ff87
xor eax, eax
lea edi, [ebp - 0x88]
stosd dword es:[edi], eax
xor ebx, ebx
push 7
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x88], ax
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x70], ax
lea edi, [ebp - 0xa0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0xa0], ax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
lea edi, [ebp - 0xb8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ecx
mov word [ebp - 0xb8], ax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push ecx
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.100034ea
add esp, 0x14
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 8
pop edi
test eax, eax
je 0x10003a9b
cmp dword [ebp - 0xd4], 1
jne 0x10003a9b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], edi
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x44], edi
lea ecx, [ebp - 0x58]
push ebx
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], edi
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.100031f9
call fcn.10001382
push str.Stip
lea ecx, [ebp - 0xd0]
call fcn.10003c6f
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.100038bd
test al, al
je 0x10003ac3
call fcn.10001382
lea ecx, [ebp - 0xd0]
call fcn.10003d1c
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10003adf
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10004136
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
cmp edx, edi
jb 0x10003b02
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
call fcn.10004136
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, edi
jb 0x10003b28
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
call fcn.10004136
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, edi
jb 0x10003b4e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
call fcn.10004136
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, edi
jb 0x10003b77
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
call fcn.10004136
xor eax, eax
inc eax
call fcn.1000ff45
ret