Function at 0x413010
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4423e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2dc]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push str.Process
push str.__s____d_
xor ebx, ebx
push 0x4524d8
xor eax, eax
mov dword [esp + 0x28], ebx
call fcn.0041eee0
add dword [0x4524f8], 1
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
push esi
mov ecx, 0x447a90
call fcn.00408280
mov dword [esp + 0x2d4], ebx
cmp dword [esp + 0x70], ebx
je 0x413372
lea ecx, [esp + 0x78]
push ecx
push esi
mov ecx, 0x4476bc
call fcn.00408280
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, 0x447d98
mov byte [esp + 0x2dc], 1
call fcn.00408280
lea eax, [esp + 0x24]
push eax
mov bl, 2
push esi
mov ecx, 0x447d80
mov byte [esp + 0x2dc], bl
call fcn.00408280
mov ecx, eax
mov byte [esp + 0x2d4], 3
mov eax, dword [ecx + 0x14]
push 0x4471b4
mov edi, 3
call fcn.00404360
test eax, eax
sete byte [esp + 0x20]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], 8
jb 0x41311e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00429d64
add esp, 4
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, 0x447d8c
call fcn.00408280
mov ecx, eax
mov byte [esp + 0x2d4], 4
mov eax, dword [ecx + 0x14]
push 0x4471b4
mov edi, 3
call fcn.00404360
test eax, eax
mov edi, 8
sete byte [esp + 0x1c]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], edi
jb 0x413170
mov eax, dword [esp + 0x28]
push eax
call fcn.00429d64
add esp, 4
cmp dword [esp + 0x74], edi
mov ebx, dword [esp + 0x60]
jae 0x41317e
lea ebx, [esp + 0x60]
mov ecx, 0xbc9
call fcn.00425dd0
cmp dword [esp + 0x54], 0
jne 0x4131f1
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41319d
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.00429cf8
add esp, 0xc
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x94]
lea edx, [eax + 2]
jmp 0x4131d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4131d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x48]
call fcn.004035b0
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x413202
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x413210
lea eax, [esp + 0x60]
push ecx
push eax
push str.Executing__s__s
push 0x4524d8
xor eax, eax
call fcn.0041eee0
add esp, 0x10
cmp byte [esp + 0x1c], 0
mov ecx, 0x4471b4
jne 0x413237
mov ecx, 0x4471bc
cmp byte [esp + 0x20], 0
mov eax, 0x4471b4
jne 0x413248
mov eax, 0x4471bc
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4524d8
xor eax, eax
call fcn.0041eee0
add esp, 0x10
cmp byte [ebp + 0x3c], 0
jne 0x4132f3
cmp dword [esp + 0x58], edi
mov ebx, dword [esp + 0x44]
jae 0x413276
lea ebx, [esp + 0x44]
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x413287
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x413295
lea eax, [esp + 0x60]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
call fcn.00423600
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4132f3
cmp byte [ebp + 0x3d], 0
jne 0x4132d9
push 0x7f01
push 1
push 0x80
push 0x7da
xor edx, edx
mov ecx, 0xd
call fcn.004242b0
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x4524d8
mov eax, 2
call fcn.0041eee0
mov dword [ebp + 0x38], esi
jmp 0x41332a
cmp dword [esp + 0x18], 0
je 0x41332d
cmp byte [ebp + 0x3d], 0
jne 0x41330a
push 0xd
call fcn.00424280
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push str.Process_returned_0x_X
push 0x4524d8
mov eax, 2
call fcn.0041eee0
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x38], ecx
add esp, 0xc
cmp dword [esp + 0x58], edi
jb 0x413340
mov edx, dword [esp + 0x44]
push edx
call fcn.00429d64
add esp, 4
xor eax, eax
cmp dword [esp + 0x90], edi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
jb 0x4134b7
mov eax, dword [esp + 0x7c]
push eax
call fcn.00429d64
add esp, 4
jmp 0x4134b7
lea ecx, [esp + 0x40]
push ecx
push esi
mov ecx, str.process
call fcn.00408280
mov byte [esp + 0x2d4], 5
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x41339d
lea eax, [esp + 0x44]
push eax
push str.Stopping_process__s
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x58], esi
jae 0x4133c0
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x98]
call fcn.00423490
add esp, 4
test eax, eax
je 0x41348e
push str.Sending_quit_message
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x4133fa
lea eax, [esp + 0x44]
lea edx, [esp + 0x78]
push edx
push 0x423360
mov dword [esp + 0x80], 0x12
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x413443
lea eax, [esp + 0x44]
push eax
call fcn.00423510
add esp, 4
test eax, eax
je 0x4134a2
push str.Process_still_active__terminating
push 0x4524d8
mov eax, 1
call fcn.0041eee0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x413475
lea eax, [esp + 0x44]
push eax
call fcn.00423550
add esp, 4
test eax, eax
je 0x4134a2
push str.Process_wont_terminate
mov eax, 2
jmp 0x413495
push str.Process_is_not_running
xor eax, eax
push 0x4524d8
call fcn.0041eee0
add esp, 8
cmp dword [esp + 0x58], esi
jb 0x4134b5
mov eax, dword [esp + 0x44]
push eax
call fcn.00429d64
add esp, 4
mov edi, esi
sub dword [0x4524f8], 1
cmp dword [esp + 0x74], edi
jb 0x4134d1
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00429d64
add esp, 4
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.004289ca
add esp, 0x2c4
ret 4