Function at 0x4122a0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x43b044]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
call dword [section..data]
push 4
call fcn.0041c20b
xor esi, esi
cmp eax, esi
pop ecx
je 0x4122d9
or dword [eax], 0xffffffff
mov dword [ebp - 0x90], eax
jmp 0x4122df
mov dword [ebp - 0x90], esi
push esi
push 2
push 2
call dword [0x43046c]
cmp eax, 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ecx], eax
jne 0x412302
call dword [0x430278]
jmp 0x4124e9
push ecx
mov ecx, ebx
call fcn.0041217a
test eax, eax
jne 0x41232b
mov esi, dword [0x430278]
call esi
call esi
mov esi, dword [ebp - 0x90]
mov edi, eax
call fcn.004124fc
push edi
jmp 0x4124e3
push 0x30
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0041c280
add esp, 0xc
lea eax, [ebp - 0x9c]
mov byte [ebp - 0x38], 0x1b
call fcn.0041215a
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov cl, 0x20
call fcn.0042b310
mov esi, dword [0x430468]
push eax
call esi
push dword [ebx]
mov dword [ebp - 0x8c], eax
call esi
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
xor ebx, ebx
push ebx
mov dword [ebp - 0xc], eax
push 0x30
lea eax, [ebp - 0x38]
push eax
push dword [esi]
mov dword [ebp - 0x10], ecx
call dword [0x430480]
cmp eax, 0xffffffff
jne 0x41239e
mov edi, dword [0x430278]
call edi
call edi
jmp 0x41231e
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
call fcn.00412240
test eax, eax
je 0x4124d9
cmp dword [ebp - 0x88], ebx
je 0x4124d9
lea eax, [ebp - 0x9c]
call fcn.0041215a
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
mov eax, dword [eax + 4]
push 0x44
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0041c280
add esp, 0xc
push ebx
push 0x44
lea eax, [ebp - 0x84]
push eax
push dword [esi]
call dword [0x430484]
test eax, eax
je 0x412392
movzx eax, byte [ebp - 0x83]
mov dword [edi + 4], eax
movzx eax, byte [ebp - 0x84]
shr eax, 6
lea ebx, [ebp - 0x6c]
lea esi, [ebp - 0x8c]
mov dword [edi], eax
call fcn.00411e93
mov eax, dword [ebp - 0x8c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x88]
lea ebx, [ebp - 0x64]
lea esi, [ebp - 0x8c]
mov dword [edi + 0xc], eax
call fcn.00411e93
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x88]
lea ebx, [ebp - 0x5c]
lea esi, [ebp - 0x8c]
mov dword [edi + 0x14], eax
call fcn.00411e93
mov eax, dword [ebp - 0x8c]
lea esi, [edi + 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x88]
mov dword [esi + 4], eax
lea ebx, [edi + 8]
mov ecx, ebx
lea eax, [edi + 0x20]
call fcn.00412065
fstp qword [ebp - 0x8c]
mov ecx, esi
lea eax, [edi + 0x10]
call fcn.00412065
fsubr qword [ebp - 0x8c]
mov ecx, ebx
lea eax, [edi + 0x10]
fstp qword [edi + 0x28]
call fcn.00412065
lea ecx, [edi + 0x20]
fstp qword [ebp - 0x8c]
mov eax, esi
call fcn.00412065
fadd qword [ebp - 0x8c]
mov esi, dword [ebp - 0x90]
fmul qword [0x434b50]
fstp qword [edi + 0x30]
call fcn.004124fc
xor eax, eax
inc eax
jmp 0x4124eb
call fcn.004124fc
push 0x274c
call dword [0x4302d8]
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c1e3
leave
ret 4