Function at 0x459ba0
Capabilities:
Enumerate gui resources
Enumerate process modules
Get process image filename

Disassembly:
push 0xffffffffffffffff
push 0x48deb0
mov eax, dword fs:[0]
push eax
mov eax, 0x1510
call fcn.00471590
mov eax, dword [0x4acab8]
xor eax, esp
mov dword [esp + 0x150c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
xor eax, esp
push eax
lea eax, [esp + 0x1524]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1534]
lea eax, [esp + 0x1c]
push eax
push 0x1000
lea ecx, [esp + 0xa4]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x45a02f
mov esi, dword [esp + 0x1c]
shr esi, 2
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebp
cmp esi, edi
jbe 0x45a031
mov eax, dword [esp + ebp*4 + 0x9c]
cmp dword [esp + 0x20], eax
je 0x45a020
push eax
push edi
push 0x100411
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x45a01c
push 0x104
lea edx, [esp + 0x131c]
push edx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea ecx, [esp + 0x109c]
call fcn.0045df10
lea ecx, [esp + 0x2c]
mov dword [esp + 0x152c], edi
call fcn.0045ca30
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x1318]
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x1534], 1
call fcn.00428bf0
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x153c], 2
call fcn.0042a4d0
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x10fc]
mov byte [esp + 0x1538], 3
call fcn.0040b360
mov ebp, 0x10
cmp dword [esp + 0x7c], ebp
jb 0x459cf0
mov eax, dword [esp + 0x68]
push eax
call fcn.0046fa18
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0
mov byte [esp + 0x152c], 1
cmp dword [esp + 0x98], ebp
jb 0x459d22
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0046fa18
add esp, 4
mov ecx, dword [esp + 0x1104]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x9c]
push 0xa
push str.chrome.exe
push ecx
push edi
lea ecx, [esp + 0x1100]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
call fcn.0040a1a0
test eax, eax
jne 0x459d78
push 6
push str.Chrome
lea ecx, [esp + 0x10dc]
call fcn.0040b580
mov dword [esp + 0x110c], 4
jmp 0x459e29
mov edx, dword [esp + 0x1104]
push 0xb
push str.firefox.exe
push edx
push edi
lea ecx, [esp + 0x1100]
call fcn.0040a1a0
test eax, eax
jne 0x459db8
push 7
push str.Firefox
lea ecx, [esp + 0x10dc]
call fcn.0040b580
mov dword [esp + 0x110c], 1
jmp 0x459e29
mov eax, dword [esp + 0x1104]
push 0xc
push str.iexplore.exe
push eax
push edi
lea ecx, [esp + 0x1100]
call fcn.0040a1a0
test eax, eax
jne 0x459df4
push 0x11
push str.Internet_Explorer
lea ecx, [esp + 0x10dc]
call fcn.0040b580
mov dword [esp + 0x110c], edi
jmp 0x459e29
lea ecx, [esp + 0x10f0]
push str.opera.exe
push ecx
call fcn.0040acf0
add esp, 8
test al, al
je 0x459e29
push str.Opera
lea ecx, [esp + 0x10d8]
call fcn.0040b660
mov dword [esp + 0x110c], 2
cmp dword [esp + 0x10e8], edi
jne 0x459e3e
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x459fba
cmp dword [esp + 0x110c], 4
jne 0x459e5f
call fcn.00457b30
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x10a8]
call fcn.0040b360
jmp 0x459ecc
push 0x104
lea edx, [esp + 0x1114]
push edx
push edi
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [esp + 0x1110]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00428bf0
add esp, 8
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x10a8]
mov byte [esp + 0x1538], 4
call fcn.0040b360
mov byte [esp + 0x152c], 1
cmp dword [esp + 0x60], ebp
jb 0x459ebb
mov edx, dword [esp + 0x4c]
push edx
call fcn.0046fa18
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], edi
mov byte [esp + 0x4c], 0
mov eax, dword [ebx + 0x14]
mov ebp, dword [eax]
mov esi, dword [ebx]
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x459ee0
cmp esi, eax
je 0x459ee5
call fcn.004707a2
cmp ebp, edi
je 0x459f57
test esi, esi
jne 0x459f4f
call fcn.004707a2
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x459efe
call fcn.004707a2
cmp dword [esp + 0x10b4], 0x10
mov eax, dword [esp + 0x10a0]
lea ecx, [ebp + 8]
jae 0x459f19
lea eax, [esp + 0x10a0]
mov edx, dword [esp + 0x10b0]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push 0
call fcn.0040a1a0
test eax, eax
je 0x459fb8
test esi, esi
jne 0x459f53
call fcn.004707a2
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x459f4a
call fcn.004707a2
mov ebp, dword [ebp]
jmp 0x459ed3
mov eax, dword [esi]
jmp 0x459ef4
mov eax, dword [esi]
jmp 0x459f40
mov eax, dword [esp + 0x10cc]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x10c4]
call fcn.0045e0a0
push 1
lea ecx, [esp + 0x10bc]
mov esi, eax
call fcn.0045ce30
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x109c]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0045e560
push 1
mov ecx, ebx
mov edi, eax
call fcn.0045cf70
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor edi, edi
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x40]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], edi
cmp eax, ecx
je 0x459fea
mov esi, dword [eax]
push eax
call fcn.0046fa18
mov ecx, dword [esp + 0x44]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x459fd5
push ecx
call fcn.0046fa18
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x48], edi
call fcn.0046fa18
add esp, 8
lea ecx, [esp + 0x109c]
mov dword [esp + 0x152c], 0xffffffff
call fcn.0045df90
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, esi
jb 0x459c2a
jmp 0x45a031
xor edi, edi
cmp dword [ebx + 0x18], edi
je 0x45a042
push ebx
push 0x457470
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x1524]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150c]
xor ecx, esp
call fcn.00470538
add esp, 0x151c
ret