Function at 0x4b52a0
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
mov eax, 0x105b0
call fcn.00554980
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
mov eax, dword [esp + 0x105b8]
test eax, eax
mov word [esp + 0x1c], 0
mov dword [esp + 0x3c], 0x10
jne 0x4b5755
push ebp
mov ebp, dword [esp + 0x105b8]
push esi
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [ebp + 0x288]
lea edx, [esp + 0x28]
push edx
push 0
push 0x8000
lea eax, [esp + 0x85c8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
test esi, esi
jle 0x4b5753
push ebx
push edi
lea edi, [esp + 0x85c0]
mov ecx, 0x300
lea ebx, [esp + 0x2e4]
call fcn.004ba980
movzx edx, word [esp + 0x2e]
push eax
mov eax, dword [esp + 0x34]
push esi
push edx
push eax
push str._tU_RECV____IP_08X_PORT_04X_LEN_d___s_n
call fcn.00451d70
mov ebx, 0x26
add esp, 0x14
cmp esi, ebx
jne 0x4b542b
cmp word [esp + 0x85c0], bx
jne 0x4b5751
push 0x10
lea ecx, [esp + 0x85d6]
push ecx
lea eax, [ebp + 4]
call fcn.004b2340
test eax, eax
jne 0x4b5751
mov eax, dword [esp + 0x85c6]
mov edx, dword [esp + 0x85c2]
mov ecx, dword [esp + 0x85ca]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x85ce]
push eax
push ebp
lea esi, [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x30], 0
call fcn.004b4280
test al, al
je 0x4b5751
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x85e2]
lea ebx, [esi + 0x50]
mov ecx, ebx
call fcn.004b63b0
test eax, eax
je 0x4b540f
mov edx, dword [ebp]
lea ecx, [eax + 4]
push ecx
xor ecx, ecx
mov cx, word [eax + 0x12]
push ecx
lea ecx, [eax + 0x14]
movzx eax, word [eax + 0x10]
push ecx
push eax
lea ecx, [esp + 0x85e2]
push ecx
push 1
mov ecx, ebp
call dword [edx]
mov edi, dword [esp + 0x85e2]
call fcn.004b63d0
mov edx, dword [esp + 0x30]
mov dword [esi], edx
mov ax, word [esp + 0x2e]
pop edi
pop ebx
mov word [esi + 4], ax
pop esi
pop ebp
add esp, 0x105b0
ret 8
cmp esi, 0x36
jb 0x4b5751
movzx ecx, word [esp + 0x85c0]
cmp ecx, esi
jne 0x4b5751
push 0x10
lea edx, [esp + 0x85d6]
lea edi, [ebp + 4]
push edx
mov eax, edi
call fcn.004b2340
test eax, eax
jne 0x4b5751
mov ecx, dword [esp + 0x85c6]
mov eax, dword [esp + 0x85c2]
mov edx, dword [esp + 0x85ca]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x85ce]
push ecx
push ebp
lea esi, [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 0
call fcn.004b4280
test al, al
je 0x4b54b9
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov dword [esi], edx
mov ax, word [esp + 0x2e]
mov word [esi + 4], ax
jmp 0x4b5505
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.004b42f0
lea edx, [esp + 0x10]
push edx
push ebp
lea esi, [esp + 0x20]
call fcn.004b4280
test al, al
jne 0x4b5501
mov eax, esi
push eax
push str.Failed_to_register_online_user__s_n
call fcn.00451d70
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x105b0
ret 8
mov esi, dword [esp + 0x10]
push 0x10
lea ecx, [esp + 0x56]
push ecx
mov eax, edi
mov word [esp + 0x58], bx
call fcn.004b22d0
test al, al
je 0x4b5751
mov edx, dword [esp + 0x85c2]
mov ecx, dword [esp + 0x85ca]
mov eax, dword [esp + 0x85c6]
push 0x10
mov dword [esp + 0x66], edx
mov edx, dword [esp + 0x85d2]
mov dword [esp + 0x6e], ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebp + 0x288]
mov dword [esp + 0x6e], eax
mov eax, dword [esp + 0x85ea]
mov dword [esp + 0x76], edx
movzx edx, word [esp + 0x58]
push 0
mov dword [esp + 0x7e], eax
push edx
lea eax, [esp + 0x60]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, dword [esp + 0x85e2]
add esi, 0x20
lea ebx, [esp + 0x3c]
mov ecx, esi
call fcn.004b65c0
test al, al
jne 0x4b5751
movzx ebp, word [esp + 0x85c0]
mov byte [esp + 0x2e0], al
sub ebp, 0x26
mov eax, ebp
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov edx, ebp
and edx, 0x8000000f
mov dword [esp + 0x14], eax
jns 0x4b55c5
dec edx
or edx, 0xfffffff0
inc edx
jne 0x4b5751
test eax, eax
je 0x4b5751
lea eax, [esp + 0x78]
call fcn.004be010
lea ecx, [esp + 0x85c2]
call fcn.004b6360
lea ecx, [esp + 0x85c2]
push ecx
lea edx, [esp + 0x7c]
movzx eax, al
push edx
call fcn.004bdcd0
lea ecx, [esp + 0x85da]
call fcn.004b6360
lea ecx, [esp + 0x85da]
push ecx
lea edx, [esp + 0x84]
movzx eax, al
push edx
call fcn.004bdcd0
lea eax, [esp + 0x85f2]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov eax, 4
call fcn.004bdcd0
lea ebx, [esp + 0x90]
call fcn.004bdf50
push 2
lea edi, [esp + 0xf4]
mov edx, 0x10
mov ecx, ebx
call fcn.004bb220
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xf4]
push edx
lea ecx, [esp + 0x604]
lea edx, [esp + 0x8606]
call fcn.004b22a0
movzx eax, word [esp + 0x612]
add ebp, 0xfffffff0
add esp, 0x20
cmp eax, ebp
ja 0x4b5751
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x85e2]
lea edx, [esp + 0x44]
push edx
push esi
call fcn.004b6600
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0x100
jbe 0x4b5720
mov ecx, esi
call fcn.004b6830
test eax, eax
mov dword [esp + 0x10], eax
je 0x4b5720
lea ebx, [ebx]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ebx, esi
call fcn.004b6860
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [esp + 0x48]
push 0
push 0x2710
sbb edx, eax
push edx
push ecx
call fcn.00557030
cmp eax, 0xea60
jbe 0x4b5718
mov edi, dword [esp + 0x14]
call fcn.004b6670
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b56d0
mov ecx, dword [esp + 0x105c4]
mov eax, dword [ecx]
lea edx, [esp + 0x5e4]
push edx
mov edx, dword [esp + 0x5f6]
push edx
lea edx, [esp + 0x5fc]
push edx
mov edx, dword [esp + 0x5fc]
push edx
lea edx, [esp + 0x28]
push edx
call dword [eax + 8]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x105b0
ret 8