Function at 0x423f30
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0xc814
call fcn.0047ddc0
mov eax, dword [esp + 0xc818]
push ebx
mov ebx, 1
push ebp
push esi
cmp eax, ebx
push edi
mov ebp, ecx
jne 0x423fa6
mov ecx, dword [ebp + 0x1c]
push 0
lea eax, [esp + 0x28]
push 0xc800
push eax
push ecx
call fcn.004457c0
mov edi, dword [ebp + 0xc824]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc828]
mov edx, dword [ebp + 0xc824]
add esi, eax
add edx, eax
mov ecx, esi
mov dword [ebp + 0xc828], esi
cmp ecx, 0x40
mov dword [ebp + 0xc824], edx
jl 0x42432a
mov eax, dword [0x64cd38]
test eax, eax
jne 0x42432a
mov dword [0x64cd38], ebx
mov eax, dword [ebp + 0xc828]
cmp eax, 0x40
jl 0x424320
lea ebx, [ebp + 0x24]
mov eax, dword [ebx]
sub eax, 0x3eb
je 0x42423a
dec eax
je 0x4241e9
sub eax, 2
jne case.0x423ffc.13
mov eax, dword [ebx + 4]
cmp eax, 0x16
ja case.0x423ffc.13
xor ecx, ecx
mov cl, byte [eax + 0x424370]
jmp dword [ecx*4 + 0x424338]
mov edx, dword [ebx + 0xc]
mov al, byte [ebx + 0x1c]
mov byte [edx + 0x64ce40], al
mov eax, dword [ebx + 0xc]
mov dl, byte [ebx + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 4
mov byte [ecx + 0x6539f0], dl
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x424068
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov dword [0x64d378], eax
mov cl, byte [ebx + 0x1d]
mov dword [0x64ce2c], ecx
mov edx, dword [ebx + 0x20]
mov dword [0x64ce30], edx
mov eax, dword [ebx + 0x24]
mov dword [0x64ce34], eax
mov ecx, dword [ebx + 0x28]
mov dword [0x64ce38], ecx
mov al, byte [ebx + 0x2c]
mov byte [0x64ce48], al
mov byte [0x64ce49], al
mov edx, dword [ebx + 0xc]
mov dword [ebp + edx*4 + 0xca60], 1
jmp case.0x423ffc.13
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov cl, byte [ebx + 0x18]
mov edx, ebp
add edx, ecx
mov byte [edx + eax*4 + 0xca7d], 1
jmp case.0x423ffc.13
mov cx, word [ebx + 0xc]
xor eax, eax
test cx, cx
mov word [ebp + 0xc93c], cx
jle case.0x423ffc.13
mov cl, byte [ebx + eax + 0x18]
mov byte [eax + ebp + 0xc93e], cl
inc eax
movsx edx, word [ebp + 0xc93c]
cmp eax, edx
jl 0x4240aa
jmp case.0x423ffc.13
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0x18]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edi, [ebp + ecx*2 + 0xc942]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.0x423ffc.13
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0x18]
mov edx, eax
mov ecx, 8
shl edx, 4
add edx, eax
lea edi, [ebp + edx*2 + 0xc9ca]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.0x423ffc.13
mov ax, word [ebx + 0xc]
mov word [ebp + 0xca52], ax
jmp case.0x423ffc.13
xor ecx, ecx
mov dword [ebp + 0xca54], 3
mov cl, byte [ebx + 0x18]
xor edx, edx
mov dword [ebp + 0xca58], ecx
mov dl, byte [ebx + 0x19]
mov dword [ebp + 0xca5c], edx
jmp case.0x423ffc.13
mov dword [ebp + 0xca54], 8
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xca58], eax
mov cx, word [ebx + 0x18]
mov word [ebp + 0xca52], cx
jmp case.0x423ffc.13
mov dword [ebp + 0xca54], 6
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0xca58], edx
mov ax, word [ebx + 0x18]
mov word [ebp + 0xca52], ax
jmp case.0x423ffc.13
xor eax, eax
mov al, byte [ebx + 0x18]
shl eax, 6
add eax, ebp
xor ecx, ecx
mov cl, byte [ebx + 0x19]
mov dword [eax + 0xc850], ecx
mov dl, byte [ebx + 0x1a]
mov byte [eax + 0xc858], dl
jmp case.0x423ffc.13
xor eax, eax
mov al, byte [ebx + 0x18]
mov dword [ebp + 0xca78], eax
mov cl, byte [ebx + 0x19]
mov byte [ebp + 0xca7c], cl
jmp case.0x423ffc.13
xor edx, edx
push 1
mov dl, byte [ebx + 0x18]
push edx
call fcn.004288b0
add esp, 8
jmp case.0x423ffc.13
mov eax, dword [ebx + 0xc]
mov dword [ebp + eax*4 + 0xca60], 1
jmp case.0x423ffc.13
mov edx, dword [ebp + 0xc830]
xor eax, eax
test edx, edx
jle case.0x423ffc.13
mov esi, dword [ebx + 0xc]
lea ecx, [ebp + 0xc85c]
cmp esi, dword [ecx]
je 0x424213
inc eax
add ecx, 0x40
cmp eax, edx
jl 0x424202
jmp case.0x423ffc.13
mov ecx, dword [ebx + 8]
mov edx, eax
shl edx, 6
mov byte [ecx + ebx + 0x14], 0
lea ecx, [edx + ebp + 0xc860]
lea edx, [ebx + 0x14]
push ecx
push edx
push eax
call fcn.00425310
add esp, 0xc
jmp case.0x423ffc.13
mov eax, dword [ebx + 4]
sub eax, 0x451
je 0x424292
sub eax, 9
jne case.0x423ffc.13
mov ecx, dword [ebx + 8]
mov eax, dword [0x49310c]
shl ecx, 6
push eax
lea eax, [esp + 0x14]
lea edx, [ecx + ebp + 0xc860]
push edx
push str._s__s
push eax
call dword [0x48534c]
mov ecx, dword [ebp + 0xc838]
add esp, 0x10
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebp
call fcn.00423d50
mov eax, dword [ebx + 8]
inc eax
mov dword [0x64cd7c], eax
jmp case.0x423ffc.13
mov esi, dword [ebp + 0xc82c]
mov ecx, dword [ebp + 0xc830]
inc esi
push ecx
mov eax, esi
lea edx, [esp + 0x14]
push eax
push str._d____d
push edx
mov dword [ebp + 0xc82c], esi
call dword [0x48534c]
mov ecx, dword [0x64cdf8]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 0x403
push ecx
call dword [0x485318]
mov eax, dword [ebp + 0xc828]
add eax, 0xffffffc0
mov dword [ebp + 0xc828], eax
jns 0x4242ee
mov dword [ebp + 0xc828], 0
mov ecx, dword [ebp + 0xc828]
lea esi, [ebp + 0x64]
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc828]
cmp eax, 0x40
lea ecx, [eax + ebp + 0x24]
mov dword [ebp + 0xc824], ecx
jge 0x423fcb
mov dword [0x64cd38], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc814
ret 4