Function at 0x40bc60
Capabilities:
Copy file
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438880
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x44e3ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebx + 0x78]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b600
add esp, 8
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0xa0]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push eax
push 0
push 1
push 2
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x124], xmm0
mov dword [ebp - 0x134], 9
mov dword [ebp - 0x138], 1
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x40c111
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
push 0x200
mov byte [ebp - 4], 1
mov dword [ebp - 0x114], 0xffffffff
call fcn.0041b4e1
mov esi, eax
add esp, 4
test esi, esi
je 0x40bd65
push 0x200
push 0
push esi
call fcn.0041dc60
add esp, 0xc
jmp 0x40bd67
xor esi, esi
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 2
push eax
push esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 0x200
push eax
push dword [ebp - 0x108]
call sub.MPR.dll_WNetEnumResourceW
cmp eax, 0x103
jne 0x40bda4
push eax
push 7
jmp 0x40c114
test eax, eax
je 0x40bdb3
cmp eax, 0xea
jne 0x40c111
push 0x10
xor eax, eax
mov dword [ebp - 0x30], 0
push str.imageservice.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00410cc0
mov edx, dword [esi + 0x14]
mov ecx, edx
mov byte [ebp - 4], 3
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bde2
sub ecx, edi
mov dword [ebp - 0x18], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00410cc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00409150
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00408230
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00408230
push 0xc
xor eax, eax
mov dword [ebp - 0x48], 0
push str.snapshot.exe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00410cc0
mov edx, dword [esi + 0x14]
mov ecx, edx
mov byte [ebp - 4], 8
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be70
sub ecx, edi
mov dword [ebp - 0x18], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00410cc0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00409150
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00408230
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00408230
push 0x10
xor eax, eax
mov dword [ebp - 0x60], 0
push str.service_cert.pem
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00410cc0
mov edx, dword [esi + 0x14]
mov ecx, edx
mov byte [ebp - 4], 0xd
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf00
sub ecx, edi
mov dword [ebp - 0x18], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00410cc0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00409150
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00408230
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x11
call fcn.00408230
push 0xf
xor eax, eax
mov dword [ebp - 0x78], 0
push str.service_key.pem
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00410cc0
mov edx, dword [esi + 0x14]
mov ecx, edx
mov byte [ebp - 4], 0x12
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf91
sub ecx, edi
mov dword [ebp - 0x18], 0
sar ecx, 1
xor eax, eax
push ecx
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00410cc0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00409150
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00408230
lea ecx, [ebp - 0x88]
call fcn.00408230
cmp dword [ebp - 0xec], 8
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x14
mov eax, ebx
cmovae ecx, dword [ebp - 0x100]
cmp dword [ebx + 0x14], 8
jb 0x40c011
mov eax, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push ecx
push eax
call edi
test eax, eax
je 0x40c106
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xe8]
lea eax, [ebx + 0x18]
cmovae ecx, dword [ebp - 0xe8]
cmp dword [eax + 0x14], 8
jb 0x40c044
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
test eax, eax
je 0x40c106
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
lea eax, [ebx + 0x30]
cmovae ecx, dword [ebp - 0xd0]
cmp dword [eax + 0x14], 8
jb 0x40c071
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
test eax, eax
je 0x40c106
cmp dword [ebp - 0xa4], 8
lea ecx, [ebp - 0xb8]
lea eax, [ebx + 0x48]
cmovae ecx, dword [ebp - 0xb8]
cmp dword [eax + 0x14], 8
jb 0x40c09e
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
test eax, eax
je 0x40c106
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x100]
push eax
call fcn.00407170
lea ecx, [ebp - 0x100]
call fcn.004087c0
push esi
call fcn.0041b4ea
add esp, 4
lea ecx, [ebp - 0x10c]
call fcn.00407dd0
lea ecx, [ebp - 0xa0]
call fcn.00408230
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b949
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 9
jmp 0x40c114
push eax
push 0
lea ecx, [ebp - 0x1c]
call fcn.00407660
push 0x44c704
lea eax, [ebp - 0x1c]
push eax
call fcn.0041c83d
int3