Function at 0x69bec9
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x12c
mov eax, dword [0xbcbae0]
xor eax, ebp
test edx, edx
mov dword [ebp - 0x10], eax
je 0x69c35c
mov esi, ecx
push str.SELECT_id__issue_time__issue_hostname__issue_username__issue_ip__deny_access__machine_fingerprint_FROM_fingerprint_WHERE_identity_id___
push edx
call fcn.006c3985
add esp, 8
test eax, eax
je 0x69c35c
mov edi, eax
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push eax
call fcn.006c3e29
add esp, 0x10
push edi
call fcn.006c468d
add esp, 4
cmp eax, 0x3e8
jne 0x69c347
mov dword [ebp - 0x114], edi
xor eax, eax
push eax
push edi
call fcn.006c5bf7
add esp, 8
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push 1
push edi
call fcn.006c5bf7
add esp, 8
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
push 2
push edi
call fcn.006c5bae
add esp, 8
mov dword [ebp - 0x128], eax
push 3
push edi
call fcn.006c5bae
add esp, 8
mov dword [ebp - 0x130], eax
push 4
push edi
call fcn.006c5bae
add esp, 8
mov dword [ebp - 0x12c], eax
push 5
push edi
call fcn.006c5bf7
add esp, 8
mov ebx, eax
mov dword [ebp - 0x118], edx
push 6
push edi
call fcn.006c5bae
add esp, 8
mov edi, eax
push 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
cmp dword [ebp + 0xc], 0
mov ecx, esi
mov dword [ebp - 0x124], edi
je 0x69c17d
mov edx, 0xb9e51d
mov eax, 4
push eax
call fcn.0069bcc4
add esp, 4
mov eax, 0xa
push eax
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e530
mov eax, 5
push eax
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
call fcn.0069be32
add esp, 0xc
push edi
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
or ebx, dword [ebp - 0x118]
mov eax, 0xb9e540
mov ecx, 0xb9e542
mov edx, 0xb9e544
mov ebx, 5
cmove eax, ecx
mov ecx, esi
push ebx
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
mov eax, pe_nt_image_headers32
push eax
lea ebx, [ebp - 0x110]
push ebx
push dword [ebp - 0x128]
call fcn.004edbcb
add esp, 0xc
mov ecx, esi
mov edx, 0xb9e54d
mov edi, 5
push edi
push ebx
call fcn.0069bd2c
add esp, 8
mov ebx, 0xa
push ebx
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e55b
push edi
push dword [ebp - 0x12c]
call fcn.0069bd2c
add esp, 8
push ebx
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x130]
call fcn.004edbcb
add esp, 0xc
mov ecx, esi
mov edx, 0xb9e55e
mov eax, 5
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push 0x4c
push ebx
lea eax, [ebp - 0x90]
push eax
call fcn.006a076a
add esp, 0x14
mov ecx, esi
mov edx, 0xb9e568
mov ebx, 5
push ebx
mov ebx, 5
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e57a
push ebx
push dword [ebp - 0x124]
call fcn.0069bd2c
add esp, 8
push edi
mov edi, dword [ebp - 0x114]
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e586
mov eax, 4
jmp 0x69c32a
mov edx, 0xb9e599
mov eax, 3
push eax
call fcn.0069bcc4
add esp, 4
mov eax, 0xa
push eax
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, str.registration_id
mov eax, 4
push eax
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
call fcn.0069be32
add esp, 0xc
push edi
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
or ebx, dword [ebp - 0x118]
mov eax, 0xb9e5bc
mov ecx, 0xb9e5be
mov edx, str.disabled
mov ebx, 4
cmove eax, ecx
mov ecx, esi
push ebx
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
mov eax, pe_nt_image_headers32
push eax
lea ebx, [ebp - 0x110]
push ebx
push dword [ebp - 0x128]
call fcn.004edbcb
add esp, 0xc
mov ecx, esi
mov edx, str.computer_name
mov edi, 4
push edi
push ebx
call fcn.0069bd2c
add esp, 8
mov ebx, 0xa
push ebx
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e5d7
push edi
push dword [ebp - 0x12c]
call fcn.0069bd2c
add esp, 8
push ebx
mov edi, 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x130]
call fcn.004edbcb
add esp, 0xc
mov ecx, esi
mov edx, str.user_name
mov eax, 4
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push 0x4c
push ebx
lea eax, [ebp - 0x90]
push eax
call fcn.006a076a
add esp, 0x14
mov ecx, esi
mov edx, str.registration_date
mov ebx, 4
push ebx
mov ebx, 4
push eax
call fcn.0069bd2c
add esp, 8
push edi
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, 0xb9e5f6
push ebx
push dword [ebp - 0x124]
call fcn.0069bd2c
add esp, 8
push edi
mov edi, dword [ebp - 0x114]
push dword [esi]
call fcn.004ea31e
add esp, 8
mov ecx, esi
mov edx, str.registered_machine
mov eax, 3
push eax
call fcn.0069c371
add esp, 4
push edi
call fcn.006c468d
add esp, 4
cmp eax, 0x3e8
je 0x69bf2b
push 0xa
push dword [esi]
call fcn.004ea31e
add esp, 8
push edi
call fcn.006c39c7
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00980459
add esp, 0x12c
pop esi
pop edi
pop ebx
pop ebp
ret