Function at 0xb61672
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0xc940a0]
xor eax, esp
mov dword [esp + 0x270], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push ecx
mov word [esp + 0x74], ax
mov ecx, edi
lea eax, [esp + 0x74]
mov dword [esp + 0x20], edx
push eax
push 0x8001
mov dword [esp + 0x38], ebx
call fcn.00a85ca4
lea eax, [esp + 0x24]
push eax
mov eax, 0x9efb48
push eax
push eax
push ebx
call dword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_QueryService]
test eax, eax
js 0xb61936
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x70]
push eax
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
mov ebx, eax
mov eax, dword [esp + 0x24]
neg ebx
push eax
sbb bl, bl
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
add bl, 1
jne 0xb61936
xor eax, eax
xor ecx, ecx
mov word [esp + 0x70], ax
mov eax, dword [edi]
mov dword [esp + 0x18], ecx
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x28]
push eax
push ecx
push 0xa15718
lea eax, [esp + 0x28]
push eax
push 1
push ecx
push edi
mov ecx, esi
call dword [0xc99200]
call esi
test eax, eax
js 0xb61777
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call dword [0xc99200]
call esi
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xb61789
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00c54fdf
mov ebx, eax
test ebx, ebx
js 0xb617ac
push ecx
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
mov edx, 0x8000
call fcn.00a85af1
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_ILFree]
test byte [0xc96fc1], 0x20
je 0xb617c4
lea eax, [esp + 0x70]
mov edx, 0xa14860
push eax
call fcn.00a4d165
and dword [esp + 0x20], 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.00c53e66
test eax, eax
js 0xb617ef
push dword [esp + 0x2c]
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_SetSite]
mov ebx, dword [esp + 0x14]
jmp 0xb617f3
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x10]
push eax
push 0
push 0x9efac8
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 1
push 0
push edi
call dword [0xc99200]
call esi
test eax, eax
js 0xb618de
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
test edi, edi
je 0xb618ca
mov eax, dword [esp + 0x10]
push 1
push 0x7fff
push 1
mov esi, dword [eax]
push 0
push edi
push eax
mov ecx, dword [esi + 0xc]
call dword [0xc99200]
call dword [esi + 0xc]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov esi, eax
test esi, esi
je 0xb618c3
push 0x3c
lea eax, [esp + 0x38]
mov dword [esp + 0x34], 0x40
push 0
push eax
call fcn.00ab4bf6
add esp, 0xc
mov dword [esp + 0x34], 0x400
lea eax, [esi - 1]
mov dword [esp + 0x48], 1
movzx eax, ax
mov dword [esp + 0x3c], eax
push ebx
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_SetSite]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0xc99200]
call esi
push 0
push dword [esp + 0x14]
call dword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_SetSite]
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
test byte [0xc96fc1], 0x20
je 0xb618f6
lea eax, [esp + 0x70]
mov edx, 0xa14c28
push eax
call fcn.00a4d165
mov edx, dword [esp + 0x20]
test edx, edx
je 0xb6190f
mov ecx, ebx
call fcn.00a4ca80
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [esp + 0x14], 0
je 0xb61936
push 0
push dword [esp + 0x18]
call dword [sym.imp.api_ms_win_shcore_comhelpers_l1_1_0.dll_IUnknown_SetSite]
mov ecx, dword [esp + 0x14]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0xc99200]
call esi
mov ecx, dword [esp + 0x27c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.00ab3c50
mov esp, ebp
pop ebp
ret 0x14