Function at 0x419b30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push str.MoveFiles_file_begin
push str.ljw_
mov esi, 0x10
call fcn.0040b830
mov edx, dword [0x4ae214]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], ax
mov eax, 0x614
mov word [ebp - 0x28], ax
mov eax, dword [edx + 0xc]
xor esi, esi
add esp, 8
mov ecx, 0x4ae214
mov dword [ebp - 0x38], esi
call eax
mov edx, dword [0x4ae214]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
mov dword [ebp - 0x18], esi
call eax
mov edx, dword [0x4ae214]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4ae214
call eax
add eax, 0x10
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00404100
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0xc], eax
call fcn.00406aa0
add eax, 0x10
add esp, 4
lea ebx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.00419d70
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push ecx
push eax
push str._sminizip_s.
lea edi, [ebp - 4]
call fcn.00407650
mov ebx, dword [ebp - 4]
mov esi, dword [ebx - 0xc]
lea edi, [esi + 1]
add esp, 0xc
test edi, edi
jns 0x419c14
push 0x80070057
call fcn.0040b800
mov edx, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub edx, edi
or ecx, edx
jge 0x419c31
push edi
lea ecx, [ebp - 4]
call fcn.00406eb0
mov ebx, dword [ebp - 4]
xor eax, eax
mov word [ebx + esi*2], ax
cmp edi, dword [ebx - 8]
jg 0x419c0a
mov edx, dword [ebp + 8]
mov dword [ebx - 0xc], edi
xor ecx, ecx
mov word [ebx + edi*2], cx
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
mov dword [ebp - 0x30], ebx
call fcn.00406aa0
lea edi, [eax + 0x10]
mov eax, dword [edi - 0xc]
lea esi, [eax + 1]
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], eax
test esi, esi
jns 0x419c77
push 0x80070057
call fcn.0040b800
mov edx, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub edx, esi
or ecx, edx
jge 0x419c97
push esi
lea ecx, [ebp + 8]
call fcn.00406eb0
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [edi + eax*2], cx
cmp esi, dword [edi - 8]
jg 0x419c0a
mov dword [edi - 0xc], esi
xor edx, edx
lea eax, [ebp - 0x38]
mov word [edi + esi*2], dx
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ce3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, reloc.NETAPI32.dll_NetApiBufferFree
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4