Function at 0x402020
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x94
mov eax, dword [0x42b014]
xor eax, esp
mov dword [esp + 0x90], eax
push ebp
mov ebp, dword [esp + 0x9c]
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x38], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x38]
movlpd qword [esp + 0x44], xmm0
push eax
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0x30
mov dword [esp + 0x64], str.BrowserMainClass
mov dword [esp + 0x44], 0x4024f0
mov dword [esp + 0x5c], 6
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x4020db
push 0x10
push 0x4228bc
push str.RegisterClassEx_failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00406f44
add esp, 0x94
ret 0x10
push 0
push ebp
push 0
push 0
push 0x258
push 0x3c0
push bind
push bind
push 0xcb0000
push str.BF1942_Server_List
push str.BrowserMainClass
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x42b8c0], eax
test eax, eax
jne 0x402149
push 0x10
push 0x4228bc
push str.CreateWindowEx_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00406f44
add esp, 0x94
ret 0x10
push ebx
push esi
push edi
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
sub edi, dword [esp + 0x94]
sub ebx, dword [esp + 0x90]
push 0
push ebp
push 8
push dword [0x42b8c0]
lea esi, [edi - 0x28]
push 0x1e
push 0x64
push esi
lea eax, [ebx - 0x6e]
push eax
push 0x50010001
push str.Close
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push ebp
push 0x68
push dword [0x42b8c0]
push 0x1e
push 0x64
push esi
push 0x2a8
push 0x50010001
push str.Refresh
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push ebp
push 0x66
push dword [0x42b8c0]
lea esi, [edi - 0x23]
push 0x10
push 0xaa
push esi
push 0xa
push 0x50000000
push str.Select_a_server
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push ebp
push 0x67
push dword [0x42b8c0]
mov dword [0x42b8cc], eax
push 0x10
push 0x12c
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xb4
push 0x50000000
push 0x422984
push str.Static
push 0
call esi
push 0
push ebp
push 0x64
push dword [0x42b8c0]
mov dword [0x42b8d0], eax
lea eax, [edi - 0x32]
push eax
push 0x294
push 0xa
push 0xa
push 0x50800005
push 0x422984
push str.SysListView32
push 0
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push 0
push 0x1036
push eax
mov dword [0x42b8c4], eax
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 7
push eax
push 0
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], str.Server_name
mov dword [esp + 0x28], 0xd7
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 1
push eax
push 1
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x2c], str.Players
mov dword [esp + 0x28], 0x32
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 2
push eax
push 2
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x2c], str.Ping
mov dword [esp + 0x28], 0x28
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 3
push eax
push 3
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x2c], 0x4229d8
mov dword [esp + 0x28], 0xa0
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 4
push eax
push 4
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x2c], str.Gamemode
mov dword [esp + 0x28], 0x5a
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 5
push eax
push 5
push 0x1061
push dword [0x42b8c4]
mov dword [esp + 0x2c], 0x4229f4
mov dword [esp + 0x28], 0x55
call esi
push 0
push ebp
push 0x65
push dword [0x42b8c0]
lea eax, [edi - 0x3c]
push eax
lea eax, [ebx - 0x2b2]
push eax
push 0xa
push 0x2a8
push 0x50800005
push 0x422984
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x42b8c8], eax
push 0x31
push 0
push 0x1036
push eax
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 0
push eax
push 0
push 0x1061
push dword [0x42b8c8]
mov dword [esp + 0x2c], str.Player_name
mov dword [esp + 0x28], 0xaa
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 1
push eax
push 1
push 0x1061
push dword [0x42b8c8]
mov dword [esp + 0x2c], str.Score
mov dword [esp + 0x28], 0x28
call esi
lea eax, [esp + 0x10]
mov dword [esp + 0x24], 2
push eax
push 2
push 0x1061
push dword [0x42b8c8]
mov dword [esp + 0x2c], str.Ping
mov dword [esp + 0x28], 0x28
call esi
push dword [esp + 0xb4]
push dword [0x42b8c0]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00402ef0
mov dword [0x42b8d4], eax
call fcn.00401ba0
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x74]
push 0
push 0
push dword [0x42b8c0]
push eax
call ebx
test eax, eax
je 0x4024d2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
cmp eax, 0xffffffff
je 0x4024d2
lea eax, [esp + 0x74]
push eax
call esi
lea eax, [esp + 0x74]
push eax
call edi
push 0
push 0
push dword [0x42b8c0]
lea eax, [esp + 0x80]
push eax
call ebx
test eax, eax
jne 0x4024a7
mov ecx, dword [esp + 0xa0]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00406f44
add esp, 0x94
ret 0x10