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

Disassembly:
sub esp, 0x364
mov eax, dword [0x596f48]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push edi
lea eax, [esp + 0x25c]
push eax
call fcn.00522730
lea ecx, [esp + 0x3c]
push ecx
call fcn.00522730
cmp dword [esi + 0x13c], 0
jne 0x493692
cmp dword [esi + 0x140], 0
jne 0x493692
cmp dword [esi + 0x144], 0
jne 0x493692
cmp dword [esi + 0x148], 0
je 0x4936f0
mov edx, dword [esi + 0x8c]
push edx
call fcn.0040cd40
mov edi, dword [esi + 0xec]
mov ebx, dword [esi + 0xf0]
mov ebp, eax
cmp edi, ebp
jae 0x4936f0
test ebx, ebx
je 0x4936f0
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 0x493828
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0x14]
push edx
push 0
push 5
push edi
push eax
call fcn.0040f300
add edi, 1
sub ebx, 1
cmp edi, ebp
jb 0x4936b0
mov ecx, dword [esi + 0x8c]
push ecx
call fcn.0040cd40
mov edx, dword [esi + 0x8c]
mov edi, dword [esi + 0xec]
mov ebp, dword [esi + 0xf0]
mov ebx, eax
push edx
mov dword [esp + 0x14], ebx
call fcn.0040cd40
push eax
push str.200_Query_results_r_n
mov ecx, esi
call fcn.00492cf0
mov eax, dword [esi + 0x8c]
add esp, 8
push eax
call fcn.0040cd40
push eax
push str._RESULT_COUNT__u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 8
cmp edi, ebx
jae 0x493945
mov edi, edi
test ebp, ebp
je 0x493945
mov edx, dword [esi + 0x8c]
lea ecx, [esp + 0x25c]
push ecx
push edi
push edx
call fcn.00413340
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
call fcn.004132c0
mov edx, dword [esi + 0x8c]
push edi
push edx
call fcn.00413410
cmp dword [esi + 0x14c], 0
mov ebx, eax
je 0x4937ab
mov eax, dword [esp + 0x44]
push eax
push str._PATH__s_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 8
cmp dword [esi + 0x13c], 0
jne 0x4937d3
cmp dword [esi + 0x140], 0
jne 0x4937d3
cmp dword [esi + 0x144], 0
jne 0x4937d3
cmp dword [esi + 0x148], 0
je 0x493899
mov edx, dword [esi + 0x8c]
lea ecx, [esp + 0x14]
push ecx
push 0
push 5
push edi
push edx
call fcn.0040f300
cmp dword [esi + 0x140], 0
je 0x493806
mov eax, dword [esp + 0x34]
push eax
push str._ATTRIBUTES__u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 8
cmp dword [esi + 0x13c], 0
je 0x493855
test ebx, ebx
je 0x49383c
call fcn.004bf5f0
push eax
call fcn.004102f0
test eax, eax
jne 0x49383c
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x493846
push str.426_query_aborted._r_n
mov ecx, esi
call fcn.00492cf0
add esp, 4
jmp 0x493961
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str._SIZE__I64u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 0xc
cmp dword [esi + 0x144], 0
je 0x493877
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push str._DATE_MODIFIED__I64u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 0xc
cmp dword [esi + 0x148], 0
je 0x493899
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
push str._DATE_CREATED__I64u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 0xc
cmp dword [esi + 0x150], 0
je 0x4938e8
lea ecx, [esp + 0x14c]
push ecx
call fcn.00522730
mov eax, dword [esi + 0x8c]
lea edx, [esp + 0x14c]
push edx
push edi
push eax
call fcn.00420a50
mov ecx, dword [esp + 0x154]
push ecx
push str._FILE_LIST_FILENAME__s_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 8
lea edx, [esp + 0x14c]
push edx
call fcn.00401260
cmp dword [esi + 0x154], 0
je 0x49390f
mov eax, dword [esi + 0x8c]
push edi
push eax
call fcn.00420bf0
push edx
push eax
push str._DATE_RECENTLY_CHANGED__I64u_r_n
mov ecx, esi
call fcn.00492cf0
add esp, 0xc
test ebx, ebx
mov eax, str.FOLDER
jne 0x49391d
mov eax, str.FILE
mov ecx, dword [esp + 0x264]
push ecx
push eax
push str.__s__s_r_n
mov ecx, esi
call fcn.00492cf0
add edi, 1
add esp, 0xc
sub ebp, 1
cmp edi, dword [esp + 0x10]
jb 0x493750
mov edx, dword [esi + 0x8c]
push edx
call fcn.0040cd40
push eax
push str.200_End._r_n
mov ecx, esi
call fcn.00492cf0
add esp, 8
lea eax, [esp + 0x3c]
push eax
call fcn.00401260
lea ecx, [esp + 0x25c]
push ecx
call fcn.00401260
mov ecx, dword [esp + 0x36c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054899c
add esp, 0x364
ret