Function at 0x460dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de69b
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x5203c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x25c], eax
xor eax, eax
mov dword [ebp - 0x640], 0
mov dword [ebx + 0x264], ecx
mov dword [ebx + 0x260], edx
mov dword [ebx + 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 - 0x628], 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 0x460f27
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
push 0x4f9904
call fcn.004c4e21
lea ecx, [ebp - 0x210]
add esp, 0x14
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460ea4
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x640]
call fcn.00408d10
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460ed0
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.00408d10
lea ecx, [ebp - 0x610]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460f00
sub ecx, edx
lea eax, [ebp - 0x610]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.0040b1d0
jmp 0x460fd0
push 0
push 0x522618
push 0x523740
push 0
push dword [ecx + 0x28c]
call fcn.004ae9dc
add esp, 0x14
cmp dword [eax + 0x210], 8
lea edx, [eax + 0x1fc]
jb 0x460f54
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460f60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x640]
call fcn.00408d10
mov eax, dword [ebx + 0x264]
push 0
push 0x522618
push 0x523740
push 0
push dword [eax + 0x28c]
call fcn.004ae9dc
add esp, 0x14
cmp dword [eax + 0x228], 8
lea edx, [eax + 0x214]
jb 0x460faf
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460fb4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x628]
call fcn.00408d10
cmp dword [ebp - 0x62c], 8
lea esi, [ebp - 0x640]
jb 0x460fe9
mov esi, dword [ebp - 0x640]
test esi, esi
je 0x461042
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460ff0
sub ecx, edx
lea edi, [ebx + 0x1fc]
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00408d10
cmp dword [ebx + 0x20c], 0
je 0x46103c
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x461021
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x46103c
cmp eax, 0x2f
je 0x46103c
push 0x5c
mov ecx, edi
call fcn.00408000
mov esi, dword [ebp - 0x640]
cmp dword [ebp - 0x614], 8
lea edi, [ebp - 0x628]
jb 0x46105b
mov edi, dword [ebp - 0x628]
test edi, edi
je 0x461082
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461060
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebx + 0x214]
call fcn.00408d10
mov edi, dword [ebp - 0x628]
push 7
push 0x505be4
lea ecx, [ebx + 0x22c]
call fcn.00408d10
mov dword [ebp - 0x644], ebx
test ebx, ebx
je 0x4610c3
mov eax, dword [0x52a16c]
cmp eax, dword [0x52a170]
je 0x4610b6
mov dword [eax], ebx
add dword [0x52a16c], 4
jmp 0x4610c3
lea ecx, [ebp - 0x644]
push ecx
push eax
call fcn.00462890
mov eax, dword [ebx + 0x264]
test eax, eax
je 0x4610d6
mov eax, dword [eax + 0x28c]
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x648], 0
push ecx
push 0x80088
push 0x80000000
push str.UI_MENU_NAME
push eax
mov ecx, ebx
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x654], 0
call fcn.0040cf80
push 4
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x614]
cmp eax, 8
jb 0x46115d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x461153
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4611b1
push ecx
push edi
call fcn.004a8c37
add esp, 8
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x461193
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x461189
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4611b1
push ecx
push esi
call fcn.004a8c37
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b040f
int3