Function at 0x42e590
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47bef1
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 0x42e6f0
lea ecx, [esp + 0x14]
call fcn.00432fa0
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 0x42e657
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 0x42e64e
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.0042dd10
mov dword [eax], esi
mov eax, dword [esp + 0x64]
inc edi
cmp edi, eax
jl 0x42e626
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 0x42e786
mov eax, dword [esp + 0x18]
cmp eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x28], ecx
je 0x42e6c0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
call fcn.00432a70
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
push ecx
call esi
lea ecx, [esp + 0x28]
call fcn.00432a70
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jne 0x42e692
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.0042c450
mov eax, dword [esp + 0x18]
push eax
call fcn.004694c8
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 0x42ebc4
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 0x42ebc4
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x42e745
xor edx, edx
jmp 0x42e74d
mov edx, dword [ecx + 8]
sub edx, esi
sar edx, 2
test esi, esi
je 0x42e771
mov eax, dword [ecx + 0xc]
sub eax, esi
sar eax, 2
cmp edx, eax
jae 0x42e771
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
add eax, 4
mov dword [ecx + 8], eax
jmp 0x42ebc4
mov eax, dword [ecx + 8]
lea edx, [esp + 0x20]
push edx
push 1
push eax
call fcn.0042d670
jmp 0x42ebc4
lea ecx, [esp + 0x30]
call fcn.00431f50
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 0x42e7e7
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.0042d300
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x42e7c3
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
cmp esi, eax
je 0x42e8b4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x42e800
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
call fcn.0042b860
mov edx, dword [eax]
cmp edx, dword [esp + 0x34]
jne 0x42e837
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.0042bf70
mov esi, dword [eax]
jmp 0x42e8aa
mov edx, dword [esi + 0x10]
push ebx
push edx
call edi
cmp eax, 0x102
je 0x42e862
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.0042bf70
mov esi, dword [eax]
jmp 0x42e8aa
mov al, byte [esi + 0x15]
test al, al
jne 0x42e8aa
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e88d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e8aa
mov edi, edi
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e880
jmp 0x42e8aa
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e8a8
cmp esi, dword [eax + 8]
jne 0x42e8a8
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e897
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42e800
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.0042d4f0
mov eax, dword [esp + 0x34]
push eax
call fcn.004694c8
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add esp, 4
cmp esi, eax
je 0x42e9a4
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 0x42e94d
cmp eax, 0xd
mov word [esp + eax*2 + 0x468], bx
jb 0x42e94d
lea eax, [esp + eax*2 + 0x44e]
push str._splwow64.exe
push eax
call fcn.00453a77
add esp, 8
test eax, eax
jne 0x42e94d
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.0042bf70
mov esi, dword [eax]
jmp 0x42e99a
mov al, byte [esi + 0x15]
test al, al
jne 0x42e99a
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e97d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e99a
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e970
jmp 0x42e99a
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42e998
cmp esi, dword [eax + 8]
jne 0x42e998
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42e987
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42e8f0
lea ecx, [esp + 0x3c]
call fcn.0042b8d0
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 0x42eac4
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 0x42ea38
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.004523e0
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.0042d3c0
mov al, byte [esi + 0x15]
test al, al
jne 0x42eaba
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42ea9d
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42eaba
mov edi, edi
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42ea90
jmp 0x42eaba
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x42eab8
cmp esi, dword [eax + 8]
jne 0x42eab8
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x42eaa7
mov esi, eax
cmp esi, dword [esp + 0x18]
jne 0x42e9f0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
cmp esi, eax
je 0x42eb6f
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
lea ebx, [esi + 0x18]
jne 0x42eae3
xor edx, edx
jmp 0x42eaeb
mov edx, dword [edi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x42eb0a
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x42eb0a
mov eax, dword [edi + 8]
mov ecx, dword [ebx]
mov dword [eax], ecx
add eax, 4
mov dword [edi + 8], eax
jmp 0x42eb18
mov eax, dword [edi + 8]
push ebx
push 1
push eax
mov ecx, edi
call fcn.0042d670
mov al, byte [esi + 0x21]
test al, al
jne 0x42eb63
mov ecx, dword [esi + 8]
mov al, byte [ecx + 0x21]
test al, al
jne 0x42eb41
mov eax, dword [ecx]
mov dl, byte [eax + 0x21]
test dl, dl
jne 0x42eb3d
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x21]
test dl, dl
je 0x42eb32
mov esi, ecx
jmp 0x42eb63
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x21]
test cl, cl
jne 0x42eb61
jmp 0x42eb50
cmp esi, dword [eax + 8]
jne 0x42eb61
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x21]
test cl, cl
je 0x42eb50
mov esi, eax
mov eax, dword [esp + 0x40]
cmp esi, eax
jne 0x42ead5
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.0042d5b0
mov eax, dword [esp + 0x40]
push eax
call fcn.004694c8
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.0042c450
mov edx, dword [esp + 0x18]
push edx
call fcn.004694c8
add esp, 4
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x67c]
call fcn.0044ea94
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4