Function at 0x49d9a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d617
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x694240]
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 edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0xb
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
push str.ProcessorId
mov word [ecx], ax
call fcn.0047989e
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x50], esp
xor eax, eax
push 0x3f
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.SELECT_ProcessorId_FROM_Win32_Processor_WHERE_DeviceID__CPU0
mov word [ecx], ax
call fcn.0047989e
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
call fcn.004a0480
mov ebx, eax
test ebx, ebx
jns 0x49db6f
sub esp, 8
lea ecx, [ebp - 0x10c]
call fcn.0049e760
mov edx, str.Error_while_getting_processor_serial_number._Error_Code:_0x
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call fcn.00488be0
mov edx, eax
test edx, edx
jne 0x49da9c
xor ecx, ecx
jmp 0x49daa3
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, edx
push ebx
call fcn.0049e940
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0049e8c0
mov ebx, eax
add edi, 0x1c
mov byte [ebp - 4], 5
cmp edi, ebx
je 0x49db02
cmp dword [edi + 0x14], 8
jb 0x49dae7
push dword [edi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.004797a6
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 8
jb 0x49db17
push dword [ebp - 0x44]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
push 0x6646b4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov word [esi], ax
call fcn.0047989e
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
call fcn.0049e840
lea ecx, [ebp - 0xa4]
call fcn.004809c7
mov byte [ebp - 4], 0
jmp 0x49dcbb
cmp dword [ebp - 0x1c], 0
jne 0x49dc4c
sub esp, 8
lea ecx, [ebp - 0x1bc]
call fcn.0049e760
mov edx, str.Processor_serial_number_wasnt_found
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ac]
call fcn.00488be0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0049e8c0
mov ebx, eax
add edi, 0x1c
mov byte [ebp - 4], 7
cmp edi, ebx
je 0x49dbe2
cmp dword [edi + 0x14], 8
jb 0x49dbc7
push dword [edi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.004797a6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x30], 8
jb 0x49dbf7
push dword [ebp - 0x44]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
push 0x6646b4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov word [esi], ax
call fcn.0047989e
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
call fcn.0049e840
lea ecx, [ebp - 0x154]
call fcn.004809c7
mov byte [ebp - 4], 0
jmp 0x49dcbb
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0x18], 8
jae 0x49dc7d
mov eax, dword [ebp - 0x1c]
inc eax
je 0x49dc91
add eax, eax
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.005714f0
add esp, 0xc
jmp 0x49dc91
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0x49]
call fcn.0047de42
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 8
jb 0x49dccc
push dword [ebp - 0x2c]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov eax, esi
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.005712ac
mov esp, ebp
pop ebp
ret 4