Function at 0x408fd0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x124
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
mov esi, edx
cmp esi, 0x2714
push edi
mov dword [esp + 0x14], ecx
ja 0x409037
je 0x40902d
mov eax, esi
sub eax, 0x1f
je 0x409023
sub eax, 0x3c5
je 0x409019
sub eax, 1
jne case.0x40905f.10010
mov eax, str.I_O_Operation_in_progress__ERROR_IO_PENDING_
jmp 0x4092eb
mov eax, str.I_O_Operation_in_progress__WSA_IO_INCOMPLETE_
jmp 0x4092eb
mov eax, 0x511b7c
jmp 0x4092eb
mov eax, str.Interrupted_system_call__WSAEINTR_
jmp 0x4092eb
cmp esi, 0x2af9
ja case.0x40905f.10010
je 0x409200
lea eax, [esi - 0x2719]
cmp eax, 0x54
ja case.0x40905f.10010
movzx eax, byte [eax + 0x4093ac]
jmp dword [eax*4 + 0x409304]
mov eax, str.Bad_file_number__WSAEBADF_
jmp 0x4092eb
mov eax, str.Permission_denied__WSAEACCES_
jmp 0x4092eb
mov eax, str.Bad_address__WSAEFAULT_
jmp 0x4092eb
mov eax, str.Invalid_argument__WSAEINVAL_
jmp 0x4092eb
mov eax, str.Too_many_open_files__WSAEMFILE_
jmp 0x4092eb
mov eax, str.Operation_would_block__WSAEWOULDBLOCK_
jmp 0x4092eb
mov eax, str.Operation_now_in_progress__WSAEINPROGRESS_
jmp 0x4092eb
mov eax, str.Operation_already_in_progress__WSAEALREADY_
jmp 0x4092eb
mov eax, str.Destination_address_required__WSAEDESTADDRREQ_
jmp 0x4092eb
mov eax, str.Message_too_long__WSAEMSGSIZE_
jmp 0x4092eb
mov eax, str.Protocol_wrong_type_for_socket__WSAEPROTOTYPE_
jmp 0x4092eb
mov eax, str.Bad_protocol_option__WSAENOPROTOOPT_
jmp 0x4092eb
mov eax, str.Protocol_not_supported__WSAEPROTONOSUPPORT_
jmp 0x4092eb
mov eax, str.Socket_type_not_supported__WSAESOCKTNOSUPPORT_
jmp 0x4092eb
mov eax, str.Operation_not_supported_on_socket__WSAEOPNOTSUPP_
jmp 0x4092eb
mov eax, str.Protocol_family_not_supported__WSAEPFNOSUPPORT_
jmp 0x4092eb
mov eax, str.Address_family_not_supported_by_protocol_family__WSAEAFNOSUPPORT_
jmp 0x4092eb
mov eax, str.Address_already_in_use__WSAEADDRINUSE_
jmp 0x4092eb
mov eax, str.Network_is_down__WSAENETDOWN_
jmp 0x4092eb
mov eax, str.Network_is_unreachable__WSAENETUNREACH_
jmp 0x4092eb
mov eax, str.Net_dropped_connection_or_reset__WSAENETRESET_
jmp 0x4092eb
mov eax, str.Software_caused_connection_abort__WSAECONNABORTED_
jmp 0x4092eb
mov eax, str.Connection_reset_by_peer__WSAECONNRESET_
jmp 0x4092eb
mov eax, str.No_buffer_space_available__WSAENOBUFS_
jmp 0x4092eb
mov eax, str.Socket_is_already_connected__WSAEISCONN_
jmp 0x4092eb
mov eax, str.Socket_is_not_connected__WSAENOTCONN_
jmp 0x4092eb
mov eax, str.Connection_timed_out__WSAETIMEDOUT_
jmp 0x4092eb
mov eax, str.Connection_refused__WSAECONNREFUSED_
jmp 0x4092eb
mov eax, str.Too_many_levels_of_symbolic_links__WSAELOOP_
jmp 0x4092eb
mov eax, str.File_name_too_long__WSAENAMETOOLONG_
jmp 0x4092eb
mov eax, str.Host_is_down__WSAEHOSTDOWN_
jmp 0x4092eb
mov eax, str.No_Route_to_Host__WSAEHOSTUNREACH_
jmp 0x4092eb
mov eax, str.Directory_not_empty__WSAENOTEMPTY_
jmp 0x4092eb
mov eax, str.Too_many_processes__WSAEPROCLIM_
jmp 0x4092eb
mov eax, str.Too_many_users__WSAEUSERS_
jmp 0x4092eb
mov eax, str.Disc_Quota_Exceeded__WSAEDQUOT_
jmp 0x4092eb
mov eax, str.Stale_NFS_file_handle__WSAESTALE_
jmp 0x4092eb
mov eax, str.Network_SubSystem_is_unavailable__WSASYSNOTREADY_
jmp 0x4092eb
mov eax, str.WINSOCK_DLL_Version_out_of_range__WSAVERNOTSUPPORTED_
jmp 0x4092eb
mov eax, str.Successful_WSASTARTUP_not_yet_performed__WSANOTINITIALISED_
jmp 0x4092eb
mov eax, str.Too_many_levels_of_remote_in_path__WSAEREMOTE_
jmp 0x4092eb
mov eax, str.Host_not_found__WSAHOST_NOT_FOUND_
jmp 0x4092eb
xor ebx, ebx
xor ebp, ebp
test ecx, ecx
mov edi, 0x100
je 0x409286
push 0x104
call dword [sym.imp.MSVCR80.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x409230
jmp fcn.00408a80
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
lea eax, [ecx + 4]
mov dword [edx], ecx
push 0
push 0x100
mov byte [eax], bl
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
push 0
push esi
push 0
push 0x3200
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x40929d
push str._Unknown_Win32_Error_
lea esi, [esp + 0x1c]
call fcn.00402ff0
add esp, 4
jmp 0x4092d3
push 0x100
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x409241
jmp fcn.00408a80
cmp byte [esp + 0x28], bl
lea eax, [esp + 0x28]
je 0x4092bd
mov cl, byte [eax]
cmp cl, 0xa
je 0x4092b3
cmp cl, 0xd
jne 0x4092b6
mov byte [eax], 0x20
add eax, 1
cmp byte [eax], bl
jne 0x4092a7
lea ecx, [esp + 0x28]
push ecx
push 0x5103a4
lea esi, [esp + 0x20]
call fcn.00402ff0
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4092e9
cmp dword [esp + 0x20], ebx
jl 0x4092e9
mov edx, dword [esp + 0x1c]
add eax, edx
jmp 0x4092eb
xor eax, eax
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dcaae
add esp, 0x124
ret