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

Disassembly:
sub esp, 0x360
push ebx
push ebp
push edi
lea eax, [esp + 0x25c]
push eax
call fcn.0051ec40
lea ecx, [esp + 0x3c]
push ecx
call fcn.0051ec40
cmp dword [esi + 0xbc], 0
jne 0x491dc4
cmp dword [esi + 0xc0], 0
jne 0x491dc4
cmp dword [esi + 0xc4], 0
jne 0x491dc4
cmp dword [esi + 0xc8], 0
je 0x491e1d
mov edx, dword [esi + 0xc]
push edx
call fcn.0040c8c0
mov edi, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
mov ebp, eax
cmp edi, ebp
jae 0x491e1d
lea esp, [esp]
test ebx, ebx
je 0x491e1d
mov ecx, dword [esi + 8]
push 2
push 1
lea eax, [esp + 0x17]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 1
je 0x491f3c
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
push 0
push 5
push edi
push eax
call fcn.0040ee20
add edi, 1
sub ebx, 1
cmp edi, ebp
jb 0x491de0
mov ecx, dword [esi + 0xc]
push ecx
call fcn.0040c8c0
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x6c]
mov ebp, dword [esi + 0x70]
mov ebx, eax
push edx
mov dword [esp + 0x14], ebx
call fcn.0040c8c0
push eax
push str.200_Query_results_r_n
mov eax, esi
call fcn.00491580
mov eax, dword [esi + 0xc]
add esp, 8
push eax
call fcn.0040c8c0
push eax
push str._RESULT_COUNT__u_r_n
mov eax, esi
call fcn.00491580
add esp, 8
cmp edi, ebx
jae 0x492053
lea esp, [esp]
test ebp, ebp
je 0x492053
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x25c]
push ecx
push edi
push edx
call fcn.00412df0
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
call fcn.00412d70
mov edx, dword [esi + 0xc]
push edi
push edx
call fcn.00412ec0
cmp dword [esi + 0xcc], 0
mov ebx, eax
je 0x491ec2
mov eax, dword [esp + 0x44]
push eax
push str._PATH__s_r_n
mov eax, esi
call fcn.00491580
add esp, 8
cmp dword [esi + 0xbc], 0
jne 0x491eea
cmp dword [esi + 0xc0], 0
jne 0x491eea
cmp dword [esi + 0xc4], 0
jne 0x491eea
cmp dword [esi + 0xc8], 0
je 0x491fad
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0
push 5
push edi
push edx
call fcn.0040ee20
cmp dword [esi + 0xc0], 0
je 0x491f1a
mov eax, dword [esp + 0x34]
push eax
push str._ATTRIBUTES__u_r_n
mov eax, esi
call fcn.00491580
add esp, 8
cmp dword [esi + 0xbc], 0
je 0x491f69
test ebx, ebx
je 0x491f50
call fcn.004bc700
push eax
call fcn.0040fdc0
test eax, eax
jne 0x491f50
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x491f5a
push str.426_query_aborted._r_n
mov eax, esi
call fcn.00491580
add esp, 4
jmp 0x49206c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str._SIZE__I64u_r_n
mov eax, esi
call fcn.00491580
add esp, 0xc
cmp dword [esi + 0xc4], 0
je 0x491f8b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._DATE_MODIFIED__I64u_r_n
mov eax, esi
call fcn.00491580
add esp, 0xc
cmp dword [esi + 0xc8], 0
je 0x491fad
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push str._DATE_CREATED__I64u_r_n
mov eax, esi
call fcn.00491580
add esp, 0xc
cmp dword [esi + 0xd0], 0
je 0x491ff9
lea ecx, [esp + 0x14c]
push ecx
call fcn.0051ec40
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x14c]
push edx
push edi
push eax
call fcn.0041fbc0
mov ecx, dword [esp + 0x154]
push ecx
push str._FILE_LIST_FILENAME__s_r_n
mov eax, esi
call fcn.00491580
add esp, 8
lea edx, [esp + 0x14c]
push edx
call fcn.00522920
cmp dword [esi + 0xd4], 0
je 0x49201d
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.0041fd60
push edx
push eax
push str._DATE_RECENTLY_CHANGED__I64u_r_n
mov eax, esi
call fcn.00491580
add esp, 0xc
test ebx, ebx
mov eax, str.FOLDER
jne 0x49202b
mov eax, str.FILE
mov ecx, dword [esp + 0x264]
push ecx
push eax
push str.__s__s_r_n
mov eax, esi
call fcn.00491580
add edi, 1
add esp, 0xc
sub ebp, 1
cmp edi, dword [esp + 0x10]
jb 0x491e70
mov edx, dword [esi + 0xc]
push edx
call fcn.0040c8c0
push eax
push str.200_End._r_n
mov eax, esi
call fcn.00491580
add esp, 8
lea eax, [esp + 0x3c]
push eax
call fcn.00522920
lea ecx, [esp + 0x25c]
push ecx
call fcn.00522920
pop edi
pop ebp
pop ebx
add esp, 0x360
ret