Function at 0x40ba14
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x35c
mov dword [ebp - 0x2d0], sym.___gxx_personality_sj0
mov dword [ebp - 0x2cc], 0x45da20
lea eax, [ebp - 0x2c8]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x40c5a4
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0x2e8]
mov dword [esp], eax
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0xffffffff
call sym.CInputBox::CInputBox_HWND___
mov dword [0x4641b4], 0
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
mov dword [esp], 0x202
mov dword [ebp - 0x2e4], 9
call sub.WSOCK32.DLL_WSAStartup
sub esp, 8
test eax, eax
je 0x40bacf
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0xffffffff
call fcn.0040a65c
mov dword [ebp - 0x2ec], 1
jmp 0x40ca93
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0xf
je 0x40c89c
cmp dword [ebp - 0x324], 0xf
ja 0x40bb09
cmp dword [ebp - 0x324], 1
je 0x40bb2a
cmp dword [ebp - 0x324], 2
je 0x40c9a4
jmp 0x40c9bf
cmp dword [ebp - 0x324], 0x110
je 0x40bb2a
cmp dword [ebp - 0x324], 0x111
je 0x40bbb5
jmp 0x40c9bf
mov dword [esp], 0
mov dword [ebp - 0x2e4], 9
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp + 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x18], 0x55
mov dword [esp + 0x14], 0xbe
mov dword [esp + 0x10], 0x2d
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], str.Shut_Control
mov dword [esp + 4], str.Button
mov dword [esp], 0x200
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [0x464174], eax
jmp 0x40ca18
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2f0], edx
cmp dword [ebp - 0x2f0], 0
je 0x40bbee
cmp dword [ebp - 0x2f0], 1
je 0x40bc9b
jmp 0x40bcda
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x464174]
jne 0x40bc68
cmp byte [0x464169], 0
jne 0x40bc1c
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_DestroyWindow
sub esp, 4
jmp 0x40bc4d
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error_
mov dword [esp + 4], str.Server_is_already_started.
mov dword [esp], 0
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
mov dword [esp], 0
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_SetFocus
sub esp, 4
jmp 0x40bcda
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x4641ac]
jne 0x40bcda
mov eax, dword [0x464198]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sym.resetLB_HWND___
mov dword [esp], 0
call sub.USER32.dll_SetFocus
sub esp, 4
jmp 0x40bcda
mov eax, dword [0x46417c]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sym.getLB_HWND___
mov dword [esp + 4], eax
mov dword [esp], 0x4641d0
call sym._strcpy
mov dword [esp + 4], 0x4641d0
mov eax, dword [0x46418c]
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov eax, dword [ebp - 0x24]
sub eax, 0x65
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0x26
ja case.0x40bd00.1
mov edx, dword [ebp - 0x31c]
mov eax, dword [edx*4 + 0x461130]
jmp eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], sym.__Z5AboutP6HWND__jjl_16
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x67
mov eax, dword [0x464078]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_DialogBoxParamA
sub esp, 0x14
jmp 0x40ca18
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_DestroyWindow
sub esp, 4
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_IP_Address_and_Server_Port_you_want_to_get_a_connection_with_when_you_connect._n_Example:__localhost_7171_
mov dword [esp + 4], str.Set_Server
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40be8d
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.setServer_char_
cmp eax, 1
jne 0x40ca18
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
call fcn.004415c0
lea eax, [ebp - 0x2a8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Successfully_set_server.
lea eax, [ebp - 0x298]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 8
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x298]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 7
call sym.addConsoleMessage_std::string_
jmp 0x40be35
lea eax, [ebp - 0x298]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 8
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40be7a
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_message.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Enter_the_security_password_to_connect_to_the_server.
mov dword [esp + 4], str.Connect_Server
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40bff2
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.cmdConnect_char_
cmp eax, 1
jne 0x40ca18
lea eax, [ebp - 0x298]
mov dword [esp], eax
call fcn.004415c0
lea eax, [ebp - 0x298]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Connected_to_server.
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 6
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 5
call sym.addConsoleMessage_std::string_
jmp 0x40bf9a
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 6
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40bfdf
lea eax, [ebp - 0x298]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_password.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp], 0
mov dword [ebp - 0x2e4], 9
call sym.cmdDisconnect_char_
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_message_you_want_to_broadcast.
mov dword [esp + 4], str.Broadcast
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c08e
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandBroadcast_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_message.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandListPlayers__
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_that_want_to_kick.
mov dword [esp + 4], 0x460e67
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c123
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandKickPlayer_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_that_want_to_give_7_days_of_premium.
mov dword [esp + 4], 0x460ed1
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c1a4
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandPremiumPlayer_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_that_want_to_give_both_addons.
mov dword [esp + 4], str.Outfit_Addons
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c225
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandAddonPlayer_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_that_want_to_ban_for_7_days.
mov dword [esp + 4], 0x460f79
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c2a6
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandBanPlayer_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_of_the_account_you_want_to_ban_for_7_days.
mov dword [esp + 4], str.Ban_Account_by_Playername
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c327
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandBanAccount_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_player_of_the_IP_Address_you_want_to_ban_for_7_days.
mov dword [esp + 4], str.Ban_IP_Address_by_Playername
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c3a8
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandBanIP_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadCommands__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadConfig__
lea eax, [ebp - 0x298]
mov dword [esp], eax
call fcn.004415c0
lea eax, [ebp - 0x298]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Reloaded_config.
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 3
call sym.addConsoleMessage_std::string_
jmp 0x40c484
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 4
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40c4c9
lea eax, [ebp - 0x298]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadMonsters__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadMovements__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadRaids__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadSpells__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadTalkactions__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadWeapons__
lea eax, [ebp - 0x298]
mov dword [esp], eax
call fcn.004415c0
lea eax, [ebp - 0x298]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Reloaded_weapons.
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 1
call sym.addConsoleMessage_std::string_
jmp 0x40c659
lea eax, [ebp - 0x2a8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 2
call method.std::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string__
jmp 0x40c69e
lea eax, [ebp - 0x298]
mov dword [esp], eax
call sym.std::allocator_char_::allocator__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandReloadEverything__
jmp 0x40ca18
mov dword [esp], 0x14
mov dword [ebp - 0x2e4], 9
call sym.commandSetWorldType_char_
jmp 0x40ca18
mov dword [esp], 0x13
mov dword [ebp - 0x2e4], 9
call sym.commandSetWorldType_char_
jmp 0x40ca18
mov dword [esp], 0x15
mov dword [ebp - 0x2e4], 9
call sym.commandSetWorldType_char_
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_name_of_the_raid_that_you_want_to_execute.
mov dword [esp + 4], 0x4610c0
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c762
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandExecuteRaid_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_a_name.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandServerSave__
jmp 0x40ca18
mov dword [ebp - 0x2e4], 9
call sym.commandCleanMap__
jmp 0x40ca18
mov dword [esp + 8], str.Please_enter_the_amount_of_the_new_player_limit.
mov dword [esp + 4], str.Change_Player_Limit
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call method.CInputBox.DoModal_char_const__char_const_
test eax, eax
je 0x40ca18
cmp dword [ebp - 0xf4], 0
je 0x40c80b
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sym.commandSetPlayerLimit_char_
jmp 0x40ca18
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x460d5f
mov dword [esp + 4], str.Please_enter_an_amount.
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
jmp 0x40ca18
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_DefWindowProcA
sub esp, 0x10
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0xffffffff
call fcn.0040a65c
mov eax, dword [ebp - 0x318]
mov dword [ebp - 0x2ec], eax
jmp 0x40ca93
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_BeginPaint
sub esp, 8
mov dword [ebp - 0x6c], eax
mov dword [esp + 4], 0x7d0
mov eax, dword [0x464078]
mov dword [esp], eax
call sub.USER32.dll_LoadBitmapA
sub esp, 8
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sub.GDI32.dll_CreateCompatibleDC
sub esp, 4
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call sub.GDI32.dll_SaveDC
sub esp, 4
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call sub.GDI32.dll_SelectObject
sub esp, 8
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x2b0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x75
mov dword [esp + 0xc], 0x190
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sub.GDI32.dll_BitBlt
sub esp, 0x24
mov eax, dword [ebp - 0x2b4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2b0]
mov dword [esp], eax
call sub.GDI32.dll_RestoreDC
sub esp, 8
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.USER32.dll_EndPaint
sub esp, 8
jmp 0x40ca18
mov dword [esp], 0
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_PostQuitMessage
sub esp, 4
jmp 0x40ca18
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 9
call sub.USER32.dll_DefWindowProcA
sub esp, 0x10
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0xffffffff
call fcn.0040a65c
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x2ec], edx
jmp 0x40ca93
mov dword [ebp - 0x2e4], 9
call sub.WSOCK32.DLL_WSACleanup
lea eax, [ebp - 0xf8]
mov dword [esp], eax
mov dword [ebp - 0x2e4], 0xffffffff
call fcn.0040a65c
mov dword [ebp - 0x2ec], 0
jmp 0x40ca93
lea eax, [ebp - 0x2e8]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x2ec]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10