Function at 0x480788
Capabilities:
Copy file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x480790
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4811b8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebx + 0x36c]
call fcn.00438b64
mov dword [ebp - 0x18], 0xa00000
push 0x4811c8
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4811d0
mov edx, 0x80000001
mov eax, ebx
call fcn.0047ed54
push 0x481214
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4811d0
mov edx, 0x80000002
mov eax, ebx
call fcn.0047ed54
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x374]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x37c]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x378]
mov ecx, dword [eax]
call dword [ecx + 0x110]
mov eax, dword [ebx + 0x374]
call fcn.00479780
mov eax, dword [ebx + 0x378]
call fcn.00479780
mov eax, dword [ebx + 0x370]
call fcn.00479780
mov eax, dword [ebx + 0x37c]
call fcn.00479780
mov dl, 1
mov eax, dword [ebx + 0x364]
call fcn.0044debc
xor edx, edx
mov eax, dword [ebx + 0x318]
call fcn.0044debc
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046d8b4
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0047f030
lea eax, [ebp - 0x24]
mov edx, 0x48122c
call fcn.0040448c
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.0047f054
mov ecx, 0x481238
mov edx, 0x80000001
mov eax, ebx
call fcn.0047eb18
mov eax, dword [ebx + 0x370]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
mov eax, dword [ebx + 0x37c]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
add esi, eax
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
add esi, eax
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
add esi, eax
mov eax, esi
sub eax, 4
mov edx, eax
mov eax, dword [ebx + 0x36c]
call fcn.00438b54
lea eax, [ebp - 4]
mov edx, 0x481268
call fcn.0040425c
lea eax, [ebp - 8]
mov ecx, 0x481274
mov edx, dword [ebp - 0x10]
call fcn.004044d0
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0047f030
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov ecx, 0x481280
call fcn.004044d0
mov eax, dword [ebp - 0xc]
call fcn.0047a354
test al, al
jne 0x480964
mov eax, dword [ebp - 0xc]
call fcn.0047a35c
mov eax, dword [ebx + 0x370]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test ax, ax
jl 0x480b2b
inc eax
mov word [ebp - 0x1e], ax
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
movsx edx, si
mov eax, dword [ebx + 0x370]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.00404484
sub eax, 2
push eax
lea ecx, [ebp - 0x30]
movsx edx, si
mov eax, dword [ebx + 0x370]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
mov edx, 2
pop ecx
call fcn.004046e4
mov eax, dword [ebp - 0x1c]
mov edx, 0x4812a4
call fcn.004045d0
je 0x480b20
mov eax, dword [ebp - 0x1c]
mov edx, 0x4812b0
call fcn.004045d0
je 0x480b20
mov edi, dword [ebx + 0x36c]
mov eax, edi
call fcn.004389b4
mov edx, eax
inc edx
mov eax, edi
call fcn.00438b64
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046d8b4
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.0047f1c0
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x480a50
cmp eax, dword [esp]
pop edx
pop eax
jb 0x480a82
jmp 0x480a54
pop edx
pop eax
jl 0x480a82
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004044d0
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov eax, dword [ebp - 0x3c]
pop edx
call fcn.0047e920
jmp 0x480b20
push 0x20
push 0x4812bc
push dword [ebp - 0x1c]
push 0x4812bc
push 0x4812c8
push 0x4812c8
push 0x4812d4
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.00404544
mov eax, dword [ebp - 0x40]
call fcn.00404684
mov edx, eax
mov ecx, 0x48130c
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046dbf0
lea edx, [ebp - 0x48]
movsx eax, si
call fcn.004084c0
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x48132c
call fcn.004044d0
mov eax, dword [ebp - 0x44]
call fcn.00404684
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x48133c
push dword [ebp - 4]
push 0x48136c
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404544
mov eax, dword [ebp - 0x4c]
call fcn.00404684
mov ecx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0047ede0
inc esi
dec word [ebp - 0x1e]
jne 0x480986
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test ax, ax
jl 0x480cff
inc eax
mov word [ebp - 0x1e], ax
xor esi, esi
mov edi, dword [ebx + 0x36c]
mov eax, edi
call fcn.004389b4
mov edx, eax
inc edx
mov eax, edi
call fcn.00438b64
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046d8b4
lea ecx, [ebp - 0x54]
movsx edx, si
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov edx, dword [ebp - 0x50]
mov eax, ebx
call fcn.0047f134
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x480bbc
cmp eax, dword [esp]
pop edx
pop eax
jb 0x480c28
jmp 0x480bc0
pop edx
pop eax
jl 0x480c28
push 0
lea ecx, [ebp - 0x5c]
movsx edx, si
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
call fcn.004044d0
mov eax, dword [ebp - 0x58]
call fcn.00404684
push eax
lea ecx, [ebp - 0x64]
movsx edx, si
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov eax, dword [ebp - 0x60]
call fcn.00404684
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x480cf4
push 0x20
push 0x4812bc
lea ecx, [ebp - 0x6c]
movsx edx, si
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x6c]
push 0x4812bc
push 0x4812c8
push 0x4812c8
push 0x48137c
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.00404544
mov eax, dword [ebp - 0x68]
call fcn.00404684
mov edx, eax
mov ecx, 0x48130c
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046dbf0
lea edx, [ebp - 0x74]
movsx eax, si
call fcn.004084c0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x48132c
call fcn.004044d0
mov eax, dword [ebp - 0x70]
call fcn.00404684
push eax
lea ecx, [ebp - 0x78]
movsx edx, si
mov eax, dword [ebx + 0x374]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
push eax
push 0x48133c
push dword [ebp - 4]
push 0x4813b8
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404544
mov eax, dword [ebp - 0x7c]
call fcn.00404684
mov ecx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0047ede0
inc esi
dec word [ebp - 0x1e]
jne 0x480b4d
lea eax, [ebp - 4]
mov edx, 0x4813c8
call fcn.0040425c
lea eax, [ebp - 8]
mov ecx, 0x481274
mov edx, dword [ebp - 0x14]
call fcn.004044d0
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.0047f030
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0xc]
mov ecx, 0x4813d4
call fcn.004044d0
mov eax, dword [ebp - 0xc]
call fcn.0047a354
test al, al
jne 0x480d4a
mov eax, dword [ebp - 0xc]
call fcn.0047a35c
mov eax, dword [ebx + 0x37c]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test ax, ax
jl 0x480f47
inc eax
mov word [ebp - 0x1e], ax
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84]
movsx edx, si
mov eax, dword [ebx + 0x37c]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x84]
call fcn.00404484
sub eax, 2
push eax
lea ecx, [ebp - 0x88]
movsx edx, si
mov eax, dword [ebx + 0x37c]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x88]
mov edx, 2
pop ecx
call fcn.004046e4
mov eax, dword [ebp - 0x1c]
mov edx, 0x4812a4
call fcn.004045d0
je 0x480f3c
mov eax, dword [ebp - 0x1c]
mov edx, 0x4812b0
call fcn.004045d0
je 0x480f3c
mov edi, dword [ebx + 0x36c]
mov eax, edi
call fcn.004389b4
mov edx, eax
inc edx
mov eax, edi
call fcn.00438b64
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046d8b4
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov edx, dword [ebp - 0x8c]
mov eax, ebx
call fcn.0047f1c0
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x480e48
cmp eax, dword [esp]
pop edx
pop eax
jb 0x480e86
jmp 0x480e4c
pop edx
pop eax
jl 0x480e86
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004044d0
mov eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov eax, dword [ebp - 0x94]
pop edx
call fcn.0047e920
jmp 0x480f3c
push 0x20
push 0x4812bc
push dword [ebp - 0x1c]
push 0x4812bc
push 0x4812c8
push 0x4812c8
push 0x4812d4
lea eax, [ebp - 0x98]
mov edx, 6
call fcn.00404544
mov eax, dword [ebp - 0x98]
call fcn.00404684
mov edx, eax
mov ecx, 0x48130c
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046dbf0
lea edx, [ebp - 0xa0]
movsx eax, si
call fcn.004084c0
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x48132c
call fcn.004044d0
mov eax, dword [ebp - 0x9c]
call fcn.00404684
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x48133c
push dword [ebp - 4]
push 0x48136c
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.00404544
mov eax, dword [ebp - 0xa4]
call fcn.00404684
mov ecx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0047ede0
inc esi
dec word [ebp - 0x1e]
jne 0x480d6c
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test ax, ax
jl 0x48116b
inc eax
mov word [ebp - 0x1e], ax
xor esi, esi
mov edi, dword [ebx + 0x36c]
mov eax, edi
call fcn.004389b4
mov edx, eax
inc edx
mov eax, edi
call fcn.00438b64
push 0xa
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046d8b4
lea ecx, [ebp - 0xac]
movsx edx, si
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov edx, dword [ebp - 0xa8]
mov eax, ebx
call fcn.0047f134
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x480fe8
cmp eax, dword [esp]
pop edx
pop eax
jb 0x481070
jmp 0x480ff0
pop edx
pop eax
jl 0x481070
push 0
lea ecx, [ebp - 0xb4]
movsx edx, si
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 0xc]
call fcn.004044d0
mov eax, dword [ebp - 0xb0]
call fcn.00404684
push eax
lea ecx, [ebp - 0xbc]
movsx edx, si
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 8]
call fcn.004044d0
mov eax, dword [ebp - 0xb8]
call fcn.00404684
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x481160
push 0x20
push 0x4812bc
lea ecx, [ebp - 0xc4]
movsx edx, si
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0xc4]
push 0x4812bc
push 0x4812c8
push 0x4812c8
push 0x48137c
lea eax, [ebp - 0xc0]
mov edx, 6
call fcn.00404544
mov eax, dword [ebp - 0xc0]
call fcn.00404684
mov edx, eax
mov ecx, 0x48130c
mov eax, dword [0x48330c]
mov eax, dword [eax]
call fcn.0046dbf0
lea edx, [ebp - 0xcc]
movsx eax, si
call fcn.004084c0
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, 0x48132c
call fcn.004044d0
mov eax, dword [ebp - 0xc8]
call fcn.00404684
push eax
lea ecx, [ebp - 0xd0]
movsx edx, si
mov eax, dword [ebx + 0x378]
mov eax, dword [eax + 0x218]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xd0]
push eax
push 0x48133c
push dword [ebp - 4]
push 0x4813b8
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.00404544
mov eax, dword [ebp - 0xd4]
call fcn.00404684
mov ecx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0047ede0
inc esi
dec word [ebp - 0x1e]
jne 0x480f69
mov dl, 1
mov eax, dword [ebx + 0x318]
call fcn.0044debc
xor edx, edx
mov eax, dword [ebx + 0x364]
call fcn.0044debc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4811bf
lea eax, [ebp - 0xd4]
mov edx, 0x2d
call fcn.004041e8
lea eax, [ebp - 0x1c]
call fcn.004041c4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004041e8
ret