Function at 0x10003224
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
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000326e
push 6
call fcn.10008bf3
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10003290
push dword [ebp + 8]
push 0
push 0x400
call fcn.100036cd
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.10009480
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100032c5
push ebx
call fcn.10008c05
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]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100032f3
push 6
call fcn.10008bf3
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000330a
mov eax, 0x100222a8
jmp 0x100036a5
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000332c
push 6
call fcn.10008bf3
add esp, 4
lea eax, [ebp - 8]
push eax
call fcn.10003cd6
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000334c
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000004
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003363
mov eax, 0x100222a8
push eax
push 1
mov ebx, 0x174
call fcn.100094b0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000338d
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x100222a8
push dword [ebp - 8]
call fcn.10001d4b
add esp, 8
cmp eax, 0
jne 0x100033b9
mov eax, 0x100223e2
jmp 0x100036a5
mov eax, dword [ebp - 8]
test eax, eax
je 0x100033d5
push eax
mov ebx, eax
call fcn.10001378
inc eax
push eax
call fcn.10008bed
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 0x100033e6
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x100223e4
push 0x80000004
push 0
push str.DeviceHarddiskVolume6
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000342b
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10003455
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x100223ff
push 0x80000004
push 0
push str.DeviceHarddiskVolume5
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000349a
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100034c4
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x1002241a
push 0x80000004
push 0
push str.DeviceHarddiskVolume4
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10003509
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10003533
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x10022435
push 0x80000004
push 0
push str.DeviceHarddiskVolume3
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10003578
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100035a2
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x10022450
push 0x80000004
push 0
push str.DeviceHarddiskVolume2
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100035e7
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10003611
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000002
push 0
push 0
mov ebx, 6
call fcn.1000321c
push 0x80000004
push 0
push 0x1002246b
push 0x80000004
push 0
push str.DeviceHarddiskVolume1
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10003656
mov eax, 0x100222a8
push eax
push 6
mov ebx, 0x180
call fcn.10009980
add esp, 0x4c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10003680
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100036a0
push eax
mov ebx, eax
call fcn.10001378
inc eax
push eax
call fcn.10008bed
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100036a5
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100036b6
push ebx
call fcn.10008c05
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100036c6
push ebx
call fcn.10008c05
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4