Function at 0x476230
Capabilities:
Copy file
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x476238
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x476b84
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x476aff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [0x47ad20]
call fcn.00409058
mov eax, dword [ebp - 0x44]
call fcn.00408eb8
test al, al
jne 0x47628f
lea edx, [ebp - 0x48]
mov eax, dword [0x47ad20]
call fcn.00409058
mov eax, dword [ebp - 0x48]
call fcn.00408edc
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.0043e5fc
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, 0x476b9c
mov edx, 0x476bac
mov eax, dword [0x47ad20]
call fcn.0047344c
lea eax, [ebp - 0x1c]
call fcn.00404490
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x30], eax
mov dl, 1
mov eax, dword [0x419d10]
call fcn.004036f4
mov dword [ebp - 0x34], eax
mov ecx, dword [0x47ad18]
mov dl, 1
mov eax, dword [0x45fb68]
call fcn.0045fc18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
call fcn.0046c70c
dec eax
test eax, eax
jl 0x47639d
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
call fcn.0046c0a4
test al, al
je 0x476395
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
add dword [0x47ad34], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x476353
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
call fcn.0046c70c
dec eax
test eax, eax
jl 0x4765f6
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
call fcn.0046c0a4
test al, al
je 0x4765ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x50]
mov ecx, 0x476bbc
call fcn.00404794
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x48]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x476523
inc eax
mov dword [ebp - 0x40], eax
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov eax, dword [eax + 0x22c]
mov edx, dword [ebp - 0xc]
call fcn.0046c73c
push dword [eax + 0x24]
push 0x476bd4
lea ecx, [ebp - 0x5c]
mov edx, ebx
mov eax, dword [ebp - 0x24]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
mov dl, 1
call fcn.00475cb8
push dword [ebp - 0x58]
push 0x476be0
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00404808
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x48]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x476519
inc esi
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x64]
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.0041d4c8
push dword [ebp - 0x64]
push 0x476be0
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404808
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec esi
jne 0x4764d5
inc ebx
dec dword [ebp - 0x40]
jne 0x476462
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4765ea
inc eax
mov dword [ebp - 0x40], eax
xor ebx, ebx
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov dl, 1
call fcn.00475cb8
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00475d50
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
xor edx, edx
call fcn.00475cb8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00474af8
mov ecx, dword [ebp - 0x78]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0x20]
lea ecx, [ebp - 0x84]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x88]
mov edx, ebx
mov eax, dword [ebp - 0x28]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x40]
jne 0x476542
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x4763cd
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004773c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
xor edx, edx
call fcn.0043e51c
lea ecx, [ebp - 0x8c]
mov edx, 0x476bec
mov eax, 8
call fcn.00474828
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.0043e62c
mov ecx, dword [ebp - 0x20]
mov edx, 0x476c10
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x476886
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x90]
mov edx, 0x476c24
call fcn.0040488c
je 0x47687a
mov eax, dword [0x4792b8]
mov eax, dword [eax]
call fcn.0045e3c0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 0x476c10
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x18]
call fcn.00474af8
lea eax, [ebp - 0x98]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x476c3c
call fcn.00404a84
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404748
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.004049a0
mov eax, dword [ebp - 0x98]
mov edx, 0x476c48
call fcn.0040488c
jne 0x476742
lea eax, [ebp - 0x9c]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x476c3c
call fcn.00404a84
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404748
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.004049a0
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x1c]
call fcn.004749ac
lea eax, [ebp - 0xa4]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x476c3c
call fcn.00404a84
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404748
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.004049a0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.004749ac
push dword [ebp - 0xa0]
push 0x476be0
lea eax, [ebp - 0xa8]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x476c3c
call fcn.00404a84
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004049a0
push dword [ebp - 0xa8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404808
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x14]
call fcn.00409058
mov eax, dword [ebp - 0xac]
call fcn.00408eb8
test al, al
jne 0x476808
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x14]
call fcn.00409058
mov eax, dword [ebp - 0xb0]
call fcn.00408edc
push 0
mov ecx, dword [ebp - 0x14]
mov edx, 0x476c64
mov eax, dword [0x47ad20]
call fcn.0047344c
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x18]
call fcn.00409058
mov eax, dword [ebp - 0xb4]
push eax
lea eax, [ebp - 0xbc]
mov ecx, 0x476c78
mov edx, dword [ebp - 0x14]
call fcn.00404794
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
call fcn.00404ccc
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x18]
pop edx
call fcn.0047378c
push 0
lea eax, [ebp - 0xc0]
mov ecx, 0x476c78
mov edx, dword [ebp - 0x14]
call fcn.00404794
mov ecx, dword [ebp - 0xc0]
mov edx, 0x476c88
mov eax, dword [0x47ad20]
call fcn.0047344c
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x476669
cmp dword [ebp - 0x1c], 0
je 0x476898
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.00473380
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x476ca0
mov edx, 0x476cb0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x38], 0
je 0x4768cd
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x476ca0
mov edx, 0x476cb0
mov eax, dword [0x47ad20]
call fcn.0047344c
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x476cc0
mov edx, 0x476cb0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x38], 0
je 0x476902
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x476cc0
mov edx, 0x476cb0
mov eax, dword [0x47ad20]
call fcn.0047344c
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x476cd0
mov edx, 0x476cb0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x38], 0
je 0x476937
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x476cd0
mov edx, 0x476cb0
mov eax, dword [0x47ad20]
call fcn.0047344c
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x476ce0
mov edx, 0x476cb0
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x38], 0
je 0x47696c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, 0x476ce0
mov edx, 0x476cb0
mov eax, dword [0x47ad20]
call fcn.0047344c
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x476cf0
mov edx, 0x476d00
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov ecx, dword [0x47ad14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00475e90
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x476d0c
mov edx, 0x476d00
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x14], 0
je 0x4769ed
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x18]
call fcn.0040908c
push dword [ebp - 0xc8]
push 0x476be0
push dword [ebp - 0x14]
lea eax, [ebp - 0xc4]
mov edx, 3
call fcn.00404808
mov eax, dword [ebp - 0xc4]
mov edx, 1
call fcn.0047305c
push 0
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x476d1c
mov edx, 0x476d00
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0xcc]
mov eax, 0x47ad24
call fcn.004044e4
push 0
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0043e5fc
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.0040cf0c
lea eax, [ebp - 0xd0]
mov edx, 0x476d34
call fcn.00404750
mov eax, dword [ebp - 0xd0]
call fcn.00404940
push eax
lea eax, [ebp - 0xd8]
mov ecx, 0x476d34
mov edx, dword [0x47ad14]
call fcn.00404794
mov eax, dword [ebp - 0xd8]
call fcn.00404940
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0xdc]
call fcn.0047366c
lea eax, [ebp - 0xdc]
mov edx, 0x476d4c
call fcn.00404750
mov eax, dword [ebp - 0xdc]
call fcn.00404940
push eax
lea eax, [ebp - 0xe0]
mov ecx, 0x476d34
mov edx, dword [0x47ad14]
call fcn.00404794
mov eax, dword [ebp - 0xe0]
call fcn.00404940
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476b06
mov eax, dword [ebp - 0x30]
call fcn.00403724
mov eax, dword [ebp - 0x34]
call fcn.00403724
mov eax, dword [ebp - 0x20]
call fcn.00403724
mov eax, dword [ebp - 8]
call fcn.00403724
ret