Function at 0x40dbb0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Delete file
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444b52
mov eax, dword fs:[0]
push eax
mov eax, 0x1e90
call fcn.00444730
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1e9c], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 8
push eax
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_7961]
push 0
call dword [sym.imp.mfc140.dll_Ordinal_2200]
push 0xc
call dword [sym.imp.mfc140.dll_Ordinal_1507]
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40dc44
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call dword [sym.imp.mfc140.dll_Ordinal_952]
mov edi, eax
jmp 0x40dc46
xor edi, edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140.dll_Ordinal_7282]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_13378]
push 0x449a1c
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_13830]
push 0
call fcn.00443541
lea eax, [ebp - 0x41c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_2298]
test eax, eax
je 0x40dc95
push 0
push 0
push str.WSAStartup_error
call esi
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x4572d8], eax
cmp eax, 0xffffffff
jne 0x40dcb6
push 0
push 0
push str.sock_failed
call esi
push dword [0x457bac]
xorps xmm0, xmm0
movups xmmword [0x4572c8], xmm0
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40dce6
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 2
mov word [0x4572c8], ax
mov eax, dword [ebp - 0x14]
push 0x2713
mov dword [0x4572cc], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push 0x4572c8
push dword [0x4572d8]
mov word [0x4572ca], ax
call dword [sym.imp.WS2_32.dll_connect]
push str.El_Chart_Login.bmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.El_Chart_Login.bmp
call dword [sym.imp.mfc140.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push str.http:__elliott.kr_elchart_img_El_Chart_Login.bmp
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov dword [ebp - 4], 0xffffffff
call fcn.00442150
push 0x270
lea eax, [ebp - 0x28c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.mfc140.dll_Ordinal_462]
lea ecx, [ebp - 0x28c]
add esp, 0x14
push 0
push 0x71
call esi
push 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1bc]
push 0x72
mov dword [ebp - method.CServerLogin.virtual_0], vtable.CServerLogin.0
call esi
mov dword [ebp - method.CJoinMemverDlg.virtual_0], vtable.CJoinMemverDlg.0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_1000]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xec], 0x44b6ec
call fcn.0041dbd0
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28c]
mov esi, dword [sym.imp.mfc140.dll_Ordinal_4084]
call esi
cmp eax, 1
je 0x40ddf9
push dword [0x4572d8]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x40de5a
push str.PASS__sb_36__Ds
mov ecx, 0x457bd4
call dword [sym.imp.mfc140.dll_Ordinal_2986]
test eax, eax
jne 0x40de5a
push 0x1a78
push eax
lea eax, [ebp - 0x1e94]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x1e94]
call fcn.0040e1e0
mov eax, dword [ebp - 0x1e9c]
lea ecx, [ebp - 0x1e94]
mov byte [ebp - 4], 5
mov dword [eax + 0x20], ecx
call esi
test edi, edi
je 0x40de4f
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x1e94]
call fcn.0040de90
lea ecx, [ebp - 0x28c]
call fcn.00421ea0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443559
mov esp, ebp
pop ebp
ret