Function at 0x467160
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f05d6
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x536364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x25c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x260], eax
xor eax, eax
mov dword [esi + 0x264], ecx
mov dword [esi + 0x26c], 0x24
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x4672a7
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
push 0x50b270
call fcn.004d7cff
lea ecx, [ebp - 0x210]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467223
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.004068e0
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467250
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.004068e0
lea ecx, [ebp - 0x610]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467280
sub ecx, edx
lea eax, [ebp - 0x610]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.00404ff0
jmp 0x467350
push 0
push 0x53d7e8
push 0x53cb48
push 0
push dword [ecx + 0x2b4]
call fcn.004c284f
add esp, 0x14
cmp dword [eax + 0x210], 8
lea edx, [eax + 0x1fc]
jb 0x4672d4
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4672e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x640]
call fcn.004068e0
mov eax, dword [esi + 0x264]
push 0
push 0x53d7e8
push 0x53cb48
push 0
push dword [eax + 0x2b4]
call fcn.004c284f
add esp, 0x14
cmp dword [eax + 0x228], 8
lea edx, [eax + 0x214]
jb 0x46732f
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467334
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x628]
call fcn.004068e0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
mov ecx, esi
cmovae eax, dword [ebp - 0x640]
push eax
call fcn.0043f110
cmp dword [ebp - 0x614], 8
lea edx, [ebp - 0x628]
jb 0x467385
mov edx, dword [ebp - 0x628]
test edx, edx
je 0x4673ac
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467390
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x214]
call fcn.004068e0
push 7
push 0x5180c4
lea ecx, [esi + 0x22c]
call fcn.004068e0
mov dword [ebp - 0x644], esi
test esi, esi
je 0x4673ed
mov eax, dword [0x541478]
cmp dword [0x54147c], eax
je 0x4673e0
mov dword [eax], esi
add dword [0x541478], 4
jmp 0x4673ed
lea ecx, [ebp - 0x644]
push ecx
push eax
call fcn.00468d90
mov eax, dword [esi + 0x264]
test eax, eax
je 0x467400
mov eax, dword [eax + 0x2b4]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x648], 0
push ecx
push 0x80088
push Ordinal_1
push str.UI_MENU_NAME
push eax
mov ecx, esi
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x654], 0
call fcn.0043c780
push 4
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x467491
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467507
push edx
push ecx
call fcn.004a1b67
add esp, 8
mov edx, dword [ebp - 0x62c]
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
cmp edx, 8
jb 0x4674ea
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4674e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46750c
push edx
push ecx
call fcn.004a1b67
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e09
mov esp, ebp
pop ebp
ret 0x18
call fcn.004c43e9
call fcn.004c43e9
int3