Function at 0x419300
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ce4d3
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0x4fcb54]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fcb54]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x344]
xor ebx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ebx
call fcn.00484590
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419366
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x33c], ebx
call fcn.00484590
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419397
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x33c], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x204], ebx
mov dword [esp + 0x208], ebx
mov dword [esp + 0x20c], ebx
mov dword [esp + 0x210], ebx
mov dword [esp + 0x214], ebx
mov dword [esp + 0x218], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
call fcn.00484590
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419421
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x33c], 2
call fcn.00484590
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x419453
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push 0x4e39fc
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 3
call fcn.00402520
push 0x4e39fc
lea ecx, [esp + 0x48]
mov byte [esp + 0x340], 4
call fcn.00402520
push 0x4e39fc
lea ecx, [esp + 0x44]
mov byte [esp + 0x340], 5
call fcn.00402520
push 0x4e39fc
lea ecx, [esp + 0x58]
mov byte [esp + 0x340], 6
call fcn.00402520
mov dword [esp + 0x58], vtable.CIRGetFileVersionInfo.0
mov byte [esp + 0x33c], 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 1
call fcn.00484590
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4194f1
push 0x80004005
call fcn.004021e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x33c], 9
mov eax, dword [ebp + 4]
add ebp, 4
push 0x5c
push eax
call fcn.004a4635
add esp, 8
cmp eax, ebx
je 0x419528
sub eax, dword [ebp]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419535
mov dword [esp + 0x20], 3
jmp 0x419d2f
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
sub eax, esi
sub eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00404bc0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x340], 0xa
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4e2d74
lea edi, [esp + 0x4c]
call fcn.0040d410
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004061a0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x340], 0xb
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4195dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4e2d74
lea eax, [esp + 0x54]
call fcn.0040d3b0
mov eax, dword [ebp]
push ebx
push eax
call fcn.004a6318
add esp, 8
cmp eax, 0xffffffff
jne 0x419609
mov dword [esp + 0x20], 1
jmp 0x419d2f
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 8]
add esi, 8
push 0x5c
push eax
call fcn.004a4635
add esp, 8
cmp eax, ebx
je 0x4196bb
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x4196bb
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004061a0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x340], 0xc
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419678
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4e2d74
lea eax, [esp + 0x34]
call fcn.0040d3b0
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00416670
add esp, 4
cmp eax, ebx
jne 0x4196bb
mov dword [esp + 0x20], 2
jmp 0x419d2f
mov eax, dword [esp + 0x2c]
add eax, 8
push eax
lea ecx, [esp + 0x2c]
call fcn.004028f0
mov ebx, dword [esp + 0x28]
push 0
push ebx
call fcn.004a6318
add esp, 8
cmp eax, 0xffffffff
je case.0x4199d3.2
mov eax, dword [ebp]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402860
lea ecx, [esp + 0x20]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00418200
add esp, 8
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x340], 0xd
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402860
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00418000
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x340], 0xe
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4197a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp]
lea edx, [esp + 0x204]
push edx
call fcn.00414120
mov dword [esp + 0x1c], esp
lea esi, [ebx - 0x10]
mov edi, esp
push esi
call fcn.00402860
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00418200
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x340], 0xf
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419813
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov dword [esp + 0x1c], esp
mov edi, esp
push esi
call fcn.00402860
add esp, 4
lea ecx, [esp + 0x1c]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00418000
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x340], 0x10
call fcn.004028f0
mov byte [esp + 0x33c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41986c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, ebx
call fcn.00414120
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x4198f3
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x344], 0x11
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x344], 9
call fcn.004718b0
add esp, 8
cmp eax, 1
jne 0x4198e1
mov dword [esp + 0x24], edi
jmp 0x4199a6
cmp eax, 0xffffffff
jne 0x4198f3
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
jmp 0x4199ae
mov edx, dword [esp + 0x3c]
cmp dword [edx - 0xc], edi
je 0x419959
mov eax, dword [esp + 0x40]
cmp dword [eax - 0xc], edi
je 0x419959
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00402840
push ecx
mov byte [esp + 0x344], 0x12
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00402840
mov byte [esp + 0x344], 9
call fcn.004718b0
add esp, 8
cmp eax, 1
jne 0x41994a
mov dword [esp + 0x24], edi
jmp 0x4199a6
cmp eax, 0xffffffff
jne 0x419959
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
jmp 0x4199ae
mov esi, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
mov edi, dword [esp + 0x20c]
mov eax, esi
sub eax, 1
mov ecx, edx
sbb ecx, 0
cmp eax, edi
jne 0x419997
cmp ecx, dword [esp + 0x210]
jne 0x419997
mov esi, eax
mov edx, ecx
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], edx
cmp dword [esp + 0x210], edx
jl 0x4199ae
jg 0x4199a6
cmp edi, esi
jbe 0x4199ae
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x28]
push ecx
call fcn.00419250
mov ebx, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne case.0x4199d3.3
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
cmp eax, 6
ja case.0x4199d3.3
jmp dword [eax*4 + 0x419ec8]
cmp dword [esp + 0x1c], 0
mov eax, 1
jne 0x4199ea
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x24], 0
je 0x419acb
mov ebx, dword [esp + 0x28]
jmp case.0x4199d3.2
cmp dword [esp + 0x1c], 0
je case.0x4199d3.3
mov ebx, dword [esp + 0x28]
jmp case.0x4199d3.2
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
push ebx
push edx
push eax
lea ecx, [esp + 0x40]
push str._s_n_n_s_n_n_s
push ecx
call fcn.00404460
mov eax, dword [esi + 0x1c]
mov edx, dword [esp + 0x48]
add esp, 0x14
push 0x24
push eax
push edx
call fcn.0040d6c0
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je case.0x4199d3.2
mov dword [esp + 0x20], 0xffffffff
jmp 0x419d2f
cmp dword [esp + 0x1c], 0
jne case.0x4199d3.6
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
push ebx
push ecx
push edx
lea eax, [esp + 0x40]
push str._s_n_n_s_n_n_s
push eax
call fcn.00404460
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x48]
add esp, 0x14
push 0x24
push eax
push ecx
call fcn.0040d6c0
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ecx
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00402840
push ecx
mov byte [esp + 0x344], 0x13
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
call fcn.00402840
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, esi
mov byte [esp + 0x344], 9
call eax
test eax, eax
je case.0x4199d3.3
push 0
push ebx
call fcn.004a6318
add esp, 8
cmp eax, 0xffffffff
je 0x419c64
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x10], 0
je 0x419c3c
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
push esi
call fcn.00402860
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x344], 0x14
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.00402860
add esp, 4
add eax, 0x10
lea edx, [esp + 0x24]
mov dword [edi], eax
push edx
mov byte [esp + 0x348], 9
call fcn.00419ef0
push esi
mov byte [esp + 0x340], 0x15
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esp + 0x24], eax
mov bl, 0x5c
lea edi, [esp + 0x24]
mov byte [esp + 0x33c], 0x16
call fcn.004159e0
lea eax, [esp + 0x38]
push 0x4e2d74
push eax
lea ecx, [esp + 0x24]
call fcn.0040d4c0
add esp, 8
mov byte [esp + 0x33c], 0x17
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004107a0
mov byte [esp + 0x33c], 0x16
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419bc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push 1
add eax, 8
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x419be5
mov dword [esp + 0x20], 6
lea eax, [esi - 0x10]
mov byte [esp + 0x33c], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419c09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 9
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 0x419c31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
jne 0x419d2f
mov esi, dword [esp + 0x28]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x419c64
mov dword [esp + 0x20], 4
jmp 0x419d2f
lea ecx, [esp + 0x5c]
push ecx
call fcn.0041ae30
xor edi, edi
mov dword [esp + 0x5c], vtable.CInstallFileCopy.0
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
push ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x340], 0x18
call fcn.004028f0
mov esi, dword [esp + 0x2c]
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x6c]
call fcn.004028f0
mov edx, dword [esi + 0x18]
mov eax, 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0xd4], esi
call fcn.0041b060
cmp eax, edi
je 0x419cef
mov dword [esp + 0x20], 5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x33c], 9
call fcn.0041afa0
cmp dword [esp + 0x20], edi
jne 0x419d2f
mov eax, esi
cmp dword [eax + 0x14], 0
je 0x419d2f
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00402860
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0041a210
mov byte [esp + 0x33c], 8
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 6
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419d7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 5
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419da7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 2
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 0x419e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 1
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419e47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 0
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 0x419e6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x33c], 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 0x419e9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004a3135
add esp, 0x32c
ret 4