Function at 0x427920
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ab16
mov eax, dword fs:[0]
push eax
mov eax, 0xac9c
call fcn.005965e0
mov eax, dword [0x601018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0xaca0]
mov edi, edx
push ecx
mov dword [ebp - 0xac7c], ebx
mov dword [ebp - 0xac80], edi
mov dword [ebp - 0xac84], eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x42798b
mov dword [ebp - 0xaca0], eax
mov dword [ebp - 0xac9c], eax
add ebx, 0x434
push str.reply.updateclient_request
mov ecx, 1
mov edx, edi
mov dword [ebp - 0xac94], ebx
call fcn.0042b270
add esp, 4
push 2
lea eax, [ebp - 0xac60]
call fcn.004fa870
push 3
lea eax, [ebp - 0x5c48]
mov dword [ebp - 4], 0
call fcn.004fa870
mov edx, str.resource.list
mov ecx, 0x60e4da
lea edi, [ebp - 0xac60]
mov byte [ebp - 4], 1
call fcn.004fd830
mov eax, dword [ebp - 0xac5c]
test eax, eax
je 0x4279f9
mov edx, dword [eax + 8]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea eax, [ebp - 0xac60]
call fcn.004faf40
push 0xffffffffffffffff
push str.request.recursive
mov ebx, eax
push 0
push ebx
lea eax, [ebp - 0xac60]
push eax
mov dword [ebp - 0xac78], ebx
call fcn.004fea10
mov eax, 1
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
lea edi, [ebp - 0x11]
mov byte [ebp - 0x11], 0
je 0x427a68
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, al
add dl, dl
add dl, dl
dec edi
lea ebx, [edx + eax]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [edi], cl
mov ecx, eax
test ecx, ecx
jne 0x427a38
mov ebx, dword [ebp - 0xac78]
push 0xffffffffffffffff
push edi
push 1
push ebx
lea eax, [ebp - 0xac60]
push eax
call fcn.004fea10
mov eax, dword [ebp - 0xac5c]
xor ebx, ebx
cmp eax, ebx
jne 0x427a8a
xor eax, eax
jmp 0x427a94
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea eax, [ebp - 0xac60]
call fcn.004faf40
push 0xffffffffffffffff
push str.request.log
push ebx
mov edi, eax
push edi
lea edx, [ebp - 0xac60]
push edx
call fcn.004fea10
push 0xffffffffffffffff
lea eax, [ebp - 0x12]
push eax
push 1
push edi
lea ecx, [ebp - 0xac60]
push ecx
mov word [ebp - 0x12], 0x30
call fcn.004fea10
mov edx, dword [ebp - 0xac7c]
mov ecx, dword [edx + 0x834]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x5c48]
push edx
lea edx, [ebp - 0xac60]
push edx
mov edx, dword [ebp - 0xac80]
push edx
call eax
mov edi, eax
cmp edi, ebx
je 0x427b9e
mov ecx, dword [ebp - 0xac84]
lea eax, [esi + 6]
mov dword [esi + 0xfde8], eax
sub eax, esi
mov dword [esi + 0xfdec], eax
movzx eax, ax
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov dword [esi + 0xfdf4], ebx
mov dword [esi + 0xfdf8], ebx
mov dword [esi + 0xfdf0], ebx
movzx eax, bx
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 3], al
movzx eax, word [esi + 0xfdf4]
mov byte [esi + 4], al
shr eax, 8
mov byte [esi + 5], al
mov eax, dword [esi + 0xfdec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
push esi
call edx
mov ebx, dword [ebp - 0xac94]
mov edx, dword [ebp - 0xac80]
push str.reply.updateclient_failed
mov ecx, 1
call fcn.0042b270
add esp, 4
lea eax, [ebp - 0x5c48]
call fcn.004fa960
lea eax, [ebp - 0xac60]
call fcn.004fa960
mov eax, edi
jmp 0x427f87
mov eax, dword [ebp - 0x5c44]
cmp eax, ebx
jne 0x427bb6
mov dword [ebp - 0xac74], ebx
mov dword [ebp - 0xac78], ebx
jmp 0x427be6
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call edi
mov dword [ebp - 0xac74], eax
mov eax, dword [ebp - 0x5c44]
cmp eax, ebx
jne 0x427bda
mov dword [ebp - 0xac78], ebx
jmp 0x427be6
mov ecx, dword [eax + 0xc]
push ecx
call edi
mov dword [ebp - 0xac78], eax
xor edi, edi
lea eax, [esi + 6]
lea ebx, [esi + 0xfde8]
mov dword [ebx], eax
mov dword [esi + 0xfdf8], edi
mov dword [esi + 0xfdf4], edi
cmp dword [ebp - 0xac74], edi
jle 0x427e64
push 0x400
lea edx, [ebp - 0xc30]
push edx
push 0
lea eax, [ebp - 0x5c48]
push eax
mov eax, edi
call fcn.004fae30
mov ecx, dword [ebp - 0xc38]
push ecx
mov dword [ebp - 0xac64], eax
call dword [sym.imp.icuuc51.dll_ucnv_reset_51]
add esp, 4
lea ecx, [ebp - 0xac98]
push ecx
push 1
lea edx, [ebp - 0x430]
mov dword [ebp - 0xac7c], edx
mov edx, dword [ebp - 0xac64]
lea eax, [ebp - 0xc30]
push 0
mov dword [ebp - 0xaca4], eax
lea eax, [ebp + edx*2 - 0xc30]
push eax
lea ecx, [ebp - 0xaca4]
push ecx
mov ecx, dword [ebp - 0xc38]
lea edx, [ebp - 0x31]
push edx
lea eax, [ebp - 0xac7c]
push eax
push ecx
mov dword [ebp - 0xac98], 0
call dword [sym.imp.icuuc51.dll_ucnv_fromUnicode_51]
mov eax, dword [ebp - 0xac98]
add esp, 0x20
test eax, eax
jle 0x427cb2
cmp eax, 0xf
je 0x427cb2
mov byte [ebp - 0x430], 0
jmp 0x427cbb
mov edx, dword [ebp - 0xac7c]
mov byte [edx], 0
push edi
lea eax, [ebp - 0x5c48]
push eax
mov edx, 1
call fcn.004fcb20
push edi
lea ecx, [ebp - 0x5c48]
push ecx
mov edx, 2
mov dword [ebp - 0xac64], eax
call fcn.004fcdb0
mov dword [ebp - 0xac6c], edx
push edi
lea edx, [ebp - 0x5c48]
push edx
mov edx, 3
mov dword [ebp - 0xac70], eax
call fcn.004fcdb0
cmp dword [ebp - 0xac64], 0
mov dword [ebp - 0xac90], eax
mov dword [ebp - 0xac8c], edx
je 0x427d27
or eax, 0xffffffff
mov dword [ebp - 0xac70], eax
mov dword [ebp - 0xac6c], eax
mov eax, esi
call fcn.00506fb0
cmp eax, 0x510
jae 0x427d9c
mov eax, dword [ebx]
sub eax, esi
mov dword [esi + 0xfdec], eax
mov ecx, dword [ebp - 0xac84]
movzx eax, ax
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov dword [esi + 0xfdf0], 0x67
movzx eax, word [esi + 0xfdf0]
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 3], al
movzx eax, word [esi + 0xfdf4]
mov byte [esi + 4], al
shr eax, 8
mov byte [esi + 5], al
mov eax, dword [esi + 0xfdec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
push esi
call edx
lea eax, [esi + 6]
mov dword [ebx], eax
xor eax, eax
mov dword [esi + 0xfdf8], eax
mov dword [esi + 0xfdf4], eax
lea eax, [ebp - 0x430]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427da5
sub eax, edx
mov edx, eax
mov eax, dword [ebx]
mov dword [ebp - 0xac64], edx
cmp eax, esi
jb 0x427dcc
cmp eax, ebx
ja 0x427dcc
mov ecx, esi
sub ecx, eax
add ecx, 0xfde8
jmp 0x427dcf
or ecx, 0xffffffff
add edx, 2
cmp edx, ecx
jg 0x427e27
cmp eax, esi
jb 0x427e02
cmp eax, ebx
ja 0x427e02
mov ecx, esi
sub ecx, eax
add ecx, 0xfde8
cmp ecx, 2
jl 0x427e02
mov ecx, dword [ebp - 0xac64]
mov edx, ecx
shr edx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
add dword [ebx], 2
jmp 0x427e08
mov ecx, dword [ebp - 0xac64]
test ecx, ecx
jle 0x427e27
push ecx
mov ecx, dword [ebx]
lea eax, [ebp - 0x430]
push eax
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0xac64]
add esp, 0xc
add dword [ebx], edx
mov eax, dword [ebp - 0xac6c]
mov ecx, dword [ebp - 0xac70]
push eax
push ecx
mov ecx, esi
call fcn.00507010
mov edx, dword [ebp - 0xac8c]
mov eax, dword [ebp - 0xac90]
push edx
push eax
mov ecx, esi
call fcn.00507010
inc dword [esi + 0xfdf4]
inc edi
cmp edi, dword [ebp - 0xac74]
jl 0x427c0b
mov ecx, dword [ebx]
sub ecx, esi
movzx eax, cx
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
mov dword [esi + 0xfdf0], 0x78
movzx eax, word [esi + 0xfdf0]
mov dword [esi + 0xfdec], ecx
mov ecx, dword [ebp - 0xac84]
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 3], al
movzx eax, word [esi + 0xfdf4]
mov byte [esi + 4], al
shr eax, 8
mov byte [esi + 5], al
mov eax, dword [esi + 0xfdec]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
push esi
call edx
lea eax, [esi + 6]
mov dword [ebx], eax
xor edi, edi
lea eax, [ebp - 0xac90]
mov dword [esi + 0xfdf8], edi
mov dword [esi + 0xfdf4], edi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push eax
call esi
test eax, eax
jne 0x427eea
mov dword [ebp - 0xac90], edi
mov dword [ebp - 0xac8c], edi
lea ecx, [ebp - 0xac70]
push ecx
call esi
test eax, eax
jne 0x427f07
xor ecx, ecx
mov dword [ebp - 0xac70], ecx
mov dword [ebp - 0xac6c], eax
jmp 0x427f13
mov eax, dword [ebp - 0xac6c]
mov ecx, dword [ebp - 0xac70]
sub ecx, dword [ebp - 0xaca0]
push edi
sbb eax, dword [ebp - 0xac9c]
push 0x3e8
push eax
push ecx
call fcn.00596e30
mov ecx, dword [0x61023c]
push ecx
mov ecx, dword [0x610238]
push ecx
push edx
push eax
call fcn.00596bf0
mov ebx, dword [ebp - 0xac94]
push edx
mov edx, dword [ebp - 0xac78]
push eax
mov eax, dword [ebp - 0xac74]
push edx
mov edx, dword [ebp - 0xac80]
push eax
push str.reply.updateclient_returned_record____d__rows____d__columns____I64d__elapsed
mov ecx, 1
call fcn.0042b270
add esp, 0x14
lea eax, [ebp - 0x5c48]
call fcn.004fa960
lea eax, [ebp - 0xac60]
call fcn.004fa960
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00596083
mov esp, ebp
pop ebp
ret 8