Function at 0x403d00
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4538e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
call fcn.0041ea69
mov eax, dword [eax + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0040a430
mov byte [esp + 0x40], 1
mov eax, dword [0x46d9e4]
add eax, 0xfffffff0
push eax
call fcn.00409fe0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x28], ebx
mov byte [esp + 0x40], 2
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov edi, dword [0x46d9e8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x403d8f
push esi
lea ecx, [esp + 0x18]
call fcn.0040a5c0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0043b6d7
push eax
call fcn.0040ac40
add esp, 0xc
test esi, esi
jl 0x40411f
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40411f
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
xor eax, eax
test edi, edi
setne al
mov byte [esi + ecx], 0
test eax, eax
jne 0x403dd7
push 0x80004005
call fcn.0040ad10
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.0043b4e8
add esp, 8
test eax, eax
jne 0x4040aa
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403e07
push 0x80004005
call fcn.0040ad10
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 + 0x40], 3
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403e36
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 4
mov ecx, dword [0x46da00]
push ecx
push ebx
lea edx, [esp + 0x24]
push 0x45a9c8
push edx
call fcn.0040a6f0
mov eax, dword [0x46da08]
push eax
push ebx
lea ecx, [esp + 0x30]
push 0x45a9c8
push ecx
call fcn.0040a6f0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add esp, 0x20
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x320
call fcn.00418570
add esp, 4
call fcn.0042121c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403eb4
push 0x80004005
call fcn.0040ad10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
push ecx
mov bl, 5
push 0x46d888
mov byte [esp + 0x48], bl
call fcn.00414080
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 6
call fcn.00409f40
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00409fe0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x48], 7
mov eax, dword [0x46d954]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00409fe0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x4c], 8
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push esi
call fcn.00409fe0
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov edi, SysReAllocStringLen
mov byte [esp + 0x4c], bl
call fcn.004117a0
add esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push str._update
call fcn.0040a430
mov byte [esp + 0x44], 9
mov edi, dword [esp + 0x1c]
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
push edi
call fcn.00409fe0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x48], bl
call fcn.00418380
mov ecx, dword [esp + 0x50]
add esp, 8
push ecx
call fcn.00406ac0
mov byte [esp + 0x40], 4
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403fda
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x40], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403ff8
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40401d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40408f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 8
lea eax, [ebx - 0x10]
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x404094
push 0x80070057
call fcn.0040ad10
int3