Function at 0x42f398
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov ebp, ecx
lea esi, [esp + 0x1c]
mov edx, str.0.0.0.0:0
mov ecx, esi
push 9
call fcn.00514856
pop eax
cmp byte [esi], 4
jne 0x42f4d6
lea esi, [esp + 0x1c]
mov edx, str.223.5.5.5:80srccommonutils.rsk1
mov ebx, dword [esi + 4]
mov ecx, esi
push 0xc
call fcn.00514a06
pop eax
cmp dword [esi], 0
je 0x42f4e9
lea eax, [esp + 0x1e]
mov dword [esp], ebp
mov dword [esp + 0x14], ebx
mov bl, 4
movsd xmm0, qword [eax - 2]
movsd xmm1, qword [eax + 6]
lea eax, [esp + 0xc]
mov byte [eax], 4
movsd qword [esp + 0x6c], xmm1
movsd qword [esp + 0x64], xmm0
mov edi, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
cmp ebp, edi
je 0x42f512
movsd xmm0, qword [ebp + 0x18]
movzx eax, word [ebp]
movsd qword [esp + 0x5a], xmm0
movsd xmm0, qword [ebp + 0x12]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [ebp + 0xa]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [ebp + 2]
add ebp, 0x20
cmp ax, 2
movsd qword [esp + 0x44], xmm0
je 0x42f510
movsd xmm0, qword [esp + 0x5a]
movsd xmm1, qword [esp + 0x54]
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
movsd xmm2, qword [esp + 0x44]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x74], 4
lea ecx, [esp + 0x3c]
movsd qword [eax + 0x16], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [eax], xmm2
mov edx, ebx
movsd qword [eax + 8], xmm1
lea eax, [esp + 0x1c]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
call fcn.005c2820
pop eax
cmp byte [esp + 0x3c], 4
je 0x42f578
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0xc]
call fcn.00418a30
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
jmp 0x42f40e
mov dword [ebp], 0x80000000
push esi
call fcn.00416dc5
pop eax
jmp 0x42f60f
movsd xmm0, qword [esp + 0x20]
lea eax, [esp + 0x44]
lea edi, [esp + 4]
mov edx, ebx
mov ecx, edi
movsd qword [eax], xmm0
push eax
call fcn.005c2820
pop eax
cmp byte [edi], 4
jne 0x42f563
jmp 0x42f595
mov edi, ebp
mov ebp, dword [esp]
lea ecx, [esp + 0x64]
mov dword [ecx + 4], edi
call fcn.00514b1f
cmp bl, 4
jne 0x42f52f
mov ecx, 0x787be8
mov bl, 2
jmp 0x42f545
movzx ecx, word [esp + 0xd]
mov al, byte [esp + 0xf]
mov word [esp + 0x1c], cx
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x1e], al
mov byte [esp + 4], bl
movzx eax, word [esp + 0x1c]
mov dl, byte [esp + 0x1e]
mov ebx, dword [esp + 0x14]
mov word [esp + 5], ax
mov byte [esp + 7], dl
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
mov dword [ebp], 0x80000000
call fcn.00418a30
jmp 0x42f608
lea ecx, [esp + 0x64]
mov byte [esp + 4], 4
mov dword [ecx + 4], ebp
call fcn.00514b1f
lea ecx, [esp + 0xc]
call fcn.00418a30
mov ebp, dword [esp]
lea ecx, [esp + 4]
call fcn.00418a30
lea edi, [esp + 0x1c]
mov edx, ebx
mov ecx, edi
call fcn.005b4f60
movzx ecx, word [edi]
cmp cx, 2
jne 0x42f5c8
lea eax, [esp + 0x20]
mov dword [ebp], 0x80000000
push eax
call fcn.00416dc5
pop eax
jmp 0x42f608
mov eax, dword [esp + 0x1e]
test cx, cx
je 0x42f5f5
movsd xmm0, qword [esp + 0x22]
movsd xmm1, qword [esp + 0x28]
shr eax, 0x10
mov word [esp + 0x45], ax
mov al, 1
movsd qword [esp + 0x47], xmm0
movsd qword [esp + 0x4d], xmm1
jmp 0x42f5fb
mov dword [esp + 0x45], eax
xor eax, eax
lea edx, [esp + 0x44]
mov ecx, ebp
mov byte [edx], al
call fcn.004140a2
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret