Function at 0x4034f0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x42c0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x439d84]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x68], 1
call fcn.0040d5a6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403539
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 2
call fcn.0040d5a6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403568
push 0x80004005
call fcn.00401030
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xa
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 3
call fcn.00412638
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 4
call fcn.00412bdb
push str..
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x74], 5
call fcn.004020e0
add esp, 0xc
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 6
call fcn.00412c67
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x68], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40364f
mov bl, 7
lea ecx, [esp + 0x2c]
call fcn.004128f4
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00412ba2
test eax, eax
jne 0x40364b
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
call fcn.00412eae
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], bl
call fcn.0041276b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x68], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40364b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4035f2
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x403734
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 4
call fcn.00412bff
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 3
call fcn.0041273e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40369c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40370e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4038d5
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40376c
cmp eax, dword [esi]
jne 0x40376c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4037a2
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4038da
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00417dbe
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x14]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
mov byte [esp + 0x68], 8
je 0x403803
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4037f5
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x4037f5
push esi
call fcn.00401aa0
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4037ec
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x403803
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c80
mov byte [esp + 0x68], 5
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403821
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push 0x42eea8
push 0
lea ecx, [esp + 0x1c]
call fcn.00402c20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00402020
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x80], 9
call fcn.00402020
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40389c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x68], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4038df
cmp dword [esp + 0x18], 0
jne 0x403730
jmp 0x40365b
call fcn.0040ca7a
call fcn.00401120
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 4
call fcn.00412bff
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 3
call fcn.0041273e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403920
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403945
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40396a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403713