Function at 0x100156d9
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
push 0
push 0x400
xor eax, eax
call dword [0x10148866]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001572d
push 0x19
push 0x402e1c0
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10015744
mov eax, 0x100542f9
jmp 0x10015b99
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.100314d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015779
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 0x200
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100157b1
push 0xeb
push 0x402e1c0
push 6
call fcn.1002fffd
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100157f4
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x101487ee]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100157ea
push 0x120
push 0x402e1c0
push 6
call fcn.1002fffd
add esp, 0xc
mov eax, 0x100542f9
jmp 0x10015b99
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x101487ee]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10015820
push 0x155
push 0x402e1c0
push 6
call fcn.1002fffd
add esp, 0xc
lea eax, [ebp - 8]
push eax
call fcn.10015bc1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015840
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10015857
mov eax, 0x100542f9
push eax
push 1
mov ebx, 0x174
call fcn.100332e0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015881
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x100542f9
push dword [ebp - 8]
call fcn.100017ef
add esp, 8
cmp eax, 0
jne 0x100158ad
mov eax, 0x100602bb
jmp 0x10015b99
mov eax, dword [ebp - 8]
test eax, eax
je 0x100158c9
push eax
mov ebx, eax
call fcn.1000188c
inc eax
push eax
call fcn.1002ffeb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100158da
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x100602bd
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001591f
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015949
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x100602d8
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume5
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1001598e
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100159b8
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x100602f3
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100159fd
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015a27
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x1006030e
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume3
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10015a6c
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015a96
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x10060329
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10015adb
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015b05
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push connect
push 0
push 0
mov ebx, 6
call fcn.1000c988
push reloc.WS2_32.dll_connect
push 0
push 0x10060344
push reloc.WS2_32.dll_connect
push 0
push str.DeviceHarddiskVolume1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10015b4a
mov eax, 0x100542f9
push eax
push 6
mov ebx, 0x180
call fcn.10032540
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015b74
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10015b94
push eax
mov ebx, eax
call fcn.1000188c
inc eax
push eax
call fcn.1002ffeb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10015b99
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10015baa
push ebx
call fcn.1002fff1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10015bba
push ebx
call fcn.1002fff1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4