Function at 0x43f420
Capabilities:
Hash data with md5
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x2809], 3
mov dword [esi + 0x280d], 1
mov ecx, dword [esi + 0x512c]
push ecx
lea eax, [esi + 0x2811]
push 0x80
push eax
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1b0], eax
call fcn.0057af4d
push 0x40
lea eax, [esi + 0x2891]
push 0
push eax
mov dword [ebp - 0x1ac], eax
call fcn.0057da80
mov edi, dword [esi]
add esp, 0x18
xor ebx, ebx
lea ecx, [ecx]
push 0
mov edx, 0xc8
sub edx, ebx
push edx
lea eax, [esi + ebx + 0x2809]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x43f4b7
add ebx, eax
cmp ebx, 0xc8
jl 0x43f490
cmp ebx, 0xc8
je 0x43f4dd
lea edx, [esi + 0x10]
push str.Failed_to_send_login_request_message
or edi, 0xffffffff
mov dword [ebp - 0x1a4], edx
call fcn.0043f900
add esp, 4
jmp 0x43f7d3
mov edi, dword [esi]
xor ebx, ebx
push 0
mov ecx, 0x108
sub ecx, ebx
push ecx
lea edx, [ebx + esi + 8]
push edx
push edi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43f505
add ebx, eax
cmp ebx, 0x108
jl 0x43f4e1
cmp ebx, 0x108
je 0x43f52d
lea edx, [esi + 0x10]
push str.Failed_to_receive_login_answer_message
mov edi, 0xfffffffe
mov dword [ebp - 0x1a4], edx
call fcn.0043f900
add esp, 4
jmp 0x43f7d3
lea eax, [esi + 0x10]
push str.nouce
push eax
mov dword [ebp - 0x1a4], eax
call fcn.0057b560
add esp, 8
test eax, eax
jne 0x43f550
mov edi, dword [esi + 0xc]
jmp 0x43f7d3
lea eax, [esi + 0x16]
push eax
lea ecx, [ebp - 0x48]
push 0x40
push ecx
call fcn.0057af4d
lea eax, [ebp - 0x48]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f568
sub eax, edx
cmp eax, 0x10
je 0x43f580
mov edi, 0xfffffffd
jmp 0x43f7d3
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x148]
push 0x100
push eax
call fcn.0057af4d
mov ecx, dword [esi + 0x512c]
push ecx
lea edx, [ebp - 0x148]
push 0x100
push edx
mov byte [ebp - 0x138], 0
call fcn.0057c2aa
mov eax, dword [esi + 0x5130]
push eax
lea ecx, [ebp - 0x148]
push 0x100
push ecx
call fcn.0057c2aa
mov eax, dword [esi + 0x512c]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43f5d8
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x5130]
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43f5f0
sub eax, edi
lea ebx, [eax + ecx + 0x10]
push 0x40
mov byte [ebp + ebx - 0x148], dl
xor edi, edi
lea edx, [ebp - 0x188]
push edi
push edx
mov dword [ebp - 0x198], 0x67452301
mov dword [ebp - 0x194], 0xefcdab89
mov dword [ebp - 0x190], 0x98badcfe
mov dword [ebp - 0x18c], 0x10325476
call fcn.0057da80
push ebx
lea eax, [ebp - 0x148]
push eax
lea ebx, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x19c], edi
call fcn.0041efa0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
shrd eax, ecx, 3
and eax, 0x3f
mov byte [ebp + eax - 0x188], 0x80
inc eax
add esp, 0x14
shr ecx, 3
cmp eax, 0x38
jbe 0x43f6ac
mov edx, 0x40
sub edx, eax
push edx
lea eax, [ebp + eax - 0x188]
push edi
push eax
call fcn.0057da80
mov ecx, ebx
push ecx
lea eax, [ebp - 0x188]
call fcn.0041e920
add esp, 0x10
xor eax, eax
mov edx, 0x38
sub edx, eax
push edx
lea eax, [ebp + eax - 0x188]
push 0
push eax
call fcn.0057da80
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], edx
call fcn.0041e920
mov edx, dword [ebp - 0x1b0]
mov dword [esi + 0x2809], 3
mov dword [esi + 0x280d], 1
mov ecx, dword [esi + 0x512c]
push ecx
push 0x80
push edx
call fcn.0057af4d
mov edi, dword [ebp - 0x1ac]
mov ecx, 8
lea esi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1a8]
mov ebx, dword [edi]
add esp, 0x1c
xor esi, esi
push 0
mov eax, 0xc8
sub eax, esi
push eax
lea ecx, [edi + esi + 0x2809]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x43f760
add esi, eax
cmp esi, 0xc8
jl 0x43f739
cmp esi, 0xc8
je 0x43f780
mov edx, dword [ebp - 0x1a4]
push str.Failed_to_send_login_request_message
or edi, 0xffffffff
call fcn.0043f900
add esp, 4
jmp 0x43f7cd
mov ebx, dword [edi]
xor esi, esi
push 0
mov edx, 0x108
sub edx, esi
push edx
lea eax, [esi + edi + 8]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x43f7a8
add esi, eax
cmp esi, 0x108
jl 0x43f784
cmp esi, 0x108
je 0x43f7ca
mov edx, dword [ebp - 0x1a4]
push str.Failed_to_receive_login_answer_message
mov edi, 0xfffffffe
call fcn.0043f900
add esp, 4
jmp 0x43f7cd
mov edi, dword [edi + 0xc]
mov esi, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1a4]
push ecx
lea edx, [esi + 0xc]
push 0x100
push edx
call fcn.0057af4d
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 8], edi
neg edi
sbb eax, eax
pop edi
pop esi
xor ecx, ebp
and eax, 0xfffffffe
pop ebx
call fcn.0057a982
mov esp, ebp
pop ebp
ret