Function at 0x10023ee0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push ecx
lea ecx, [esp + 0x44]
call fcn.10050070
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x10023f3e
push 5
push 0x1018e164
mov ecx, edi
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
call fcn.10051fd0
jmp 0x10024206
push 0x104
lea eax, [esp + 0x13c]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x10023f86
lea eax, [esp + 0x138]
push 0x5c
push eax
call fcn.1011d08b
add esp, 8
test eax, eax
je 0x10023f86
lea edx, [eax + 2]
lea ecx, [esp + 0x50]
call fcn.10059140
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
mov edx, 0x1018e174
lea ecx, [esp + 0x50]
call fcn.10059140
push 0x104
lea eax, [esp + 0x344]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x10023fc8
lea edx, [esp + 0x340]
lea ecx, [esp + 0x50]
call fcn.10059140
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
lea edx, [esp + 0x138]
lea ecx, [esp + 0x50]
call fcn.10059140
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x100240b8
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push dword [esp + 0x120]
lea ecx, [esp + 0x54]
call fcn.100507d0
mov edx, 0x1018e190
mov ecx, eax
call fcn.10059140
push dword [esp + 0x122]
mov ecx, eax
call fcn.100507d0
mov edx, 0x1018e190
mov ecx, eax
call fcn.10059140
push dword [esp + 0x126]
mov ecx, eax
call fcn.100507d0
mov edx, 0x1018e18c
mov ecx, eax
call fcn.10059140
push dword [esp + 0x128]
mov ecx, eax
call fcn.100507d0
mov edx, 0x1018e188
mov ecx, eax
call fcn.10059140
push dword [esp + 0x12a]
mov ecx, eax
call fcn.100507d0
mov edx, 0x1018e188
mov ecx, eax
call fcn.10059140
push dword [esp + 0x12c]
mov ecx, eax
call fcn.100507d0
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x100240dc
cmp dword [esp + 0x10], 0
mov edx, 0x1018e194
jne 0x100240e1
mov edx, str.x64
lea ecx, [esp + 0x50]
call fcn.10059350
mov edx, ebx
lea ecx, [esp + 0x120]
call fcn.100230c0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x10024103
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
call fcn.1005eac0
add esp, 4
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
mov edx, dword [esp + 0x134]
cmp edx, 8
jb 0x10024160
mov ecx, dword [esp + 0x120]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10024156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024226
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessMitigationPolicy]
lea eax, [esp + 0x20]
push 8
push eax
push 0
push esi
call ebx
test eax, eax
je 0x10024193
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x50]
and eax, 1
push eax
call fcn.100504d0
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
push 4
lea eax, [esp + 0x18]
push eax
push 1
push esi
call ebx
test eax, eax
je 0x100241c0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x50]
and eax, 1
push eax
call fcn.100504d0
mov edx, 0x1018e170
mov ecx, eax
call fcn.10059140
push 0x2c
lea eax, [esp + 0xf8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x100241f5
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x50]
shr eax, 0x14
push eax
call fcn.100504d0
mov edx, str._MB
mov ecx, eax
call fcn.10059140
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [esp + 0x44]
call fcn.1004ffd0
lea ecx, [esp + 0x40]
call fcn.10024230
mov ecx, dword [esp + 0x54c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10125fc5
int3