Function at 0x402190
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4043a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
or esi, 0xffffffff
push ebx
push esi
push 0x4065cc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x18], 0xc8
call fcn.004013c0
add esp, 0xc
lea eax, [ebp - 0x1bc]
mov byte [ebp - 4], 1
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x402228
push 1
push esi
push 0x4065b0
call fcn.004013c0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 1
push 2
call sub.WS2_32.dll_socket
push 0x13fd
mov dword [0x4068c0], eax
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x2c], 2
call sub.WS2_32.dll_htons
mov edx, dword [0x4068c0]
lea ecx, [ebp - 0x2c]
push 0x10
push ecx
push edx
mov word [ebp - 0x2a], ax
call sub.WS2_32.dll_bind
cmp eax, esi
jne 0x402292
push 1
push esi
push 0x406594
call fcn.004013c0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4068c0]
push 0xa
push eax
call sub.WS2_32.dll_listen
test eax, eax
je 0x4022d1
push 1
push esi
push 0x406570
call fcn.004013c0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x406550
call fcn.004013c0
add esp, 0xc
mov edi, dword [0x405088]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
push 0x4019a0
push 0x1000
push ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x4023d6
push esi
lea edx, [ebp - 0x14]
push 0x406528
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
push ebx
push 0xffffffffffffffff
push eax
call fcn.004013c0
mov ebx, dword [0x40506c]
add esp, 0xc
push esi
call ebx
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push 0x401de0
push 0x1000
push 0
call edi
mov esi, eax
test esi, esi
je 0x4023a3
push esi
lea edx, [ebp - 0x14]
push str._SendSMS_
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
push 0
push 0xffffffffffffffff
push eax
call fcn.004013c0
add esp, 0xc
push 0xfffffffffffffff1
push esi
call dword [0x40503c]
push esi
call dword [0x405038]
push esi
call ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0xffffffffffffffff
push 0x4064e0
call fcn.004013c0
add esp, 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0xffffffffffffffff
push 0x4064cc
jmp 0x4023ac