Function at 0x10081370
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de46b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x102632d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov eax, ecx
test ecx, ecx
je 0x100819f8
nop
cmp byte [eax + 0x81], 0
jne 0x100813d8
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x100813c0
jmp 0x100819f8
test eax, eax
je 0x100819f8
mov eax, dword [eax + 0xb8]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100819f8
push 0xe
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x8c]
push str._menu____menu_
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.10008910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.1005aa90
test eax, eax
je 0x10081445
lea edi, [eax - 0x78]
jmp 0x10081447
xor edi, edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.100088b0
movaps xmm0, xmmword [0x10229960]
lea ecx, [ebp - 0x58]
push 0x167
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push str._menuitem_textoffset___20__0__crbg___FFFFFF___________________________________crbghover___EBEBEB__crtext___000000__crhover___000000___________________________________crdisabled___BFBFBF__fontsize___12__textalign___near___________________________________textlinealign___center__height___25__width___122______________________________________menuitem_
movups xmmword [edi + 0x148], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10008910
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, edi
call fcn.1007bb50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100088b0
push 2
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push 0x10221610
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.10008910
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
push 0x7e8
call fcn.10081cd0
mov byte [ebp - 0x3c], al
test esi, esi
je 0x10081546
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], 0x7e8
test ecx, ecx
je 0x1008152c
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x3c]
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100088b0
push 0x167
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push str._menuitem_textoffset___20__0__crbg___FFFFFF___________________________________crbghover___EBEBEB__crtext___000000__crhover___000000___________________________________crdisabled___BFBFBF__fontsize___12__textalign___near___________________________________textlinealign___center__height___25__width___122______________________________________menuitem_
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10008910
mov dword [ebp - 4], 3
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, edi
call fcn.1007bb50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100088b0
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.jR_aR
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10008910
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x40]
push 0x7e9
call fcn.10081cd0
mov byte [ebp - 0x3c], al
test esi, esi
je 0x10081634
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], 0x7e9
test ecx, ecx
je 0x1008161a
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x3c]
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100088b0
push 0x167
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push str._menuitem_textoffset___20__0__crbg___FFFFFF___________________________________crbghover___EBEBEB__crtext___000000__crhover___000000___________________________________crdisabled___BFBFBF__fontsize___12__textalign___near___________________________________textlinealign___center__height___25__width___122______________________________________menuitem_
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.10008910
mov dword [ebp - 4], 5
lea eax, [ebp - 0x70]
push eax
push ecx
mov ecx, edi
call fcn.1007bb50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100088b0
push 2
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push str._rY6R
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10008910
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x40]
push 0x7ea
call fcn.10081cd0
mov byte [ebp - 0x3c], al
test esi, esi
je 0x10081722
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], 0x7ea
test ecx, ecx
je 0x10081708
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x3c]
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100088b0
push 0x167
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str._menuitem_textoffset___20__0__crbg___FFFFFF___________________________________crbghover___EBEBEB__crtext___000000__crhover___000000___________________________________crdisabled___BFBFBF__fontsize___12__textalign___near___________________________________textlinealign___center__height___25__width___122______________________________________menuitem_
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10008910
mov dword [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.1007bb50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100088b0
push 2
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x70]
push 0x10221608
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.10008910
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x40]
push 0x7eb
call fcn.10081cd0
mov byte [ebp - 0x3c], al
test esi, esi
je 0x10081810
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], 0x7eb
test ecx, ecx
je 0x100817f6
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x3c]
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100088b0
push 0x167
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str._menuitem_textoffset___20__0__crbg___FFFFFF___________________________________crbghover___EBEBEB__crtext___000000__crhover___000000___________________________________crdisabled___BFBFBF__fontsize___12__textalign___near___________________________________textlinealign___center__height___25__width___122______________________________________menuitem_
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10008910
mov dword [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, edi
call fcn.1007bb50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100088b0
push 2
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push 0x102215f8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.10008910
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x40]
push 0x7ef
call fcn.10081cd0
mov byte [ebp - 0x3c], al
test esi, esi
je 0x100818fe
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], 0x7ef
test ecx, ecx
je 0x100818e4
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x3c]
call dword [eax + 0x3c]
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xd0]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100088b0
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x74]
mov byte [eax + 0x169], 1
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [edi + 0x158], eax
mov ecx, edi
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x138], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x13c], eax
call fcn.1007bc70
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x24]
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x100819d6
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push dword [edi + 4]
call esi
test eax, eax
je 0x100819d6
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x100819a5
mov eax, dword [ebp - 0x40]
mov ecx, edi
mov esi, dword [edi + 0x140]
push 1
mov byte [eax + 0x169], 0
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, dword [ebp - 0x40]
push esi
call fcn.10081a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101912fd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret