Function at 0x10007fe0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ef18
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1002c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x4c], eax
mov ecx, 7
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
lea edx, [ebp - 0x2c]
push edx
sub esp, 0x1c
mov dword [ebp - 4], eax
mov esi, esp
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [ebp - 0x4c], esp
mov word [esi], ax
push 0xb
mov eax, str.ProcessorId
call fcn.100029d0
sub esp, 0x1c
mov esi, esp
mov byte [ebp - 4], 1
mov dword [ebp - 0x50], esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x3f
mov eax, str.SELECT_ProcessorId_FROM_Win32_Processor_WHERE_DeviceID__CPU0
mov word [esi], cx
call fcn.100029d0
lea edx, [edi + 0x3c]
push edx
mov byte [ebp - 4], 0
call fcn.1000a4a0
mov esi, eax
test esi, esi
jns 0x100081bd
mov dword [ebp - 0xf8], 0x10028510
mov dword [ebp - 0xe8], 0x10028518
mov dword [ebp - 0x98], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, 2
mov byte [ebp - 4], al
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.100038f0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp + eax - 0xf8], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.100043d0
xor eax, eax
mov dword [ebp - 0xe0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
lea edx, [ebp - 0xe8]
push str.Error_while_getting_processor_serial_number._Error_Code:_0x
push edx
mov byte [ebp - 4], 5
call fcn.100055d0
add esp, 8
test eax, eax
jne 0x10008126
xor ecx, ecx
jmp 0x1000812d
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx + 0x14]
and edx, 0xfffff9ff
push esi
or edx, 0x800
push eax
mov dword [ecx + 0x14], edx
call fcn.100089c0
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0xf8]
call fcn.10003180
lea esi, [edi + 0x20]
mov edi, eax
mov byte [ebp - 4], 6
call fcn.10001db0
mov edi, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], edi
jb 0x1000817c
mov eax, dword [ebp - 0x48]
push eax
call fcn.1000ccc0
add esp, 4
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push ecx
mov eax, 0x100283b8
mov esi, ebx
mov word [ebx], cx
call fcn.100029d0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.10002e50
cmp dword [ebp - 0x18], edi
jb 0x1000828a
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x10008282
cmp dword [ebp - 0x1c], 0
jne 0x1000825b
lea eax, [ebp - 0xf8]
push eax
call fcn.100030e0
lea ecx, [ebp - 0xe8]
push str.Processor_serial_number_wasnt_found
push ecx
mov byte [ebp - 4], 7
call fcn.100055d0
add esp, 8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0xf8]
call fcn.10003180
lea esi, [edi + 0x20]
mov edi, eax
mov byte [ebp - 4], 8
call fcn.10001db0
mov edi, 8
mov byte [ebp - 4], 7
cmp dword [ebp - 0x34], edi
jb 0x10008221
mov edx, dword [ebp - 0x48]
push edx
call fcn.1000ccc0
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
push eax
mov eax, 0x100283b8
mov esi, ebx
call fcn.100029d0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.10002e50
cmp dword [ebp - 0x18], edi
jb 0x1000828a
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x10008282
xor edx, edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
lea edi, [ebp - 0x2c]
mov esi, ebx
mov word [ebx], dx
call fcn.10001db0
cmp dword [ebp - 0x18], 8
jb 0x1000828a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000ccc0
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ccb1
mov esp, ebp
pop ebp
ret