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

Disassembly:
sub esp, 0x364
mov eax, dword [0x596fb8]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push ebp
push edi
lea eax, [esp + 0x25c]
push eax
call fcn.00401210
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401210
cmp dword [esi + 0x13c], 0
jne 0x4936a2
cmp dword [esi + 0x140], 0
jne 0x4936a2
cmp dword [esi + 0x144], 0
jne 0x4936a2
cmp dword [esi + 0x148], 0
je 0x493700
mov edx, dword [esi + 0x8c]
push edx
call fcn.0040cd30
mov edi, dword [esi + 0xec]
mov ebx, dword [esi + 0xf0]
mov ebp, eax
cmp edi, ebp
jae 0x493700
test ebx, ebx
je 0x493700
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 0x493838
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 0x4936c0
mov ecx, dword [esi + 0x8c]
push ecx
call fcn.0040cd30
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.0040cd30
push eax
push str.200_Query_results_r_n
mov ecx, esi
call fcn.00492d00
mov eax, dword [esi + 0x8c]
add esp, 8
push eax
call fcn.0040cd30
push eax
push str._RESULT_COUNT__u_r_n
mov ecx, esi
call fcn.00492d00
add esp, 8
cmp edi, ebx
jae 0x493955
mov edi, edi
test ebp, ebp
je 0x493955
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 0x4937bb
mov eax, dword [esp + 0x44]
push eax
push str._PATH__s_r_n
mov ecx, esi
call fcn.00492d00
add esp, 8
cmp dword [esi + 0x13c], 0
jne 0x4937e3
cmp dword [esi + 0x140], 0
jne 0x4937e3
cmp dword [esi + 0x144], 0
jne 0x4937e3
cmp dword [esi + 0x148], 0
je 0x4938a9
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 0x493816
mov eax, dword [esp + 0x34]
push eax
push str._ATTRIBUTES__u_r_n
mov ecx, esi
call fcn.00492d00
add esp, 8
cmp dword [esi + 0x13c], 0
je 0x493865
test ebx, ebx
je 0x49384c
call fcn.004c0270
push eax
call fcn.004102f0
test eax, eax
jne 0x49384c
push 0xffffffffffffffff
push 0xffffffffffffffff
jmp 0x493856
push str.426_query_aborted._r_n
mov ecx, esi
call fcn.00492d00
add esp, 4
jmp 0x493971
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.00492d00
add esp, 0xc
cmp dword [esi + 0x144], 0
je 0x493887
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.00492d00
add esp, 0xc
cmp dword [esi + 0x148], 0
je 0x4938a9
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.00492d00
add esp, 0xc
cmp dword [esi + 0x150], 0
je 0x4938f8
lea ecx, [esp + 0x14c]
push ecx
call fcn.00401210
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.00492d00
add esp, 8
lea edx, [esp + 0x14c]
push edx
call fcn.00523250
cmp dword [esi + 0x154], 0
je 0x49391f
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.00492d00
add esp, 0xc
test ebx, ebx
mov eax, str.FOLDER
jne 0x49392d
mov eax, str.FILE
mov ecx, dword [esp + 0x264]
push ecx
push eax
push str.__s__s_r_n
mov ecx, esi
call fcn.00492d00
add edi, 1
add esp, 0xc
sub ebp, 1
cmp edi, dword [esp + 0x10]
jb 0x493760
mov edx, dword [esi + 0x8c]
push edx
call fcn.0040cd30
push eax
push str.200_End._r_n
mov ecx, esi
call fcn.00492d00
add esp, 8
lea eax, [esp + 0x3c]
push eax
call fcn.00523250
lea ecx, [esp + 0x25c]
push ecx
call fcn.00523250
mov ecx, dword [esp + 0x36c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0054962d
add esp, 0x364
ret