Function at 0x4e8f60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5907
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x950
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0xd8]
call fcn.004ec880
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
call fcn.00416be0
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0
jne 0x4e902c
push str.db_not_opened
lea ecx, [ebp - 0x408]
call fcn.0040bdb0
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x388], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x388]
push edx
lea ecx, [ebp - 0x3cc]
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x3cc]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x408]
call fcn.0040b3b0
mov ecx, dword [ebp + 0xc]
call fcn.00416470
movzx ecx, al
test ecx, ecx
je 0x4e9093
push str.empty_computer_name
lea ecx, [ebp - 0x420]
call fcn.0040bdb0
mov dword [ebp - 0x38c], eax
mov edx, dword [ebp - 0x38c]
mov dword [ebp - 0x390], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x390]
push eax
lea ecx, [ebp - 0x3d8]
call fcn.0040bfb0
push 0x638098
lea ecx, [ebp - 0x3d8]
push ecx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x420]
call fcn.0040b3b0
mov ecx, dword [ebp + 0x10]
call fcn.00416470
movzx edx, al
test edx, edx
je 0x4e90fa
push str.empty_user_name
lea ecx, [ebp - 0x438]
call fcn.0040bdb0
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x39c]
push ecx
lea ecx, [ebp - 0x3e4]
call fcn.0040bfb0
push 0x638098
lea edx, [ebp - 0x3e4]
push edx
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.0040b3b0
mov ecx, dword [ebp + 0x14]
call fcn.00416470
movzx eax, al
test eax, eax
je 0x4e9161
push str.empty_date
lea ecx, [ebp - 0x450]
call fcn.0040bdb0
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x3a0]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x3f0]
call fcn.0040bfb0
push 0x638098
lea eax, [ebp - 0x3f0]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.0040b3b0
push 4
lea ecx, [ebp - 0x18]
call fcn.004029d0
lea ecx, [ebp - 0x18]
call fcn.00404b40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.00414c00
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x14]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040bfe0
push eax
push str.SELECT_datetime__Tm____Dur____seconds__AS__tmEnd____Prg_._Exe__FROM__Prg__WHERE__Comp__S_AND__Usr__S_AND__Prg_._Tm_____S_AND__tmEnd_____S_ORDER_BY__Prg_._Tm__DESC_LIMIT_1
lea ecx, [ebp - 0x18]
push ecx
call fcn.004f7100
add esp, 0x18
push 0x18
lea ecx, [ebp - 0x60]
call fcn.004029d0
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
call fcn.005c4f00
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 4], 9
push 0x5eff1f
push 1
lea ecx, [ebp - 0x60]
call fcn.005c5220
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00416e10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x60]
call fcn.005c4580
jmp 0x4e96ad
mov dword [ebp - 4], 7
jmp 0x4e96bf
jmp 0x4e96ca
jmp 0x4e96d3
lea ecx, [ebp - 0x90]
call fcn.00414c00
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call fcn.00414c00
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp + 0x14]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0x10]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040bfe0
push eax
push str.SELECT_datetime__Tm____Dur____seconds__AS__tmEnd____Inet_._Url____Inet_._Domain__FROM__Inet__WHERE__Comp__S_AND__Usr__S_AND__Inet_._Tm_____S_AND__tmEnd_____S_ORDER_BY__Inet_._Tm__DESC_LIMIT_1
lea edx, [ebp - 0x18]
push edx
call fcn.004f7100
add esp, 0x18
push 0x18
lea ecx, [ebp - 0x30]
call fcn.004029d0
lea ecx, [ebp - 0x18]
call fcn.00402d50
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx]
call fcn.005c4f00
mov dword [ebp - 0x3b4], eax
mov byte [ebp - 4], 0x13
push 0x5eff23
push 1
lea ecx, [ebp - 0x30]
call fcn.005c5220
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
push edx
lea ecx, [ebp - 0x90]
call fcn.00416e10
push 0x5eff2b
push 2
lea ecx, [ebp - 0x30]
call fcn.005c5220
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x78]
call fcn.00416e10
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call fcn.005c4580
jmp 0x4e9c3f
mov dword [ebp - 4], 0x11
jmp 0x4e9c51
jmp 0x4e9c5c
jmp 0x4e9c65
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c8]
push ecx
call fcn.004f0920
add esp, 0x10
mov dword [ebp - 0x374], eax
mov edx, dword [ebp - 0x374]
push edx
lea ecx, [ebp - 0xd8]
call fcn.004f5af0
lea ecx, [ebp - 0x4c8]
call fcn.004f54d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x78]
call fcn.0040b3b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.0040b3b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.0040b3b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402d30
jmp 0x4e9dab
mov dword [ebp - 4], 0
jmp 0x4e9dbb
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004f4640
mov edx, dword [ebp - 0x218]
or edx, 1
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.004f54d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret 0x10