Function at 0x45e430
Capabilities:
Copy file
Delete file
Enumerate files on windows
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9c06
mov eax, dword fs:[0]
push eax
mov eax, 0x1224
call fcn.004b8b20
mov eax, dword [0x537700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1220], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1200], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x1208], eax
mov dword [ebp - 0x1218], edi
mov dword [ebp - 0x1204], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x190
lea eax, [ebp - 0x330]
push 0
push eax
call fcn.004ba6a0
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x330]
push 0x4edbe4
push eax
call esi
lea eax, [ebp - 0x330]
push 0x190
push eax
call fcn.004561e0
push 0x208
lea eax, [ebp - 0x538]
push 0
push eax
call fcn.004ba6a0
push 0x208
lea eax, [ebp - 0xf60]
push 0
push eax
call fcn.004ba6a0
push 0x208
lea eax, [ebp - 0xb50]
push 0
push eax
call fcn.004ba6a0
add esp, 0x44
lea eax, [ebp - 0x1a0]
push 0x190
push 0
push eax
call fcn.004ba6a0
lea eax, [ebp - 0xf60]
push eax
call fcn.00455f20
lea eax, [ebp - 0xf60]
push eax
lea eax, [ebp - 0xb50]
push str._s.lnk
push eax
call esi
add esp, 0x1c
lea eax, [ebp - 0x11f8]
push eax
lea eax, [ebp - 0xb50]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1224], eax
cmp eax, 0xffffffff
je 0x45eeb9
push 0x208
lea eax, [ebp - 0x948]
push 0
push eax
call fcn.004ba6a0
push dword [ebp - 0x1200]
lea eax, [ebp - 0x948]
push 0x4edbe4
push eax
call esi
lea eax, [ebp - 0x948]
push 0x208
push eax
call fcn.00456050
lea ecx, [ebp - 0x948]
add esp, 0x20
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e5b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x948]
push eax
call fcn.004cccfc
lea ecx, [ebp - 0x330]
add esp, 8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e5e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.004cccfc
add esp, 8
cmp dword [ebp - 0x11f8], 0x10
je 0x45eb35
push 0x208
lea eax, [ebp - 0x538]
push 0
push eax
call fcn.004ba6a0
push 0x208
lea eax, [ebp - 0xb50]
push 0
push eax
call fcn.004ba6a0
push 0x190
lea eax, [ebp - 0x1a0]
push 0
push eax
call fcn.004ba6a0
lea eax, [ebp - 0x11cc]
push eax
lea eax, [ebp - 0xf60]
push eax
lea eax, [ebp - 0xb50]
push str._s_s
push eax
call esi
mov ecx, dword [ebp - 0x1220]
lea eax, [ebp - 0x538]
add esp, 0x34
push eax
lea eax, [ebp - 0xb50]
push eax
call fcn.0045ff10
mov dword [ebp - 0x1204], eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x1a0]
push 0x4edbe4
push eax
call esi
lea eax, [ebp - 0x1a0]
push 0x190
push eax
call fcn.004562a0
lea ecx, [ebp - 0x1a0]
add esp, 0x14
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e6c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004cccfc
mov ecx, edi
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e6e7
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edi
call fcn.004cccfc
mov ecx, edi
mov dword [ebp - 0xf68], 0
xorps xmm0, xmm0
mov dword [ebp - 0xf64], 0
add esp, 8
movups xmmword [ebp - 0xf78], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e726
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xf78]
call fcn.00406460
cmp dword [ebp - 0xf68], 0
mov dword [ebp - 4], 0
je 0x45edaa
push 0x208
lea eax, [ebp - 0xd58]
push 0
push eax
call fcn.004ba6a0
cmp dword [ebp - 0xf64], 7
lea eax, [ebp - 0xf78]
cmova eax, dword [ebp - 0xf78]
push eax
lea eax, [ebp - 0xd58]
push 0x4edbe4
push eax
call esi
lea eax, [ebp - 0xd58]
push 0x208
push eax
call fcn.004561e0
xorps xmm0, xmm0
mov dword [ebp - 0xf98], 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0xf94], 0
add esp, 0x20
lea edx, [ecx + 2]
movups xmmword [ebp - 0xfa8], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e7c7
sub ecx, edx
lea eax, [ebp - 0x1a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfa8]
call fcn.00406460
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd58]
mov dword [ebp - 0xf80], 0
movups xmmword [ebp - 0xf90], xmm0
mov dword [ebp - 0xf7c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e814
sub ecx, edx
lea eax, [ebp - 0xd58]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf90]
call fcn.00406460
cmp dword [ebp - 0xf7c], 7
lea ecx, [ebp - 0xf90]
mov esi, dword [ebp - 0xf90]
lea eax, [ebp - 0xfa8]
mov edi, dword [ebp - 0xfa8]
cmova ecx, esi
mov edx, dword [ebp - 0xf80]
seta byte [ebp - 0x11f9]
cmp dword [ebp - 0xf94], 7
mov byte [ebp - 4], 2
cmova eax, edi
mov dword [ebp - 0x120c], esi
mov dword [ebp - 0x1210], eax
seta byte [ebp - 0x11fa]
mov eax, dword [ebp - 0xf98]
mov dword [ebp - 0x1214], ecx
mov dword [ebp - 0x121c], edi
cmp edx, eax
ja 0x45e978
sub eax, edx
test edx, edx
jne 0x45e8ad
xor eax, eax
jmp 0x45e97b
mov esi, dword [ebp - 0x1210]
inc eax
movzx edi, word [ecx]
mov dword [ebp - 0x122c], edi
lea edx, [esi + eax*2]
mov eax, esi
mov dword [ebp - 0x1230], edx
nop dword [eax + eax]
sub edx, eax
mov esi, 0
sar edx, 1
je 0x45e8fd
movzx ecx, word [eax]
cmp cx, di
je 0x45e8f5
cmp edx, 1
je 0x45e8f7
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, di
jne 0x45e8e3
mov esi, eax
mov ecx, dword [ebp - 0x1214]
mov eax, esi
test eax, eax
je 0x45e96c
mov edi, dword [ebp - 0xf80]
mov esi, ecx
test edi, edi
je 0x45e956
mov ecx, eax
sub ecx, dword [ebp - 0x1214]
mov dword [ebp - 0x1228], ecx
nop dword [eax]
movzx edx, word [esi + ecx]
movzx ecx, word [esi]
cmp dx, cx
jne 0x45e93c
add esi, 2
sub edi, 1
je 0x45e956
mov ecx, dword [ebp - 0x1228]
jmp 0x45e920
mov edi, dword [ebp - 0x122c]
add eax, 2
mov ecx, dword [ebp - 0x1214]
mov edx, dword [ebp - 0x1230]
jmp 0x45e8d0
sub eax, dword [ebp - 0x1210]
mov edi, dword [ebp - 0x121c]
mov esi, dword [ebp - 0x120c]
sar eax, 1
jmp 0x45e97b
mov edi, dword [ebp - 0x121c]
mov esi, dword [ebp - 0x120c]
or eax, 0xffffffff
cmp dword [ebp - 0x1204], 0
jne 0x45e9c7
cmp byte [ebp - 0x11f9], 0
mov byte [ebp - 4], 1
je 0x45eaa0
mov ecx, dword [ebp - 0xf7c]
mov eax, esi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45e9c0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push esi
jmp 0x45ea98
lea edx, [ebp - 0x948]
lea ecx, [ebp - 0x1a0]
mov si, word [ecx]
cmp si, word [edx]
jne 0x45e9f9
test si, si
je 0x45e9f5
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45e9f9
add ecx, 4
add edx, 4
test si, si
jne 0x45e9d3
xor ecx, ecx
jmp 0x45e9fe
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x45eded
lea edx, [ebp - 0x330]
lea ecx, [ebp - 0x1a0]
mov si, word [ecx]
cmp si, word [edx]
jne 0x45ea38
test si, si
je 0x45ea34
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45ea38
add ecx, 4
add edx, 4
test si, si
jne 0x45ea12
xor ecx, ecx
jmp 0x45ea3d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x45eb55
cmp eax, 0xffffffff
jne 0x45eb55
cmp byte [ebp - 0x11f9], 0
mov dword [ebp - 0x1204], 0
mov byte [ebp - 4], 1
je 0x45eaa0
mov ecx, dword [ebp - 0xf7c]
mov edx, dword [ebp - 0x120c]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ea96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
cmp byte [ebp - 0x11fa], 0
mov byte [ebp - 4], 0
je 0x45eae2
mov ecx, dword [ebp - 0xf94]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45ead8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edi
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0xf64]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x45eb29
mov edx, dword [ebp - 0xf78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45eb1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [ebp - 0x1218]
lea eax, [ebp - 0x11f8]
push eax
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e602
jmp 0x45eead
push 0x208
lea eax, [ebp - 0x740]
push 0
push eax
call fcn.004ba6a0
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x740]
push 0x4edbe4
push eax
call esi
lea eax, [ebp - 0x740]
push eax
call fcn.00455e90
lea eax, [ebp - 0x948]
push eax
lea eax, [ebp - 0x740]
push eax
push 0x4f55c8
push eax
call esi
add esp, 0x2c
lea eax, [ebp - 0x740]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x740]
push eax
push dword [ebp - 0x1200]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea esi, [ebp - 0x538]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45ebd3
sub esi, ecx
mov ecx, dword [ebp - 0x1208]
sar esi, 1
mov edi, dword [ecx + 0x14]
cmp esi, edi
ja 0x45ec2b
mov dword [ebp - 0x1200], ecx
mov eax, ecx
cmp edi, 7
jbe 0x45ec04
mov eax, dword [ecx]
mov dword [ebp - 0x1200], eax
mov dword [ecx + 0x10], esi
add esi, esi
push esi
lea ecx, [ebp - 0x538]
push ecx
push eax
call fcn.004ba120
mov eax, dword [ebp - 0x1200]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x45ed07
cmp esi, 0x7ffffffe
ja 0x45eee2
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x45ec4b
mov ecx, accept
jmp 0x45ec69
mov edx, edi
mov eax, accept
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x45ec61
mov ecx, accept
jmp 0x45ec69
lea eax, [edx + edi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x1200]
mov dword [ebp - 0x1200], ecx
mov ecx, dword [ebp - 0x1208]
push eax
push ecx
call fcn.00406400
mov edx, dword [ebp - 0x1208]
mov ecx, dword [ebp - 0x1200]
mov dword [ebp - 0x1210], eax
mov dword [edx + 0x10], esi
add esi, esi
mov dword [edx + 0x14], ecx
lea ecx, [ebp - 0x538]
push esi
push ecx
push eax
call fcn.004ba120
mov eax, dword [ebp - 0x1210]
xor ecx, ecx
add esp, 0x14
mov word [esi + eax], cx
cmp edi, 7
jbe 0x45ecff
mov esi, dword [ebp - 0x1208]
lea edi, [edi*2 + 2]
mov eax, dword [esi]
cmp edi, 0x1000
jb 0x45eceb
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
mov eax, ecx
push edi
push eax
call fcn.004b812d
mov eax, dword [ebp - 0x1210]
add esp, 8
mov dword [esi], eax
jmp 0x45ed07
mov ecx, dword [ebp - 0x1208]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1220]
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0xb50]
push eax
call fcn.00460050
mov ecx, dword [ebp - 0xf7c]
mov dword [ebp - 0x1204], 1
cmp ecx, 7
jbe 0x45ed6a
mov edx, dword [ebp - 0x120c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ed60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0xf94]
cmp ecx, 7
jbe 0x45edaa
mov edx, dword [ebp - 0x121c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45eda0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0xf64]
cmp ecx, 7
jbe 0x45eead
mov edx, dword [ebp - 0xf78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45eea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
jmp 0x45eea3
mov ecx, dword [ebp - 0xf7c]
mov dword [ebp - 0x1204], 1
cmp ecx, 7
jbe 0x45ee37
mov edx, dword [ebp - 0x120c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ee2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0xf94]
cmp ecx, 7
jbe 0x45ee71
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x45ee67
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edi
call fcn.004b812d
add esp, 8
mov ecx, dword [ebp - 0xf64]
cmp ecx, 7
jbe 0x45eead
mov edx, dword [ebp - 0xf78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45eea3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45eee7
push ecx
push edx
call fcn.004b812d
add esp, 8
push dword [ebp - 0x1224]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1204]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b847a
mov esp, ebp
pop ebp
ret 0x10
call fcn.004046c0
call fcn.004be0cf
int3