Function at 0x4034d0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4281f9
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x432b60]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432b60]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov dword [esp + 0x30], edi
call fcn.00401cf0
push edi
call fcn.00401a70
test al, al
je 0x403b1a
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405ed0
push ebx
push 0x434004
or eax, 0xffffffff
lea esi, [esp + 0x54]
mov dword [esp + 0xd0], ebx
call fcn.004048a0
push ebx
push 0x434058
or eax, 0xffffffff
call fcn.004048a0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 1
call fcn.00403030
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x4035c2
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4035b8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00405720
mov eax, dword [esp + 0x24]
push eax
call fcn.00407b33
add esp, 0xc
cmp dword [esp + 0x64], 0x10
jmp 0x403aff
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
push 0xffffffffffffffff
mov byte [esp + 0xcc], 2
push ebx
push edi
lea ecx, [esp + 0xac]
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
call fcn.00405ed0
push ebx
push 0x434020
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0xd0], 3
call fcn.004048a0
push ebx
push 0x43403c
or eax, 0xffffffff
call fcn.004048a0
mov edx, esi
push edx
lea ecx, [esp + 0x40]
call fcn.00403030
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0xc8], 4
call fcn.00408c77
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403663
push 0x80004005
call fcn.00406090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0xc8], 5
xor ebp, ebp
cmp dword [esp + 0x34], ebx
jle 0x403949
mov dword [esp + 0x28], ebx
jmp 0x403690
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x4036b5
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4036be
call fcn.0041414e
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3c]
lea eax, [esi + ecx]
push edx
push eax
call fcn.00403eb0
test al, al
je 0x403937
push ebx
push 0x42c643
lea ecx, [esp + 0x38]
call fcn.004060f0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
lea eax, [esp + 0x30]
push eax
je 0x403711
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x40371a
call fcn.0041414e
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp dword [esi + eax + 0x18], 0x10
jb 0x40372b
mov esi, dword [esi + eax + 4]
jmp 0x40372f
lea esi, [esi + eax + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
call fcn.004067d0
call fcn.00403310
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.00405ed0
push ebx
push 0x434004
or eax, 0xffffffff
lea esi, [esp + 0x54]
call fcn.004048a0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x40378b
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x403794
call fcn.0041414e
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
lea eax, [esi + edx + 0x20]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x54]
call fcn.004048a0
cmp dword [esp + 0x64], 0x10
mov eax, dword [esp + 0x50]
jae 0x4037b9
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov esi, dword [esp + 0x30]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4037d0
sub eax, edx
push eax
push esi
lea eax, [esp + 0x54]
call fcn.00404990
cmp edi, ebx
je 0x403830
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x40380f
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x403818
call fcn.0041414e
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
add eax, esi
push ebx
push eax
lea ecx, [esp + 0x74]
call fcn.00405ed0
jmp 0x4038c7
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
add ecx, 0x38
push ebx
push ecx
lea ecx, [esp + 0x74]
call fcn.00405ed0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x403869
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x403872
call fcn.0041414e
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
lea eax, [esi + edi + 0x20]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.004048a0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x4038ad
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4038b6
call fcn.0041414e
mov esi, dword [esp + 0x1c]
lea eax, [esi + edi]
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
call fcn.004048a0
mov edx, dword [esp + 0x2c]
add edx, 0x58
push edx
lea edi, [esp + 0x88]
call fcn.004051e0
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0xd0], 6
call fcn.004048a0
mov esi, 0x10
mov byte [esp + 0xc8], 5
cmp dword [esp + 0x9c], esi
jb 0x40391a
mov eax, dword [esp + 0x88]
push eax
call fcn.00407b33
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00406ae0
add esp, 4
test al, al
je 0x403b42
mov edi, dword [esp + 0x2c]
add dword [esp + 0x28], 0x3c
add ebp, 1
cmp ebp, dword [esp + 0x34]
jl 0x403690
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x58]
call fcn.00405ed0
push ebx
push 0x434004
or eax, 0xffffffff
lea esi, [esp + 0x54]
call fcn.004048a0
push ebx
push 0x434058
or eax, 0xffffffff
call fcn.004048a0
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push edi
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00405ed0
push ebx
push 0x434004
or eax, 0xffffffff
lea esi, [esp + 0x8c]
mov byte [esp + 0xd0], 7
call fcn.004048a0
push ebx
push 0x43403c
or eax, 0xffffffff
call fcn.004048a0
mov ecx, dword [esp + 0x88]
mov esi, 0x10
cmp dword [esp + 0x9c], esi
jae 0x4039e7
lea ecx, [esp + 0x88]
cmp dword [esp + 0x64], esi
mov eax, dword [esp + 0x50]
jae 0x4039f5
lea eax, [esp + 0x50]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [esp + 0x64], esi
mov eax, dword [esp + 0x50]
jae 0x403a0c
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x9c], esi
jb 0x403a2c
mov eax, dword [esp + 0x88]
push eax
call fcn.00407b33
add esp, 4
mov byte [esp + 0xc8], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x80], esi
jb 0x403a6a
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00407b33
add esp, 4
cmp dword [esp + 0xb8], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x403a92
mov edx, dword [esp + 0xa4]
push edx
call fcn.00407b33
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
je 0x403acb
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.00405720
mov eax, dword [esp + 0x48]
push eax
call fcn.00407b33
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x403afb
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.00405720
mov eax, dword [esp + 0x24]
push eax
call fcn.00407b33
add esp, 0xc
cmp dword [esp + 0x64], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
jb 0x403b1a
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00407b33
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00414015
add esp, 0xb8
ret
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x48], esp
push edx
lea ecx, [esp + 0x2c]
call fcn.00404350
mov ecx, dword [esp + 0x3c]
call fcn.00403b70
mov ebp, 0xf
jmp 0x403a2c