Function at 0x433470
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x43bb7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
xor eax, eax
push ebx
mov dword [esp + 0x32], eax
push ebp
mov dword [esp + 0x3a], eax
push esi
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x42], eax
push edi
lea ecx, [esp + 0x10]
mov word [esp + 0x3c], si
mov word [esp + 0x4a], ax
mov dword [esp + 0x38], 0x10
call fcn.0040f0f0
mov eax, dword [0x4476b4]
mov dword [esp + 0x208], esi
cmp eax, esi
je 0x433859
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4335b2
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
push eax
push str.accept_failed__errno___d
call fcn.00411930
mov eax, dword [ebp + 0x34]
add esp, 8
cmp eax, 2
jge 0x433859
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea edx, [esp + 0x70]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x433859
mov ecx, ebp
call fcn.004378e0
test eax, eax
je 0x433859
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push 0x28
push 0x800
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
or esi, ebx
cmp eax, esi
jne 0x433594
push str.D:M51R1_srcwindows_clientSangforCSClientWebSyner.cpp
push 0x645
call edi
push eax
push str.WSAAsyncSelect_failed__errno___d__line__d__file__s
call fcn.00411930
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x208], esi
call fcn.0040f130
mov eax, esi
jmp 0x433870
mov eax, dword [ebp + 0x34]
lea ecx, [esp + 0x10]
inc eax
mov dword [esp + 0x208], esi
mov dword [ebp + 0x34], eax
call fcn.0040f130
xor eax, eax
jmp 0x433870
push 0x14
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x4335db
push str.new_SvpnWebConnSession_failed_
call fcn.00411930
add esp, 4
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x433859
mov eax, edi
xor edx, edx
push 0x4000
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [edi], ebx
mov eax, dword [0x452c00]
inc eax
mov dword [0x452c00], eax
add eax, ebx
mov dword [edi + 4], eax
call fcn.004166c0
push 0x4000
mov dword [edi + 0xc], eax
call fcn.004166c0
mov ecx, dword [edi + 0xc]
add esp, 8
cmp ecx, esi
mov dword [edi + 0x10], eax
je 0x43381c
cmp eax, esi
je 0x43381c
mov ecx, dword [ebp + 0xc]
push 0x21
push 0x800
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x43365f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.OnAccept__:_WSAAsyncSelect_failed__errno___d
call fcn.00411930
add esp, 8
jmp 0x433829
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
push str._conn__accept_a_request__fd_d__sid_d
call fcn.00411930
mov eax, dword [ebp + 0x20]
mov edx, dword [0x452c08]
add ebp, 0x1c
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov esi, dword [eax + 4]
add esp, 0xc
cmp esi, edx
mov dword [esp + 0x18], eax
mov cl, 1
je 0x4336b3
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], esi
cmp ebx, ecx
setb cl
test cl, cl
je 0x4336a8
mov esi, dword [esi]
jmp 0x4336ab
mov esi, dword [esi + 8]
cmp esi, edx
jne 0x433694
mov eax, dword [esp + 0x18]
mov dl, byte [ebp + 8]
test dl, dl
je 0x4336e1
lea ecx, [esp + 0x17]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
lea eax, [esp + 0x68]
push esi
push eax
mov ecx, ebp
mov byte [esp + 0x2b], 1
call fcn.004384c0
push eax
lea ecx, [esp + 0x70]
jmp 0x43377f
test cl, cl
mov dword [esp + 0x1c], eax
je 0x433739
lea edx, [esp + 0x54]
mov ecx, ebp
push edx
call fcn.00437e10
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
cmp ecx, edx
sete al
test al, al
je 0x43372c
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x16]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
lea edx, [esp + 0x64]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x2a], 1
call fcn.004384c0
push eax
lea ecx, [esp + 0x68]
jmp 0x43377f
lea ecx, [esp + 0x1c]
call fcn.00438860
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jae 0x43376c
lea edx, [esp + 0x14]
lea ecx, [esp + 0x28]
push edx
push ecx
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov ecx, ebp
mov byte [esp + 0x28], 1
call fcn.004384c0
push eax
lea ecx, [esp + 0x54]
jmp 0x43377f
lea edx, [esp + 0x15]
lea eax, [esp + 0x1c]
push edx
mov byte [esp + 0x19], 0
push eax
lea ecx, [esp + 0x38]
call fcn.00438060
mov ecx, eax
lea edx, [esp + 0x24]
push edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00438060
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
xor esi, esi
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
call fcn.00437b50
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
mov dword [esp + 0x50], edx
jne 0x4337fa
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
call fcn.00437b50
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [eax + 0x10], edi
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x10]
mov dword [0x450100], 0xa
mov dword [esp + 0x208], 0xffffffff
call fcn.0040f130
xor eax, eax
jmp 0x433870
push str.create_loopbuff_failed_
call fcn.00411930
add esp, 4
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [edi + 0xc]
cmp eax, esi
je 0x433840
push eax
call fcn.00416780
add esp, 4
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x433850
push eax
call fcn.00416780
add esp, 4
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x208], 0xffffffff
call fcn.0040f130
or eax, 0xffffffff
mov ecx, dword [esp + 0x200]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1fc
ret 4