Function at 0x4140f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440050
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x10]
sub eax, 4
mov byte [esp + 0x70], 2
je 0x4144c9
sub eax, 1
je 0x41427a
sub eax, 0xfa
jne 0x4143c1
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetParentElement]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4143c1
lea ecx, [esp + 0x14]
push ecx
push str.class
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4141d2
push str.game_list_type_g_name_type
push eax
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x4141d2
mov ecx, dword [esp + 0x18]
push edi
call fcn.00419c20
lea esi, [esp + 0x1c]
call fcn.00402870
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetParentElement]
mov eax, dword [edi + 0x2c]
cmp dword [esp + 0x3c], eax
jne 0x4143c1
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, esi
mov dword [esp + 0x38], ebx
lea esi, [esp + 0x30]
lea eax, [esp + 0x38]
call fcn.0041e570
push ecx
mov byte [esp + 0x74], 4
mov eax, esp
mov dword [eax], 0
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], esp
test ecx, ecx
je 0x41423c
mov edx, dword [ecx]
mov eax, dword [eax]
mov ebx, dword [esp + 0x3c]
inc edx
mov dword [eax], edx
mov ecx, edi
call fcn.00415950
lea esi, [esp + 0x30]
call fcn.00402870
test ebx, ebx
je 0x414257
push ebx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
lea esi, [esp + 0x1c]
call fcn.00402870
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push str.class
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
cmp dword [esp + 0x14], ebx
jne 0x4143c1
lea edx, [esp + 0x18]
push edx
push esi
mov esi, dword [sym.imp.HTMLayout.dll_HTMLayoutGetParentElement]
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4143c1
lea ecx, [esp + 0x14]
push ecx
push str.class
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
cmp dword [esp + 0x14], ebx
jne 0x4142e7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4143c1
lea edx, [esp + 0x18]
push edx
push eax
call esi
cmp dword [esp + 0x18], ebx
je 0x4143c1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4143c1
lea edx, [esp + 0x40]
push edx
push eax
call esi
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4143c1
mov esi, dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
lea ecx, [esp + 0x14]
push ecx
push 0x4431d4
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4143c1
push str.online_list
push eax
call fcn.0043ac1f
add esp, 8
test eax, eax
je 0x41435a
mov edx, dword [esp + 0x14]
push str.friend_list
push edx
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x4143c1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push 0x4431d4
push ecx
call esi
cmp dword [esp + 0x34], ebx
je 0x4143c1
lea esi, [esp + 0x20]
call fcn.0040b750
mov byte [esp + 0x70], 5
mov ebx, dword [esp + 0x34]
mov eax, esi
call fcn.00408640
mov edx, dword [esp + 0x20]
push 0xa
push 0
push edx
call fcn.0042a011
mov esi, eax
add esp, 0xc
cmp esi, dword [edi + 0x470]
jne 0x41447c
mov eax, dword [edi + 0xdfc]
cmp dword [eax + 0x2d0], 0
jne 0x4143d8
lea eax, [esp + 0x20]
call fcn.0040b730
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [eax + 0x2cc]
mov edx, dword [ecx]
mov eax, dword [eax + 0x2b4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
mov edi, edi
mov edi, dword [edi + 0xdfc]
mov ecx, dword [edi + 0x2cc]
mov edx, dword [edi + 0x2b4]
add edi, 0x2b4
lea esi, [esp + 0x4c]
lea edi, [esp + 0x44]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
call fcn.0040a590
test al, al
je 0x41444c
mov esi, edi
call fcn.0041cf80
mov edi, dword [eax + 4]
add eax, 4
call fcn.0041cf80
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
push edi
push eax
push ecx
call fcn.0041bea0
call fcn.0040a780
mov edi, dword [esp + 0x30]
jmp 0x4143f0
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0xdfc]
add eax, 0x2b4
call fcn.0040a520
mov edx, dword [esi + 0xdfc]
push 0
push edx
call fcn.004083c0
lea eax, [esp + 0x20]
call fcn.0040b730
jmp 0x414643
mov eax, dword [esp + 0x14]
push str.online_list
push eax
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x41449b
push esi
push edi
xor ecx, ecx
call fcn.0041bfc0
mov ecx, dword [esp + 0x14]
push str.friend_list
push ecx
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x4144bb
push esi
push edi
lea ecx, [eax + 1]
call fcn.0041bfc0
lea eax, [esp + 0x20]
call fcn.0040b730
jmp 0x414643
mov eax, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
push str.command
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push str.command
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetAttributeByName]
cmp dword [esp + 0x14], ebx
je 0x4143c1
mov eax, dword [ebp + 8]
push 1
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayoutGetElementHwnd]
mov ecx, dword [esp + 0x14]
push str.window_min
push ecx
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x414549
mov edx, dword [esp + 0x24]
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x14]
push str.window_max
push eax
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x4145e8
mov edx, dword [esp + 0x24]
lea ecx, [edi + 0xe00]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
lea eax, [esp + 0x58]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 4
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x5c]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.window_restore
push str.command
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
lea esi, [esp + 0x1c]
mov dword [edi + 0xe10], 1
call fcn.00402870
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x14]
push str.window_restore
push ecx
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x414678
mov eax, dword [edi + 0xe04]
mov edx, dword [edi + 0xe0c]
mov ecx, dword [edi + 0xe00]
push 4
sub edx, eax
push edx
mov edx, dword [edi + 0xe08]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x34]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push str.window_max
push str.command
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
mov dword [edi + 0xe10], ebx
lea esi, [esp + 0x1c]
call fcn.00402870
lea esi, [esp + 0x28]
call fcn.00403900
lea esi, [esp + 0x2c]
call fcn.00403900
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x14]
push str.window_close
push ecx
call fcn.0043ac1f
add esp, 8
test eax, eax
jne 0x4143c1
mov edx, dword [esp + 0x24]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [edi + 0xac]
mov ebx, 0x444360
mov eax, 0x444378
call fcn.00422f90
call fcn.00419830
jmp 0x414643