Function at 0x411f20
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x440272
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
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_
push 0x450638
xor eax, eax
call fcn.0041ee40
add dword [0x450658], 1
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
push esi
mov ecx, 0x445680
call fcn.00406dd0
xor ebx, ebx
mov dword [esp + 0x2d4], ebx
cmp dword [esp + 0x70], ebx
je 0x412277
lea ecx, [esp + 0x78]
push ecx
push esi
mov ecx, 0x4452c4
call fcn.00406dd0
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, 0x445988
mov byte [esp + 0x2dc], 1
call fcn.00406dd0
lea eax, [esp + 0x24]
push eax
mov bl, 2
push esi
mov ecx, 0x445970
mov byte [esp + 0x2dc], bl
call fcn.00406dd0
mov ecx, eax
mov byte [esp + 0x2d4], 3
mov eax, dword [ecx + 0x14]
push 0x444d7c
mov edi, 3
call fcn.00405280
test eax, eax
sete byte [esp + 0x20]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], 8
jb 0x41202a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004286d5
add esp, 4
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, 0x44597c
call fcn.00406dd0
mov ecx, eax
mov byte [esp + 0x2d4], 4
mov eax, dword [ecx + 0x14]
push 0x444d7c
mov edi, 3
call fcn.00405280
test eax, eax
mov edi, 8
sete byte [esp + 0x1c]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], edi
jb 0x41207c
mov eax, dword [esp + 0x28]
push eax
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x74], edi
mov ebx, dword [esp + 0x60]
jae 0x41208a
lea ebx, [esp + 0x60]
mov ecx, 0xbc9
call fcn.00424950
cmp dword [esp + 0x54], 0
jne 0x4120f8
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x4120a9
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.004299fa
add esp, 0xc
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x94]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120d7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x48]
call fcn.00404120
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x412109
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x412117
lea eax, [esp + 0x60]
push ecx
push eax
push str.Executing__s__s
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0x10
cmp byte [esp + 0x1c], 0
mov ecx, 0x444d7c
jne 0x41213e
mov ecx, 0x444d84
cmp byte [esp + 0x20], 0
mov eax, 0x444d7c
jne 0x41214f
mov eax, 0x444d84
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0x10
cmp byte [ebp + 0x3c], 0
jne 0x4121f8
cmp dword [esp + 0x58], edi
mov ebx, dword [esp + 0x44]
jae 0x41217d
lea ebx, [esp + 0x44]
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x41218e
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41219c
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.00423380
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4121f8
cmp byte [ebp + 0x3d], 0
jne 0x4121de
push 0x7f01
push 1
xor edx, edx
push 0x80
push 0x7da
lea ecx, [edx + 0xd]
call fcn.00423c90
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x450638
mov eax, 2
call fcn.0041ee40
mov dword [ebp + 0x38], esi
jmp 0x41222f
cmp dword [esp + 0x18], 0
je 0x412232
cmp byte [ebp + 0x3d], 0
jne 0x41220f
push 0xd
call fcn.00423c60
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push str.Process_returned_0x_X
push 0x450638
mov eax, 2
call fcn.0041ee40
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x38], ecx
add esp, 0xc
cmp dword [esp + 0x58], edi
jb 0x412245
mov edx, dword [esp + 0x44]
push edx
call fcn.004286d5
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 0x4123bc
mov eax, dword [esp + 0x7c]
push eax
call fcn.004286d5
add esp, 4
jmp 0x4123bc
lea ecx, [esp + 0x40]
push ecx
push esi
mov ecx, str.process
call fcn.00406dd0
mov byte [esp + 0x2d4], 5
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x4122a2
lea eax, [esp + 0x44]
push eax
push str.Stopping_process__s
push 0x450638
xor eax, eax
call fcn.0041ee40
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x58], esi
jae 0x4122c5
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x98]
call fcn.00423210
add esp, 4
test eax, eax
je 0x412393
push str.Sending_quit_message
push 0x450638
xor eax, eax
call fcn.0041ee40
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x4122ff
lea eax, [esp + 0x44]
lea edx, [esp + 0x78]
push edx
push 0x4230f0
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 0x412348
lea eax, [esp + 0x44]
push eax
call fcn.00423290
add esp, 4
test eax, eax
je 0x4123a7
push str.Process_still_active__terminating
push 0x450638
mov eax, 1
call fcn.0041ee40
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x41237a
lea eax, [esp + 0x44]
push eax
call fcn.004232d0
add esp, 4
test eax, eax
je 0x4123a7
push str.Process_wont_terminate
mov eax, 2
jmp 0x41239a
push str.Process_is_not_running
xor eax, eax
push 0x450638
call fcn.0041ee40
add esp, 8
cmp dword [esp + 0x58], esi
jb 0x4123ba
mov eax, dword [esp + 0x44]
push eax
call fcn.004286d5
add esp, 4
mov edi, esi
sub dword [0x450658], 1
cmp dword [esp + 0x74], edi
jb 0x4123d6
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004286d5
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.00426d9a
add esp, 0x2c4
ret 4