Function at 0x140038610
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x370
mov rax, qword [0x1400950c8]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rbp, qword [rsp + 0x3d0]
mov r12, qword [rsp + 0x3d8]
mov r14, rcx
mov qword [rsp + 0xd8], r8
mov dword [rsp + 0xa0], edx
xor r13d, r13d
lea rcx, [rsp + 0x151]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xc0], r12
mov rdi, r9
mov qword [rsp + 0xd0], r9
mov r15d, r13d
mov byte [rsp + 0x150], r13b
call fcn.14005fe50
xor eax, eax
lea r8d, [r13 + 0x7f]
lea rcx, [rsp + 0x261]
xor edx, edx
mov byte [rsp + 0xf0], r13b
mov qword [rsp + 0xf1], rax
mov qword [rsp + 0xf9], rax
mov word [rsp + 0x101], ax
mov byte [rsp + 0x103], al
mov byte [rsp + 0x260], al
call fcn.14005fe50
lea r8d, [r13 + 0x7f]
lea rcx, [rsp + 0x2e1]
xor edx, edx
mov byte [rsp + 0x2e0], r13b
call fcn.14005fe50
xor eax, eax
test rdi, rdi
mov qword [rsp + 0x109], rax
mov qword [rsp + 0x111], rax
mov qword [rsp + 0x119], rax
mov dword [rsp + 0x121], eax
mov word [rsp + 0x125], ax
mov byte [rsp + 0x127], al
mov byte [rsp + 0xe0], al
mov qword [rsp + 0xe1], rax
mov dword [rsp + 0xe9], eax
mov word [rsp + 0xed], ax
mov byte [rsp + 0xef], al
mov eax, 1
mov esi, r13d
mov ebx, r13d
cmovne esi, eax
test rbp, rbp
lea rdx, str._r_nActivated_Block:_r_n_r_n
cmovne ebx, eax
mov edi, r13d
test r12, r12
mov rcx, r14
mov byte [rsp + 0x108], r13b
mov dword [rsp + 0xa4], r13d
cmovne edi, eax
call fcn.140015c20
lea rcx, [0x1400acfc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [0x1400ad490]
movsxd rax, esi
mov qword [rsp + 0xb8], rax
movsxd rbx, ebx
movsxd rax, edi
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], rbx
test rbp, rbp
je 0x1400390e2
lea rdi, [0x14007f8a0]
inc r15d
cmp dword [rbp + 0xd8], 0
je 0x1400390cb
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0x104
call fcn.14005fe50
xor edx, edx
xor eax, eax
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xf8], rdx
mov dword [rsp + 0x100], edx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
cmp dword [rbp + 0x60], 3
je 0x140038832
lea rsi, str.Pending
jmp 0x1400388e0
cmp dword [rbp + 0x134], eax
lea rsi, [0x14007f8a4]
cmove rsi, rdi
cmp dword [rbp + 0x5c], 3
jne 0x140038859
cmp dword [rbp + 0x164], eax
je 0x140038859
mov ecx, dword [rbp + 0x8c]
jmp 0x14003885c
mov ecx, dword [rbp + 0x7c]
call qword [0x1400ace18]
lea r8, str._d._d._d._d
mov r9d, eax
shr eax, 8
movzx edx, al
mov eax, r9d
movzx edi, r9b
shr eax, 0x10
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edx
movzx ecx, al
shr r9d, 0x18
mov edx, 0x13
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xf0]
call fcn.14005ff3c
cmp dword [rbp + 0x5c], 3
jne 0x1400388b9
cmp dword [rbp + 0x164], 0
je 0x1400388b9
movzx ecx, word [rbp + 0x8a]
jmp 0x1400388bd
movzx ecx, word [rbp + 0x7a]
call qword [0x1400acdd0]
lea r8, [0x140075868]
lea rcx, [rsp + 0xe0]
movzx r9d, ax
mov edx, SQLNumResultCols
call fcn.14005ff3c
mov edi, dword [rsp + 0xa0]
test edi, edi
je 0x14003892b
cmp dword [rbp + 0x60], 3
jne 0x1400390cb
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x1400389ea
mov rdx, qword [rbp + 0xe0]
test rdx, rdx
je 0x1400390cb
mov rcx, rax
call fcn.1400605e0
test eax, eax
jne 0x1400390cb
jmp 0x1400389ea
cmp qword [rsp + 0xb8], 0
jne 0x1400389b5
test rbx, rbx
jne 0x140038991
cmp qword [rsp + 0xb0], rbx
je 0x1400389ea
cmp dword [rbp + 0x5c], 3
jne 0x140038973
cmp dword [rbp + 0x164], ebx
je 0x140038973
movzx ecx, word [rbp + 0x8a]
call qword [0x1400acdd0]
mov rcx, r12
movzx edi, ax
call fcn.140061730
cmp eax, edi
jmp 0x1400389dd
movzx ecx, word [rbp + 0x7a]
call qword [0x1400acdd0]
mov rcx, r12
movzx edi, ax
call fcn.140061730
cmp eax, edi
je 0x1400389e3
jmp 0x1400390cb
mov rdx, qword [rsp + 0xc8]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0xf0]
jmp 0x1400389d3
mov rdx, qword [rsp + 0xd0]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x20]
mov r8d, r8d
call fcn.14006036c
test eax, eax
jne 0x1400390cb
mov edi, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x10624dd3
sub edx, dword [rbp + 0xcc]
mul edx
mov eax, 1
mov ebx, edx
shr ebx, 6
test ebx, ebx
cmove ebx, eax
mov rax, qword [rbp + 0xe8]
test rax, rax
jle 0x140038a28
mov ecx, ebx
cqo
idiv rcx
add dword [rsp + 0xa4], eax
cmp dword [rbp + 0x5c], 3
lea r12, [0x14007f89c]
lea rcx, [rsp + 0x260]
cmovne r12, rsi
xor edx, edx
mov r8d, 0x80
call fcn.14005fe50
xor r11d, r11d
lea rcx, [rsp + 0x2e0]
xor edx, edx
mov r8d, 0x80
mov qword [rsp + 0x108], r11
mov qword [rsp + 0x110], r11
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x120], r11
call fcn.14005fe50
cmp dword [rbp + 0x60], 3
jne 0x140038b1b
mov r8, qword [rbp + 0xe8]
lea rcx, [rsp + 0x260]
mov edx, 0x80
call fcn.140005280
test eax, eax
jne 0x140038ac9
mov r9, qword [rbp + 0xe8]
lea r8, [0x1400757fc]
lea edx, [rax + 0x7f]
lea rcx, [rsp + 0x260]
call fcn.14005ff3c
test edi, edi
jne 0x140038aff
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x260]
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x2e0]
not rcx
lea r8, [rcx - 1]
mov rcx, qword [rbp + 0xe8]
call fcn.1400053b0
mov edi, dword [rsp + 0xa0]
mov rcx, qword [rbp + 0xe8]
lea r8, [rsp + 0x108]
mov r9d, 0x20
mov edx, ebx
call fcn.1400051d0
test edi, edi
jne 0x140038e4a
cmp qword [rsp + 0xb8], 0
jne 0x140038d25
cmp qword [rsp + 0xa8], 0
jne 0x140038d25
cmp qword [rsp + 0xb0], 0
jne 0x140038d25
mov edx, dword [rbp + 0x60]
lea r9, str.None
mov ecx, edx
sub ecx, 1
je 0x140038b7d
sub ecx, 1
je 0x140038b74
cmp ecx, 1
jne 0x140038b84
lea r9, str.Complete
jmp 0x140038b84
lea r9, str.Authorized
jmp 0x140038b84
lea r9, str.FirstNegociation
inc r13d
mov eax, 0xc22e4507
cmp edx, 3
je 0x140038c2a
mul ebx
lea rcx, [rbp + 0x20]
mov r8d, edx
shr r8d, 0x10
mov eax, r8d
imul eax, eax, 0x15180
sub ebx, eax
mov eax, 0x91a2b3c5
mul ebx
mov edi, edx
shr edi, 0xb
mov eax, edi
imul eax, eax, 0xe10
sub ebx, eax
mov eax, 0x88888889
mul ebx
shr edx, 5
mov eax, edx
imul eax, eax, 0x3c
sub ebx, eax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp]
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x150]
lea r8, str._d._d:_s_____s___d:_d:_d:_d____s____d_Bytes_r_n
mov r9d, r13d
mov edx, 0x103
mov qword [rsp + 0x20], rax
call fcn.14005ff3c
jmp 0x1400390a2
mul ebx
lea r8, [0x1400757f4]
lea rcx, [0x1400817a0]
mov r10d, edx
lea rdi, [rbp + 0x20]
shr r10d, 0x10
mov eax, r10d
imul eax, eax, 0x15180
sub ebx, eax
mov eax, 0x91a2b3c5
mul ebx
mov r9d, edx
shr r9d, 0xb
mov eax, r9d
imul eax, eax, 0xe10
sub ebx, eax
mov eax, 0x88888889
mul ebx
shr edx, 5
mov eax, edx
imul eax, eax, 0x3c
sub ebx, eax
cmp dword [rbp + 0x190], 0
lea rax, [0x14007a638]
cmovne r8, rax
cmp dword [rbp + 0x18c], 0
lea rax, [0x14008179c]
cmovne rcx, rax
mov eax, dword [rbp + 0x174]
mov dword [rsp + 0x90], eax
mov eax, dword [rbp + 0x170]
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x60], r9d
mov dword [rsp + 0x58], r10d
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
lea r8, str._d._s_s_d:_s___s:_s__s___d:_d:_d:_d__s__s___d__d_r_n
jmp 0x140038e2b
mov r11, qword [rbp + 0xe0]
test r11, r11
je 0x1400390a2
mov eax, 0xc22e4507
inc r13d
lea rdi, [rbp + 0x20]
lea r8, [0x1400757f4]
lea rcx, [0x1400817a0]
mul ebx
mov r10d, edx
shr r10d, 0x10
mov eax, r10d
imul eax, eax, 0x15180
sub ebx, eax
mov eax, 0x91a2b3c5
mul ebx
mov r9d, edx
shr r9d, 0xb
mov eax, r9d
imul eax, eax, 0xe10
sub ebx, eax
mov eax, 0x88888889
mul ebx
shr edx, 5
mov eax, edx
imul eax, eax, 0x3c
sub ebx, eax
lea rax, [0x14007a638]
cmp dword [rbp + 0x190], 0
cmovne r8, rax
cmp dword [rbp + 0x18c], 0
lea rax, [0x14008179c]
cmovne rcx, rax
mov eax, dword [rbp + 0x174]
mov dword [rsp + 0x90], eax
mov eax, dword [rbp + 0x170]
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r10d
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
lea r8, str._d._s_s_d__s_:_s___s:_s__s___d:_d:_d:_d__s___d__d_r_n
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x150]
mov r9d, r13d
mov edx, 0x103
call fcn.14005ff3c
jmp 0x1400390a2
mov r11, qword [rbp + 0xe0]
mov eax, 0xc22e4507
inc r13d
mul ebx
test r11, r11
je 0x140038f70
mov r10d, edx
lea rdi, [rbp + 0x20]
lea r8, [0x1400757f4]
shr r10d, 0x10
lea rcx, [0x1400817a0]
mov eax, r10d
imul eax, eax, 0x15180
sub ebx, eax
mov eax, 0x91a2b3c5
mul ebx
mov r9d, edx
shr r9d, 0xb
mov eax, r9d
imul eax, eax, 0xe10
sub ebx, eax
mov eax, 0x88888889
mul ebx
shr edx, 5
mov eax, edx
imul eax, eax, 0x3c
sub ebx, eax
cmp dword [rsp + 0x3e0], 0
lea rax, [0x14007a638]
je 0x140038d94
cmp dword [rbp + 0x190], 0
cmovne r8, rax
cmp dword [rbp + 0x18c], 0
lea rax, [0x14008179c]
cmovne rcx, rax
mov eax, dword [rbp + 0x198]
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], r10d
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0xe0]
mov r9d, r13d
mov edx, 0x103
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rcx
lea r8, str._d._s_s_d__s_:_s___s:_s__s___d:_d:_d:_d__s___d_r_n
lea rcx, [rsp + 0x150]
call fcn.14005ff3c
jmp 0x1400390a2
mov r8d, edx
lea rcx, [rbp + 0x20]
mov r9d, r13d
shr r8d, 0x10
mov eax, r8d
imul eax, eax, 0x15180
sub ebx, eax
mov eax, 0x91a2b3c5
mul ebx
mov edi, edx
shr edi, 0xb
mov eax, edi
imul eax, eax, 0xe10
sub ebx, eax
mov eax, 0x88888889
mul ebx
shr edx, 5
mov eax, edx
imul eax, eax, 0x3c
sub ebx, eax
cmp dword [rsp + 0x3e0], 0
je 0x14003902a
mov eax, dword [rbp + 0x198]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0xe0]
lea r8, str._d._d:_s___s:_s__s___d:_d:_d:_d__s___d_r_n
mov edx, 0x103
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.14005ff3c
jmp 0x1400390a2
mov eax, dword [rbp + 0x174]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x170]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0xe0]
lea r8, str._d._d:_s___s:_s__s___d:_d:_d:_d__s___d__d_r_n
mov edx, 0x103
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x20], rax
call fcn.14005ff3c
test r14, r14
je 0x1400390bb
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.140015c20
test eax, eax
je 0x1400390e2
mov rbx, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xc0]
mov rbp, qword [rbp + 0x1a8]
lea rdi, [0x14007f8a0]
test rbp, rbp
jne 0x1400387d0
lea rcx, [0x1400acfc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r13d, r13d
je 0x1400391cd
call fcn.140008c70
mov ecx, dword [rsp + 0xa4]
mov edi, r15d
imul edi, edi, 0x1b0
add edi, eax
xor eax, eax
lea r8, [rsp + 0x128]
lea r9d, [rax + 0x20]
lea edx, [rax + 1]
mov byte [rsp + 0x128], 0
mov qword [rsp + 0x129], rax
mov qword [rsp + 0x131], rax
mov qword [rsp + 0x139], rax
mov dword [rsp + 0x141], eax
mov word [rsp + 0x145], ax
mov byte [rsp + 0x147], al
call fcn.1400051d0
mov eax, r13d
lea r9, [rsp + 0x128]
movss xmm1, dword [0x140075828]
imul eax, eax, 0x21b0
lea r8, str._r_nTotal_Average_Speed__:__s_r_nTotal_Allocated_Block:__d____About__.2f_KB_r_nTotal_Activated_Block:__d____About__.2f_KB_r_n_r_n
lea rcx, [rsp + 0x150]
pxor xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, edi
mov edx, 0x103
mulss xmm0, xmm1
unpcklps xmm0, xmm0
cvtps2pd xmm2, xmm0
pxor xmm0, xmm0
movsd qword [rsp + 0x38], xmm2
cvtsi2ss xmm0, rax
mov dword [rsp + 0x30], r13d
mulss xmm0, xmm1
unpcklps xmm0, xmm0
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
mov dword [rsp + 0x20], r15d
call fcn.14005ff3c
jmp 0x1400391f8
lea rdx, str.The_List_Is_Empty_r_n
mov rcx, r14
call fcn.140015c20
lea r8, str._r_nTotal_Allocated_Block:__d_r_nTotal_Activated_Block:_0_r_n_r_n
lea rcx, [rsp + 0x150]
mov r9d, r15d
mov edx, 0x103
call fcn.14005ff3c
lea rdx, [rsp + 0x150]
mov rcx, r14
call fcn.140015c20
mov eax, 1
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14005fe20
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret