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

Disassembly:
push 0xffffffffffffffff
push 0x4f8272
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38c
mov eax, dword [0x52bd18]
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x390], eax
mov dword [esp + 0x38], esi
call fcn.0048f2a0
xor ebx, ebx
mov dword [esp + 0x39c], ebx
call fcn.004078a0
add eax, 0x54
push eax
lea ecx, [esp + 0x5c]
call fcn.0041d450
test eax, eax
je 0x484b98
lea ecx, [esp + 0x110]
call fcn.004087e0
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3a0], 1
mov dword [esp + 0x114], eax
call fcn.004131e0
test eax, eax
je 0x484b84
cmp byte [esp + 0x208], 0x11
je 0x484bb3
lea ecx, [esp + 0x110]
mov byte [esp + 0x39c], 0
call fcn.00408b40
lea ecx, [esp + 0x58]
mov dword [esp + 0x39c], 0xffffffff
call fcn.0048f3e0
xor eax, eax
jmp 0x485539
lea ecx, [esp + 0x9c]
call fcn.004bed20
mov byte [esp + 0x39c], 2
call fcn.004df219
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 + 0x114]
mov byte [esp + 0x3a0], 3
call fcn.0043df00
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a0], 4
call fcn.004040e0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x39c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484c2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebp
mov ebp, dword [esp + 0x22c]
xor eax, eax
cmp eax, ebp
push edi
mov edi, dword [esp + 0x234]
sbb eax, eax
and eax, edi
push eax
lea ecx, [esp + 0x24]
call fcn.00401fd0
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x3a8], 5
call fcn.00481390
push 0x4fcaa0
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3b4], 6
call fcn.00401e30
add esp, 0x10
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484ca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x104
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x294]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401fd0
push 0x4fcaa0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3a8], 9
call fcn.00401f90
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x3a4], 0xa
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x3a4], 0xb
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov byte [esp + 0x3a4], 0xc
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x3a4], 0xd
call fcn.004df219
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 + 0x3a4], 0xe
je 0x4853b3
cmp dword [ebp - 0xc], ebx
je 0x4853b3
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xa8]
call fcn.004bf600
test eax, eax
je 0x484eba
mov eax, dword [esp + 0xac]
xor ebp, ebp
cmp eax, ebx
jbe 0x484e5b
cmp ebp, eax
jae 0x484db5
mov ecx, dword [esp + 0xb0]
lea esi, [ebx + ecx]
jmp 0x484db7
xor esi, esi
mov dl, byte [esi]
and dl, 0xf
cmp dl, 1
je 0x484e4d
mov ecx, dword [esi + 4]
mov eax, ecx
test eax, eax
jbe 0x484dd3
mov eax, dword [esi + 8]
jmp 0x484dd5
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00407e30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3b0], 0xf
call fcn.00409450
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3a8], 0x10
call fcn.004040e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x3a4], 0xf
call fcn.00401580
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push edi
call fcn.00484130
cmp eax, dword [esi + 0x14]
jne 0x484e8d
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a4], 0xe
call fcn.00401580
mov eax, dword [esp + 0xac]
inc ebp
add ebx, 0x20
cmp ebp, eax
jb 0x484da9
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x48], ebx
jbe 0x485194
mov dword [esp + 0x44], ebx
jmp 0x484e70
cmp dword [esp + 0x48], eax
jae 0x484f10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xb0]
lea ebp, [eax + ecx]
jmp 0x484f12
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 0x50bb44
call fcn.0040a700
add esp, 8
call eax
add esp, 0x14
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x10]
call fcn.00401580
lea ecx, [esp + 0x2c]
call fcn.00401580
lea ecx, [esp + 0x28]
call fcn.00401580
lea ecx, [esp + 0x34]
call fcn.00401580
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00401580
jmp 0x4854f9
xor ebp, ebp
mov edi, dword [ebp + 4]
mov eax, edi
test eax, eax
jbe 0x484f20
mov esi, dword [ebp + 8]
jmp 0x484f22
xor esi, esi
call fcn.004df219
push eax
push edi
push esi
lea ecx, [esp + 0x48]
call fcn.00407c70
mov esi, dword [esp + 0x3c]
lea ebx, [esi - 0x10]
push ebx
mov byte [esp + 0x3a8], 0x11
mov dword [esp + 0x3c], ebx
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a4], 0x12
call fcn.0040d620
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x485130
push str.DRIVERS_
push edi
call fcn.004ce191
add esp, 8
test eax, eax
je 0x485130
sub eax, edi
cmp eax, 0xffffffff
je 0x485130
mov edx, dword [esp + 0x28]
push esi
push edx
lea eax, [esp + 0x18]
push 0x50193c
push eax
call fcn.00401c40
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.004195d0
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3a8], 0x13
call fcn.004040e0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x484ff6
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 0x485330
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00486070
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a8], 0x14
call fcn.004040e0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48504d
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.004195d0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a8], 0x15
call fcn.004040e0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push eax
call fcn.00485ff0
add esp, 4
test eax, eax
je 0x4853a1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00485ff0
add esp, 4
test eax, eax
je 0x4853a1
mov edx, dword [esp + 0x20]
push esi
push edx
lea eax, [esp + 0x34]
push 0x50193c
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
mov ecx, dword [esp + 0x48]
call fcn.00484280
test eax, eax
mov ebx, dword [esp + 0x2c]
jne 0x4850fe
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.004ceccf
add esp, 8
test eax, eax
je 0x48512c
mov ecx, dword [esp + 0x40]
push ebp
push esi
call fcn.00484280
test eax, eax
jne 0x48512c
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 + 0x3a4], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485152
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x3a4], 0xe
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x485171
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 + 0xac]
inc ecx
add esi, 0x20
cmp ecx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], esi
jb 0x484e70
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4851ba
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 + 0x3a4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4851e0
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 + 0x3a4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485206
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 + 0x3a4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48522c
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 + 0x3a4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485252
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 + 0x3a4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485278
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 + 0x3a4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48529e
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 + 0x3a4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4852c4
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 + 0x3a4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4852ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3a4], 1
call fcn.00484440
lea ecx, [esp + 0x118]
mov byte [esp + 0x3a4], 0
call fcn.00408b40
lea ecx, [esp + 0x60]
mov dword [esp + 0x3a4], 0xffffffff
call fcn.0048f3e0
mov eax, 1
jmp 0x485537
cmp al, 1
jne 0x485130
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.004040e0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
call fcn.004195d0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a8], 0x16
call fcn.004040e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x3a4], 0x12
call fcn.00401580
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00485ff0
add esp, 4
test eax, eax
je 0x4853a1
mov edx, dword [esp + 0x1c]
push edx
call fcn.00485ff0
add esp, 4
test eax, eax
jne 0x485130
lea ecx, [esp + 0x18]
call fcn.00401580
lea ecx, [esp + 0x3c]
jmp 0x484eb5
add eax, 0xfffffff0
mov byte [esp + 0x3a4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4853d5
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 + 0x3a4], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4853fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x3a4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48541d
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 + 0x3a4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x3a4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x485465
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 + 0x3a4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48548b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x3a4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4854ad
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 + 0x3a4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4854d3
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 + 0x3a4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4854f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x3a4], 1
call fcn.00484440
lea ecx, [esp + 0x118]
mov byte [esp + 0x3a4], 0
call fcn.00408b40
lea ecx, [esp + 0x60]
mov dword [esp + 0x3a4], 0xffffffff
call fcn.0048f3e0
xor eax, eax
pop edi
pop ebp
mov ecx, dword [esp + 0x394]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38c]
pop ebx
call fcn.004ce183
add esp, 0x398
ret