Function at 0x44356c
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff5ac
push esi
push edi
mov eax, 0x5fe0c4
call fcn.0050acb0
mov edx, dword [0x5f0c98]
mov dword [ebp - 0x30], edx
mov edx, dword [0x5f0c9c]
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x38], eax
mov esi, 0x5f0ca0
lea edi, [ebp - 0x954]
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov esi, 0x5f14a0
lea edi, [ebp - 0xa54]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
jmp 0x443886
push 0x64
call sub.KERNEL32.DLL_Sleep
cmp dword [0x5efa0c], 0xffffffff
je 0x443886
xor eax, eax
mov dword [ebp - 0x154], eax
xor edx, edx
mov dword [ebp - 0x40], edx
jmp 0x443603
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + ecx*4 - 0x150]
cmp eax, dword [0x5efa0c]
je 0x44360e
inc dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x154]
jb 0x4435ee
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x154]
jne 0x443638
cmp dword [ebp - 0x154], 0x40
jae 0x443638
mov eax, dword [ebp - 0x40]
mov edx, dword [0x5efa0c]
mov dword [ebp + eax*4 - 0x150], edx
inc dword [ebp - 0x154]
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
lea eax, [ebp - 0x154]
push eax
mov edx, dword [0x5efa0c]
inc edx
push edx
call sub.WSOCK32.DLL_select
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x443697
call fcn.005153c4
push dword [eax]
call fcn.0050a9ac
pop ecx
push eax
call fcn.005153c4
push dword [eax]
push str.recvInformMsg_select_iRetSOCKET_ERROR__errno__d___errstr__s_
call fcn.0045c640
push eax
call fcn.0045d448
add esp, 0x10
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x4438cc
cmp dword [ebp - 0x38], 0
je 0x443886
lea ecx, [ebp - 0x154]
push ecx
push dword [0x5efa0c]
call sub.WSOCK32.DLL___WSAFDIsSet
test eax, eax
je 0x443886
push 0x100
push 0
lea eax, [ebp - 0xa54]
push eax
call fcn.0050a57c
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x954]
push edx
call fcn.0050a57c
add esp, 0xc
push dword [ebp - 0x38]
push dword [0x5efa0c]
push str.recvInformMsg_gInformAliveSocket__d__select___ret__d_.
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 0x10
push 0
push 0x5a0
lea ecx, [ebp - 0x954]
push ecx
push dword [0x5efa0c]
call sub.WSOCK32.DLL_recv
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x44372f
cmp dword [ebp - 0x34], 0
jne 0x4437b6
push dword [ebp - 0x34]
push str._recv_gInformAliveSocket_iSize__d_
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 0xc
call sub.WSOCK32.DLL_WSAGetLastError
push eax
mov word [ebp - 0x18], 8
push 0x161
lea eax, [ebp - 4]
call fcn.0040177c
push eax
inc dword [ebp - 0xc]
call fcn.00466b24
add esp, 8
lea eax, [ebp - 4]
call fcn.00401a38
push eax
push 0x5fc5d4
push 0x100
lea edx, [ebp - 0xa54]
push edx
call fcn.0050e8ec
add esp, 0x14
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00545e70
lea ecx, [ebp - 0xa54]
push ecx
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 8
jmp 0x443893
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
call fcn.00508bd0
pop ecx
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x3c]
call fcn.0050a57c
add esp, 0xc
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
push str.8D352C149D0327BF
push 0x5efa35
push dword [ebp - 0x34]
lea edx, [ebp - 0x954]
push edx
call fcn.0046336c
add esp, 0x18
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x443818
push str.recvInformMsg_aes_cbc_decrypt___failed.
call fcn.0045c640
push eax
call fcn.0045d390
add esp, 8
jmp 0x443886
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
mov dl, byte [eax + ecx - 1]
mov byte [ebp - 0x49], dl
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x50], ecx
cmp byte [ebp - 0x49], 0
jle 0x44385c
movsx eax, byte [ebp - 0x49]
cmp eax, 0x10
jg 0x44385c
movsx edx, byte [ebp - 0x49]
mov ecx, dword [ebp - 0x48]
sub ecx, edx
mov dword [ebp - 0x50], ecx
movsx eax, byte [ebp - 0x49]
push eax
push 0
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x50]
push edx
call fcn.0050a57c
add esp, 0xc
push dword [ebp - 0x50]
push dword [ebp - 0x3c]
mov ecx, dword [sym.STBManageTool.exe__frmMain]
push dword [ecx]
call fcn.00431e64
add esp, 0xc
cmp dword [ebp - 0x3c], 0
je 0x443886
push dword [ebp - 0x3c]
call fcn.00508be0
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [0x5efa18], 0
je 0x4435cb
cmp dword [ebp - 0x3c], 0
je 0x4438a7
push dword [ebp - 0x3c]
call fcn.00508be0
pop ecx
xor edx, edx
mov dword [ebp - 0x3c], edx
push dword [0x5efa18]
push str.after_while_1__g_InformSelect__d_
call fcn.0045c640
push eax
call fcn.0045d448
add esp, 0xc
xor eax, eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret