Function at 0x419650
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
mov esi, dword [ebp + 8]
push edi
push str.SetProcessDPIAware
push str.user32.dll
mov dword [esp + 0x18], esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419693
call eax
mov ecx, esi
call fcn.00418d60
test esi, esi
jne 0x4196a7
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x65
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
mov eax, esi
call fcn.004189d0
lea eax, [esp + 0x18]
push eax
call fcn.004117e0
push 0xc
xor ecx, ecx
push str.libeay32.dll
lea esi, [esp + 0x218]
mov dword [esp + 0x230], 7
mov dword [esp + 0x22c], 0
mov word [esp + 0x21c], cx
call fcn.004028e0
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00419bf0
mov edi, 8
cmp dword [esp + 0x228], edi
jb 0x419720
mov eax, dword [esp + 0x214]
push eax
call fcn.0047d710
add esp, 4
push 0xc
xor ecx, ecx
push str.ssleay32.dll
lea esi, [esp + 0x218]
mov dword [esp + 0x230], 7
mov dword [esp + 0x22c], 0
mov word [esp + 0x21c], cx
call fcn.004028e0
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00419bf0
cmp dword [esp + 0x228], edi
jb 0x419778
mov eax, dword [esp + 0x214]
push eax
call fcn.0047d710
add esp, 4
push 0xd
xor ecx, ecx
push str.libcurl32.dll
lea esi, [esp + 0x218]
mov dword [esp + 0x230], 7
mov dword [esp + 0x22c], 0
mov word [esp + 0x21c], cx
call fcn.004028e0
mov edx, esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00419bf0
cmp dword [esp + 0x228], edi
jb 0x4197d0
mov eax, dword [esp + 0x214]
push eax
call fcn.0047d710
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x30]
push edx
push ecx
call fcn.00419a90
call fcn.004193f0
push 0x190
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.0047f8f0
add esp, 0x24
lea ecx, [esp + 0x80]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
push 3
call dword [sym.imp.libcurl32.dll_curl_global_init]
add esp, 4
push str.SetProcessDPIAware
push str.user32.dll
mov byte [0x4c3159], 1
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41983d
call eax
mov edi, 2
cmp dword [0x4c20b8], edi
jl 0x4198ae
mov edx, dword [0x4c20bc]
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41987b
push str._userLogin
push eax
call esi
test eax, eax
jne 0x41987b
mov eax, dword [esp + 0x10]
push eax
call fcn.00419150
add esp, 4
jmp 0x419a2d
cmp dword [0x4c20b8], edi
jl 0x4198ae
mov ecx, dword [0x4c20bc]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4198ae
push str._rcsv
push eax
call esi
test eax, eax
jne 0x4198ae
mov edx, dword [esp + 0x10]
push edx
call fcn.00419250
add esp, 4
jmp 0x419a2d
push str.51908485_3D48_408a_AC9A_8DA4361CCC61
call fcn.0045d381
test eax, eax
je 0x4198f4
push 0
push str.OneClientWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4198e6
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea esi, [esp + 0x18]
call fcn.00403e70
jmp 0x419a6e
push str.51908485_3D48_408a_AC9A_8DA4361CCC61
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [esp + 0x48]
push eax
call fcn.004796c1
lea ecx, [esp + 0x4c]
add esp, 4
push ecx
lea edi, [esp + 0x214]
call fcn.00418bc0
xor edi, edi
add esp, 4
mov esi, 3
cmp dword [esp + 0x224], edi
je 0x4199df
sub esp, 0x18
mov dword [esp + 0x2c], esp
mov eax, esp
je 0x419958
mov dword [eax], vtable.std::tr1::_Impl_base1_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [eax], 0x4a4d98
mov dword [eax + 4], fcn.004122e0
mov dword [eax + 0x10], eax
cmp dword [esp + 0x240], 8
mov eax, dword [esp + 0x22c]
jae 0x419973
lea eax, [esp + 0x22c]
push 0x4a4d34
push eax
lea edx, [esp + 0x88]
push edx
call fcn.0045e5f3
lea ecx, [esp + 0x54]
add esp, 0xc
push ecx
mov ecx, eax
call fcn.0041a7c0
add esp, 0x1c
lea esi, [esp + 0x68]
call fcn.00403e70
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub edx, eax
sar edx, 2
test edx, edx
ja 0x4199bb
call fcn.0047db04
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
push eax
call fcn.0047d710
mov eax, dword [esp + 0x34]
add esp, 4
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.00419070
add esp, 8
cmp dword [esp + 0x228], 8
jb 0x419a07
mov edx, dword [esp + 0x214]
push edx
call fcn.0047d710
add esp, 4
lea ecx, [esp + 0x48]
xor eax, eax
push ecx
mov dword [esp + 0x22c], 7
mov dword [esp + 0x228], edi
mov word [esp + 0x218], ax
call fcn.00404090
mov eax, dword [esp + 0x24]
test eax, eax
je 0x419a53
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push edx
call fcn.00405910
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0047d710
add esp, 4
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047d444
mov esp, ebp
pop ebp
ret 0x10