Function at 0x486a01
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4fe432
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
mov eax, dword [0x531d28]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3cc], eax
mov dword [esp + 0x38], esi
call fcn.00491860
xor ebx, ebx
mov dword [esp + 0x3d8], ebx
call fcn.004077c0
add eax, 0x54
push eax
lea ecx, [esp + 0xd0]
call fcn.0041e630
test eax, eax
je 0x486a91
lea ecx, [esp + 0x14c]
call fcn.00408720
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x3dc], 1
mov dword [esp + 0x150], eax
call fcn.004136e0
test eax, eax
je 0x486a7d
cmp byte [esp + 0x244], 0x11
je 0x486aaf
lea ecx, [esp + 0x14c]
mov byte [esp + 0x3d8], 0
call fcn.00408a60
lea ecx, [esp + 0xcc]
mov dword [esp + 0x3d8], 0xffffffff
call fcn.004919d0
xor eax, eax
jmp 0x487423
lea ecx, [esp + 0x58]
call fcn.004c48d0
mov byte [esp + 0x3d8], 2
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x3dc], 3
call fcn.0043f580
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3dc], 4
call fcn.00403fd0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3d8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486b24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
mov ebp, dword [esp + 0x268]
xor eax, eax
cmp eax, ebp
push edi
mov edi, dword [esp + 0x270]
sbb eax, eax
and eax, edi
push eax
lea ecx, [esp + 0x24]
call fcn.00401fd0
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x3e4], 5
call fcn.00483220
push 0x502aa8
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3f0], 6
call fcn.00401e30
add esp, 0x10
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486b99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x104
lea eax, [esp + 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401fd0
push 0x502aa8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3e4], 9
call fcn.00401f90
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x3e0], 0xa
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x3e0], 0xb
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov byte [esp + 0x3e0], 0xc
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x3e0], 0xd
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], ebx
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x3e0], 0xe
je 0x48729d
cmp dword [ebp - 0xc], ebx
je 0x48729d
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x64]
call fcn.004c51b0
test eax, eax
je 0x486da7
mov eax, dword [esp + 0x68]
xor ebp, ebp
cmp eax, ebx
jbe 0x486d48
cmp ebp, eax
jae 0x486ca5
mov ecx, dword [esp + 0x6c]
lea esi, [ebx + ecx]
jmp 0x486ca7
xor esi, esi
mov dl, byte [esi]
and dl, 0xf
cmp dl, 1
je 0x486d3a
mov ecx, dword [esi + 4]
mov eax, ecx
test eax, eax
jbe 0x486cc3
mov eax, dword [esi + 8]
jmp 0x486cc5
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00408700
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3ec], 0xf
call fcn.004092f0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3e4], 0x10
call fcn.00403fd0
lea ecx, [esp + 0x38]
mov byte [esp + 0x3e0], 0xf
call fcn.004016e0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push edi
call fcn.00486090
cmp eax, dword [esi + 0x14]
jne 0x486d7a
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 0xe
call fcn.004016e0
mov eax, dword [esp + 0x68]
inc ebp
add ebx, 0x20
cmp ebp, eax
jb 0x486c9c
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x48], ebx
jbe 0x48707e
mov dword [esp + 0x44], ebx
jmp 0x486d60
cmp dword [esp + 0x48], eax
jae 0x486dfd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
lea ebp, [eax + ecx]
jmp 0x486dff
mov esi, dword [esi + 0x14]
push esi
push eax
push edi
push str.GetFileCRC_error:__s__0x_08x__0x_08x
push 4
push 0x213
push str.WorkNbms_bar_trunkBarServerBSUtilsCompTaskList.cpp
call fcn.0040a5a0
add esp, 8
call eax
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.004016e0
lea ecx, [esp + 0x1c]
call fcn.004016e0
lea ecx, [esp + 0x14]
call fcn.004016e0
lea ecx, [esp + 0x30]
call fcn.004016e0
lea ecx, [esp + 0x10]
call fcn.004016e0
lea ecx, [esp + 0x2c]
call fcn.004016e0
lea ecx, [esp + 0x28]
call fcn.004016e0
lea ecx, [esp + 0x34]
call fcn.004016e0
lea ecx, [esp + 0x20]
call fcn.004016e0
lea ecx, [esp + 0x24]
call fcn.004016e0
jmp 0x4873e3
xor ebp, ebp
mov edi, dword [ebp + 4]
mov eax, edi
test eax, eax
jbe 0x486e0d
mov esi, dword [ebp + 8]
jmp 0x486e0f
xor esi, esi
call fcn.004e5159
push eax
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.00407b90
mov esi, dword [esp + 0x3c]
lea ebx, [esi - 0x10]
push ebx
mov byte [esp + 0x3e4], 0x11
mov dword [esp + 0x3c], ebx
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e0], 0x12
call fcn.0040d510
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x48701d
push str.DRIVERS_
push edi
call fcn.004d40cc
add esp, 8
test eax, eax
je 0x48701d
sub eax, edi
cmp eax, 0xffffffff
je 0x48701d
mov edx, dword [esp + 0x28]
push esi
push edx
lea eax, [esp + 0x18]
push 0x507844
push eax
call fcn.00401c40
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.0041ab80
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3e4], 0x13
call fcn.00403fd0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486ee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [ebp]
and al, 0xf
cmp al, 2
jne 0x48721a
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00487f60
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3e4], 0x14
call fcn.00403fd0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x486f3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.0041ab80
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e4], 0x15
call fcn.00403fd0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x486f84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
call fcn.00487ee0
add esp, 4
test eax, eax
je 0x48728b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00487ee0
add esp, 4
test eax, eax
je 0x48728b
mov edx, dword [esp + 0x20]
push esi
push edx
lea eax, [esp + 0x34]
push 0x507844
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
mov ecx, dword [esp + 0x48]
call fcn.004861e0
test eax, eax
mov ebx, dword [esp + 0x2c]
jne 0x486feb
mov edx, dword [esp + 0x10]
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.004d4c0f
add esp, 8
test eax, eax
je 0x487019
mov ecx, dword [esp + 0x40]
push ebp
push esi
call fcn.004861e0
test eax, eax
jne 0x487019
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, dword [esp + 0x38]
lea eax, [edi - 0x10]
mov byte [esp + 0x3e0], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48703f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x3e0], 0xe
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48705e
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x68]
inc ecx
add esi, 0x20
cmp ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
jb 0x486d60
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4870a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4870ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4870f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487116
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48713c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487162
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487188
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4871ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4871d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x60]
mov byte [esp + 0x3e0], 1
call fcn.004863a0
lea ecx, [esp + 0x154]
mov byte [esp + 0x3e0], 0
call fcn.00408a60
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.004919d0
mov eax, 1
jmp 0x487421
cmp al, 1
jne 0x48701d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403fd0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0041ab80
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3e4], 0x16
call fcn.00403fd0
lea ecx, [esp + 0x50]
mov byte [esp + 0x3e0], 0x12
call fcn.004016e0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00487ee0
add esp, 4
test eax, eax
je 0x48728b
mov edx, dword [esp + 0x1c]
push edx
call fcn.00487ee0
add esp, 4
test eax, eax
jne 0x48701d
lea ecx, [esp + 0x18]
call fcn.004016e0
lea ecx, [esp + 0x3c]
jmp 0x486da2
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4872bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4872e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x3e0], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48732d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x3e0], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48734f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x3e0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4873bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3e0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4873e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x60]
mov byte [esp + 0x3e0], 1
call fcn.004863a0
lea ecx, [esp + 0x154]
mov byte [esp + 0x3e0], 0
call fcn.00408a60
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3e0], 0xffffffff
call fcn.004919d0
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x3d0]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c8]
pop ebx
call fcn.004d40be
add esp, 0x3d4
ret