Function at 0x4306fa
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
sub esp, 0x60
push 0x194
mov eax, 0x5bc9a7
call fcn.0058f985
mov esi, ecx
mov dword [ebp], esi
xor ebx, ebx
mov dword [ebp + 0x5c], ebx
call fcn.00496dcd
push eax
lea ecx, [ebp + 0x54]
call fcn.0040141e
mov dword [ebp - 4], ebx
mov dword [ebp + 0x40], ebx
call fcn.00496dcd
push eax
lea ecx, [ebp + 4]
call fcn.0040141e
mov byte [ebp - 4], 1
call fcn.00496dcd
push eax
lea ecx, [ebp + 8]
call fcn.0040141e
mov byte [ebp - 4], 2
call fcn.00496dcd
push eax
lea ecx, [ebp + 0x4c]
call fcn.0040141e
mov byte [ebp - 4], 3
call fcn.00496dcd
push eax
lea ecx, [ebp + 0x3c]
call fcn.0040141e
mov ecx, dword [esi + 0xdc]
mov byte [ebp - 4], 4
mov byte [ebp + 0x53], bl
call fcn.00561a95
cmp eax, 8
je 0x4307b9
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
cmp eax, 7
je 0x4307b9
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
cmp eax, 5
je 0x4307b9
mov ecx, dword [esi + 0xdc]
call fcn.00561a95
mov byte [ebp + 0x5b], bl
cmp eax, 6
jne 0x4307bd
mov byte [ebp + 0x5b], 1
lea eax, [ebp + 0x40]
push eax
push dword [0x659af8]
lea ecx, [esi + 0x2c]
call fcn.004a5820
test eax, eax
je 0x430ff4
push str.Starting_ExecuteShutdownActions
call fcn.004437b6
cmp byte [ebp + 0x5b], 0
pop ecx
jne 0x430f51
mov ecx, 0x666e04
call fcn.00496fe0
mov ecx, 0x666e20
call fcn.00496fe0
push ebx
push 0x41abae
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x430b28
mov edi, 0x5db01c
jmp 0x430824
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
push ebx
push 0x659cd4
push 0x659194
push ebx
push dword [eax + 8]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x44], ecx
call fcn.005908dd
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x430b1c
mov eax, dword [esi]
lea ecx, [ebp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x18]
or dword [ebp + 0x5c], 1
push ebx
push edi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00401d2f
test eax, eax
jge 0x43088d
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
or dword [ebp + 0x5c], 2
push ebx
push edi
mov ecx, eax
call fcn.00401d2f
mov byte [ebp + 0x63], 1
test eax, eax
jl 0x430891
mov byte [ebp + 0x63], 0
test byte [ebp + 0x5c], 2
je 0x4308a6
mov ecx, dword [ebp + 0x10]
and dword [ebp + 0x5c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.00401019
test byte [ebp + 0x5c], 1
mov dword [ebp - 4], 4
je 0x4308c2
mov ecx, dword [ebp + 0x18]
and dword [ebp + 0x5c], 0xfffffffe
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
mov eax, dword [esi]
je 0x4308dc
mov ecx, esi
call dword [eax + 0x24]
test eax, eax
jne 0x430b1c
jmp 0x430b11
lea ecx, [ebp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push ebx
push edi
mov ecx, eax
call fcn.00401d2f
mov ecx, dword [ebp + 0x20]
test eax, eax
setge byte [ebp + 0x63]
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
je 0x4309b8
mov eax, dword [esi]
mov ebx, dword [0x666e08]
lea ecx, [ebp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 6
call fcn.0040227d
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401019
jmp 0x4309b4
push ecx
lea eax, [ebx + 8]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
call fcn.00401db5
push ecx
lea eax, [ebp + 0x3c]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 7
call fcn.00401db5
mov byte [ebp - 4], 4
call fcn.004168b0
pop ecx
pop ecx
test al, al
je 0x4309b2
call fcn.00496dcd
push eax
lea ecx, [ebp + 0x34]
call fcn.0040141e
push dword [ebx + 8]
lea eax, [ebp + 0x34]
push 0x5e6694
push eax
mov byte [ebp - 4], 8
call fcn.00401518
pop ecx
pop ecx
lea eax, [ebp + 0x34]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
call fcn.00401db5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401019
mov ebx, dword [ebx]
test ebx, ebx
jne 0x430938
mov eax, dword [esi]
lea ecx, [ebp + 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push ebx
push edi
mov ecx, eax
call fcn.00401d2f
mov ecx, dword [ebp + 0x28]
test eax, eax
setge byte [ebp + 0x63]
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
je 0x430a96
mov eax, dword [esi]
mov ebx, dword [0x666e24]
lea ecx, [ebp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 9
call fcn.0040227d
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401019
jmp 0x430a92
push ecx
lea eax, [ebx + 8]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
call fcn.00401db5
push ecx
lea eax, [ebp + 0x3c]
mov dword [ebp + 0x48], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.00401db5
mov byte [ebp - 4], 4
call fcn.004168b0
pop ecx
pop ecx
test al, al
je 0x430a90
call fcn.00496dcd
push eax
lea ecx, [ebp + 0x38]
call fcn.0040141e
push dword [ebx + 8]
lea eax, [ebp + 0x38]
push 0x5e6694
push eax
mov byte [ebp - 4], 0xb
call fcn.00401518
pop ecx
pop ecx
lea eax, [ebp + 0x38]
mov dword [ebp + 0xc], esp
mov ecx, esp
push eax
call fcn.00401db5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401019
mov ebx, dword [ebx]
test ebx, ebx
jne 0x430a16
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x18]
or dword [ebp + 0x5c], 4
push ebx
push edi
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00401d2f
test eax, eax
jge 0x430ad6
mov eax, dword [esi]
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
or dword [ebp + 0x5c], 8
push ebx
push edi
mov ecx, eax
call fcn.00401d2f
mov byte [ebp + 0x63], 0
test eax, eax
jl 0x430ada
mov byte [ebp + 0x63], 1
test byte [ebp + 0x5c], 8
je 0x430aef
mov ecx, dword [ebp + 0x1c]
and dword [ebp + 0x5c], 0xfffffff7
add ecx, 0xfffffff0
call fcn.00401019
test byte [ebp + 0x5c], 4
mov dword [ebp - 4], 4
je 0x430b0b
mov ecx, dword [ebp + 0x14]
and dword [ebp + 0x5c], 0xfffffffb
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
je 0x430b1c
push dword [ebp + 0x30]
mov ecx, dword [ebp + 0x40]
call fcn.0043f39d
cmp dword [ebp + 0x44], ebx
jne 0x430821
mov esi, dword [ebp]
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00496ef8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00496fe0
mov eax, dword [ebp + 0x40]
mov edi, dword [eax + 4]
cmp edi, ebx
je 0x430df5
push ebx
push 0x659cd4
push 0x659194
mov eax, edi
mov edi, dword [edi]
push ebx
push dword [eax + 8]
call fcn.005908dd
mov esi, eax
mov eax, dword [ebp + 0x4c]
add esp, 0x14
cmp dword [eax - 0xc], ebx
je 0x430b7e
push 0x5d7c38
lea ecx, [ebp + 0x4c]
call fcn.004022ca
mov eax, dword [esi]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov ecx, dword [ebp + 0x14]
sete byte [ebp + 0x63]
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
mov eax, dword [esi]
je 0x430d2c
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov ecx, dword [ebp + 0x1c]
setne byte [ebp + 0x63]
add ecx, 0xfffffff0
call fcn.00401019
cmp byte [ebp + 0x63], 0
mov eax, dword [esi]
je 0x430c7f
lea ecx, [ebp + 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.00496fa7
mov ecx, dword [ebp + 0x24]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0xd
call fcn.00401019
test bl, bl
je 0x430ddf
mov eax, dword [esi]
lea ecx, [ebp + 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x20]
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00402301
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x20]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.00497110
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x20]
push dword [eax]
lea eax, [ebp + 0x54]
push str.___Adding_FriendlyName:__s
push eax
mov byte [ebp - 4], 0x11
call fcn.00401518
mov ecx, dword [ebp + 0x20]
jmp 0x430dd0
lea ecx, [ebp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00496fa7
mov ecx, dword [ebp + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0xd
call fcn.00401019
test bl, bl
je 0x430ddf
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0x13
call fcn.00402301
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00497110
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push dword [eax]
lea eax, [ebp + 0x54]
push str.___Adding_ClassName:__s
push eax
mov byte [ebp - 4], 0x15
call fcn.00401518
mov ecx, dword [ebp + 0x38]
jmp 0x430dd0
lea ecx, [ebp + 0x34]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x16
call fcn.00496fa7
mov ecx, dword [ebp + 0x34]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0xd
call fcn.00401019
test bl, bl
je 0x430ddf
mov eax, dword [esi]
lea ecx, [ebp + 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push eax
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 0x17
call fcn.00402301
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x5c]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.00497110
mov ecx, dword [ebp + 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
mov eax, dword [esi]
lea ecx, [ebp + 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
push dword [eax]
lea eax, [ebp + 0x54]
push str.___Adding_WindowTitle:__s
push eax
mov byte [ebp - 4], 0x19
call fcn.00401518
mov ecx, dword [ebp + 0x48]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.00401019
push dword [ebp + 0x54]
call fcn.004437b6
xor ebx, ebx
pop ecx
test edi, edi
jne 0x430b4c
mov esi, dword [ebp]
mov edi, dword [ebp + 0x4c]
cmp dword [edi - 0xc], ebx
je 0x430f3a
push str.___Presenting_Files_in_Use_dailog
call fcn.004437b6
pop ecx
push dword [esi + 0xd4]
lea ecx, [ebp - 0x1a0]
push dword [esi + 0xd8]
push edi
call fcn.0044ac7b
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x1a
call fcn.004a25b2
cmp eax, 2
jne 0x430ee0
push str.___The_user_chose_Cancel
call fcn.004437b6
pop ecx
cmp dword [esi + 0x1b4], ebx
jne 0x430e6c
push ebx
push ebx
push ebx
push ebx
push esi
push 0x427083
call fcn.004a43ee
mov dword [esi + 0x1b4], eax
cmp eax, ebx
je 0x430f29
mov eax, dword [esi + 0xd8]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x1b4]
push 0xffffffffffffffff
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x430e97
push str.Setup_UI_cancelled_successfully
jmp 0x430ea3
cmp eax, 0x102
jne 0x430eab
push str.Timed_out_while_waiting_for_setup_UI_thread_to_cancel
call fcn.004437b6
pop ecx
jmp 0x430ecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x54]
push str.Failed_waiting_for_UI_thread_to_cancel._Error_code___08X
push eax
call fcn.00401518
push dword [ebp + 0x54]
call fcn.004437b6
add esp, 0x10
push 0x6396a8
lea eax, [ebp + 0x48]
push eax
mov dword [ebp + 0x48], 0x4c7
call fcn.005902bc
cmp eax, 5
jne 0x430f1e
push str.___The_user_chose_Ingore
call fcn.004437b6
pop ecx
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xd
call fcn.0044aae1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00497022
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
call fcn.00401019
lea ecx, [edi - 0x10]
jmp 0x431005
push str.___The_user_chose_OK
call fcn.004437b6
pop ecx
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xd
call fcn.0044aae1
jmp 0x430f45
push str.___There_are_no_applications_needing_to_be_shown_in_the_Files_in_Use_dailog
call fcn.004437b6
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00497022
mov eax, dword [ebp + 0x40]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x430ff4
jmp 0x430f64
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
push ebx
push 0x659cd4
push 0x659194
push ebx
push dword [eax + 8]
mov dword [ebp + 0x44], ecx
call fcn.005908dd
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x430fd1
push dword [edi + 0xc]
lea eax, [ebp + 0x54]
push str.Executing_shutdown_action:__s
push eax
call fcn.00401518
push dword [ebp + 0x54]
call fcn.004437b6
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
call dword [eax]
push eax
push dword [edi + 0xc]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x54]
push str.___Shutdown_action__s_return_code:__d
push eax
call fcn.00401518
push dword [ebp + 0x54]
call fcn.004437b6
add esp, 0x14
cmp dword [ebp + 0x48], ebx
je 0x430fd1
mov byte [ebp + 0x53], 1
cmp dword [ebp + 0x44], ebx
jne 0x430f61
cmp byte [ebp + 0x53], 0
je 0x430ff4
cmp byte [ebp + 0x5b], 0
jne 0x430ff4
push str.One_of_the_applications_did_not_close_properly_and_setup_will_present_the_Files_in_Use_dialog_again
call fcn.004437b6
pop ecx
mov ecx, esi
call fcn.004306fa
mov ecx, dword [ebp + 0x3c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret