Function at 0x41df10
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4525b2
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
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 0x4676b8
xor eax, eax
mov dword [esp + 0x28], ebx
call fcn.0042dae0
add dword [0x4676d8], 1
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
push esi
mov ecx, 0x458d64
call fcn.00412530
mov dword [esp + 0x2d4], ebx
cmp dword [esp + 0x70], ebx
je 0x41e270
lea ecx, [esp + 0x78]
push ecx
push esi
mov ecx, 0x4589ac
call fcn.00412530
lea edx, [esp + 0x40]
push edx
push esi
mov ecx, 0x459070
mov byte [esp + 0x2dc], 1
call fcn.00412530
lea eax, [esp + 0x24]
push eax
mov bl, 2
push esi
mov ecx, 0x459058
mov byte [esp + 0x2dc], bl
call fcn.00412530
mov ecx, eax
mov byte [esp + 0x2d4], 3
mov eax, dword [ecx + 0x14]
push 0x457c48
mov edi, 3
call fcn.00405220
test eax, eax
sete byte [esp + 0x20]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], 8
jb 0x41e01e
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439935
add esp, 4
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, 0x459064
call fcn.00412530
mov ecx, eax
mov byte [esp + 0x2d4], 4
mov eax, dword [ecx + 0x14]
push 0x457c48
mov edi, 3
call fcn.00405220
test eax, eax
mov edi, 8
sete byte [esp + 0x1c]
mov byte [esp + 0x2d4], bl
cmp dword [esp + 0x3c], edi
jb 0x41e070
mov eax, dword [esp + 0x28]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0x74], edi
mov ebx, dword [esp + 0x60]
jae 0x41e07e
lea ebx, [esp + 0x60]
mov ecx, 0xbc9
call fcn.00434cc0
cmp dword [esp + 0x54], 0
jne 0x41e0f1
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41e09d
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x98]
push 0x104
push ecx
call fcn.0043a1a2
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 0x41e0d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e0d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x98]
push eax
lea esi, [esp + 0x48]
call fcn.004040c0
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x41e102
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41e110
lea eax, [esp + 0x60]
push ecx
push eax
push str.Executing__s__s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0x10
cmp byte [esp + 0x1c], 0
mov ecx, 0x457c48
jne 0x41e137
mov ecx, 0x457c50
cmp byte [esp + 0x20], 0
mov eax, 0x457c48
jne 0x41e148
mov eax, 0x457c50
push ecx
push eax
push str.Flags:_Wait_s_Hidden_s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0x10
cmp byte [ebp + 0x3c], 0
jne 0x41e1f1
cmp dword [esp + 0x58], edi
mov ebx, dword [esp + 0x44]
jae 0x41e176
lea ebx, [esp + 0x44]
cmp dword [esp + 0x90], edi
mov ecx, dword [esp + 0x7c]
jae 0x41e187
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x41e195
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.004320a0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e1f1
cmp byte [ebp + 0x3d], 0
jne 0x41e1d7
push 0x7f01
push 1
xor edx, edx
push 0x80
push 0x7da
lea ecx, [edx + 0xd]
call fcn.00433190
add esp, 0x10
push esi
push str.Execute_failed_0x_X
push 0x4676b8
mov eax, 2
call fcn.0042dae0
mov dword [ebp + 0x38], esi
jmp 0x41e228
cmp dword [esp + 0x18], 0
je 0x41e22b
cmp byte [ebp + 0x3d], 0
jne 0x41e208
push 0xd
call fcn.00433160
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push str.Process_returned_0x_X
push 0x4676b8
mov eax, 2
call fcn.0042dae0
mov ecx, dword [esp + 0x24]
mov dword [ebp + 0x38], ecx
add esp, 0xc
cmp dword [esp + 0x58], edi
jb 0x41e23e
mov edx, dword [esp + 0x44]
push edx
call fcn.00439935
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 0x41e3b5
mov eax, dword [esp + 0x7c]
push eax
call fcn.00439935
add esp, 4
jmp 0x41e3b5
lea ecx, [esp + 0x40]
push ecx
push esi
mov ecx, str.process
call fcn.00412530
mov byte [esp + 0x2d4], 5
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x41e29b
lea eax, [esp + 0x44]
push eax
push str.Stopping_process__s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x58], esi
jae 0x41e2be
lea eax, [esp + 0x44]
push eax
lea edi, [esp + 0x98]
call fcn.00431f30
add esp, 4
test eax, eax
je 0x41e38c
push str.Sending_quit_message
push 0x4676b8
xor eax, eax
call fcn.0042dae0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x41e2f8
lea eax, [esp + 0x44]
lea edx, [esp + 0x78]
push edx
push 0x431e00
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 0x41e341
lea eax, [esp + 0x44]
push eax
call fcn.00431fb0
add esp, 4
test eax, eax
je 0x41e3a0
push str.Process_still_active__terminating
push 0x4676b8
mov eax, 1
call fcn.0042dae0
mov eax, dword [esp + 0x4c]
add esp, 8
cmp dword [esp + 0x58], esi
jae 0x41e373
lea eax, [esp + 0x44]
push eax
call fcn.00431ff0
add esp, 4
test eax, eax
je 0x41e3a0
push str.Process_wont_terminate
mov eax, 2
jmp 0x41e393
push str.Process_is_not_running
xor eax, eax
push 0x4676b8
call fcn.0042dae0
add esp, 8
cmp dword [esp + 0x58], esi
jb 0x41e3b3
mov eax, dword [esp + 0x44]
push eax
call fcn.00439935
add esp, 4
mov edi, esi
sub dword [0x4676d8], 1
cmp dword [esp + 0x74], edi
jb 0x41e3cf
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00439935
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.00437ffa
add esp, 0x2c4
ret 4