Function at 0x42e660
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47bf81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x678
mov eax, dword [0x4bc364]
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x408
mov dword [esp + 0x684], eax
lea eax, [esp + 0x68]
mov esi, ecx
mov ecx, dword [esi + 0xa14]
push eax
push 3
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x42e7c0
lea ecx, [esp + 0x14]
call fcn.00411390
mov dword [esp + 0x18], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x64], edi
mov dword [esp + 0x68c], edi
jle 0x42e727
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + edi*4 + 0x68]
push eax
push 0
push 0x1f0fff
mov dword [esp + 0x34], eax
call ebx
mov esi, eax
test esi, esi
je 0x42e71e
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.0042dde0
mov dword [eax], esi
mov eax, dword [esp + 0x64]
inc edi
cmp edi, eax
jl 0x42e6f6
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xa14]
push 0
push 0x408
lea eax, [esp + 0x68]
push eax
push 3
push edx
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
jne 0x42e856
mov eax, dword [esp + 0x18]
cmp eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x28], ecx
je 0x42e790
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
call fcn.00410e20
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
push ecx
call esi
lea ecx, [esp + 0x28]
call fcn.00410e20
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jne 0x42e762
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x698], 0xffffffff
call fcn.0042c520
mov eax, dword [esp + 0x18]
push eax
call fcn.00469560
mov esi, dword [esp + 0x10]
add esp, 4
xor edi, edi
mov ecx, dword [esi + 0xa18]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42ec94
push 2
push edi
push edi
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edx
call edi
push eax
mov eax, dword [esi + 0xa18]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x42ec94
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x42e815
xor edx, edx
jmp 0x42e81d
mov edx, dword [ecx + 8]
sub edx, esi
sar edx, 2
test esi, esi
je 0x42e841
mov eax, dword [ecx + 0xc]
sub eax, esi
sar eax, 2
cmp edx, eax
jae 0x42e841
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
add eax, 4
mov dword [ecx + 8], eax
jmp 0x42ec94
mov eax, dword [ecx + 8]
lea edx, [esp + 0x20]
push edx
push 1
push eax
call fcn.0042d740
jmp 0x42ec94
lea ecx, [esp + 0x30]
call fcn.00432020
mov dword [esp + 0x34], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x64]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x68c], 1
jle 0x42e8b7
mov eax, dword [esp + esi*4 + 0x68]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], eax
call fcn.0042d3d0
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x42e893
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x42e984
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x42e8d0
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0042b930
mov edx, dword [eax]
cmp edx, dword [esp + 0x34]
jne 0x42e907
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042c040
mov esi, dword [eax]
jmp 0x42e97a
mov edx, dword [esi + 0x10]
push ebx
push edx
call edi
cmp eax, 0x102
je 0x42e932
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042c040
mov esi, dword [eax]
jmp 0x42e97a
mov al, byte [esi + 0x15]
test al, al
jne 0x42e97a
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e95d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e97a
mov edi, edi
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e950
jmp 0x42e97a
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e978
cmp esi, dword [eax + 8]
jne 0x42e978
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e967
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42e8d0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x698], 0
call fcn.0042d5c0
mov eax, dword [esp + 0x34]
push eax
call fcn.00469560
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add esp, 4
cmp esi, eax
je 0x42ea74
lea ecx, [ecx]
mov edx, dword [esi + 0x10]
push 0x105
lea ecx, [esp + 0x46c]
push ecx
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
cmp eax, ebx
je 0x42ea1d
cmp eax, 0xd
mov word [esp + eax*2 + 0x468], bx
jb 0x42ea1d
lea eax, [esp + eax*2 + 0x44e]
push str._splwow64.exe
push eax
call fcn.00453ab7
add esp, 8
test eax, eax
jne 0x42ea1d
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
call fcn.0042c040
mov esi, dword [eax]
jmp 0x42ea6a
mov al, byte [esi + 0x15]
test al, al
jne 0x42ea6a
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42ea4d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42ea6a
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42ea40
jmp 0x42ea6a
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42ea68
cmp esi, dword [eax + 8]
jne 0x42ea68
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42ea57
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42e9c0
lea ecx, [esp + 0x3c]
call fcn.0042b9a0
mov dword [esp + 0x40], eax
mov byte [eax + 0x21], 1
mov eax, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x40]
mov dword [eax], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 8], eax
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x68c], 2
je 0x42eb94
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea esp, [esp]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call ebx
test eax, eax
jne 0x42eb08
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov edi, dword [esi + 0x10]
push 1
push 0
push 0
push edx
call fcn.00452420
xor ecx, ecx
add eax, dword [esp + 0xc]
mov dword [esp + 0x58], edi
adc edx, ecx
mov dword [esp + 0x54], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x44]
call fcn.0042d490
mov al, byte [esi + 0x15]
test al, al
jne 0x42eb8a
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42eb6d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42eb8a
mov edi, edi
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42eb60
jmp 0x42eb8a
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42eb88
cmp esi, dword [eax + 8]
jne 0x42eb88
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42eb77
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42eac0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp esi, eax
je 0x42ec3f
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
lea ebx, [esi + 0x18]
jne 0x42ebb3
xor edx, edx
jmp 0x42ebbb
mov edx, dword [edi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x42ebda
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x42ebda
mov eax, dword [edi + 8]
mov ecx, dword [ebx]
mov dword [eax], ecx
add eax, 4
mov dword [edi + 8], eax
jmp 0x42ebe8
mov eax, dword [edi + 8]
push ebx
push 1
push eax
mov ecx, edi
call fcn.0042d740
mov al, byte [esi + 0x21]
test al, al
jne 0x42ec33
mov ecx, dword [esi + 8]
mov al, byte [ecx + 0x21]
test al, al
jne 0x42ec11
mov eax, dword [ecx]
mov dl, byte [eax + 0x21]
test dl, dl
jne 0x42ec0d
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x21]
test dl, dl
je 0x42ec02
mov esi, ecx
jmp 0x42ec33
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x42ec31
jmp 0x42ec20
cmp esi, dword [eax + 8]
jne 0x42ec31
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x42ec20
mov esi, eax
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x42eba5
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x698], 0
call fcn.0042d680
mov eax, dword [esp + 0x40]
push eax
call fcn.00469560
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add esp, 4
push eax
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x698], 0xffffffff
call fcn.0042c520
mov edx, dword [esp + 0x18]
push edx
call fcn.00469560
add esp, 4
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x67c]
call fcn.0044ead4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4