Function at 0x456cc0
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b637
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x5a4eec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x98
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xc4]
push 0
push eax
mov dword [ebp - 0xec], edi
call fcn.00517500
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.0044bbc0
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x4c]
mov ebx, eax
mov dword [ebp - 0xf0], ebx
test ebx, ebx
jne 0x456d4c
mov ecx, str.GetOsMsgByKey_svc_ptr_is_null
call fcn.004541e0
jmp 0x457122
push dword [edi*4 + 0x59ca4c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xcc], 0
call fcn.004566f0
mov esi, eax
push 0x59d3b4
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 1
call fcn.004566f0
mov byte [ebp - 4], 2
mov edx, dword [esi]
test edx, edx
je 0x456d89
mov edx, dword [edx]
jmp 0x456d8b
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x456d95
mov ecx, dword [eax]
jmp 0x456d97
xor ecx, ecx
mov eax, dword [ebx]
lea esi, [ebp - 0xcc]
push esi
push 0
push 0x30
push edx
push ecx
push ebx
call dword [eax + 0x50]
mov esi, dword [ebp - 0xc8]
or edi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0xe4], eax
test esi, esi
je 0x456e0c
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x456e02
test esi, esi
je 0x456e02
mov eax, dword [esi]
test eax, eax
je 0x456de0
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x456df7
push eax
call fcn.005144af
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00514498
add esp, 8
mov dword [ebp - 0xc8], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x456e54
lock xadd dword [esi + 8], edi
dec edi
jne 0x456e54
test esi, esi
je 0x456e54
mov eax, dword [esi]
test eax, eax
je 0x456e32
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x456e49
push eax
call fcn.005144af
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00514498
add esp, 8
mov esi, dword [ebp - 0xe4]
test esi, esi
js 0x4570b6
mov ebx, dword [ebp - 0xe8]
push dword [ebp - 0xe0]
mov dword [ebp - 0xc8], 0
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0x14], 0
call fcn.00454950
mov ecx, dword [ebp - 0xcc]
add esp, 8
mov eax, dword [ebx]
mov dword [ebx + 4], eax
test ecx, ecx
je 0x4570a2
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0xc8]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x45709c
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xdc]
push 0
push 0
push edx
mov edx, dword [ebp - 0xec]
mov ecx, dword [eax]
push 0
push dword [edx*4 + 0x59ca30]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0xdc]
mov edx, str.get_value_ret
lea ecx, [ebp - 0xc4]
push eax
call fcn.00450060
mov ecx, eax
call fcn.0044c5f0
mov edx, str.__vt
mov ecx, eax
call fcn.00450060
mov ecx, eax
call fcn.00453310
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc4]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x456f40
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x456f91
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x456f88
test cl, 0x1f
jne 0x457097
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x457097
sub ecx, eax
cmp ecx, 4
jb 0x457097
cmp ecx, 0x23
ja 0x457097
mov ecx, eax
push ecx
call fcn.0051421e
add esp, 4
cmp word [ebp - 0xdc], 8
jne 0x45705d
mov edx, dword [ebp - 0xd4]
test edx, edx
je 0x45705d
xor eax, eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
cmp word [edx], ax
je 0x456fe3
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456fd4
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x108]
call fcn.0045aa60
lea edx, [ebp - 0x108]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00456b90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x457024
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.0045ac60
xor eax, eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
cmp dword [ebp - 0x1c], eax
je 0x457051
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0045a8e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0044b890
lea eax, [ebp - 0xdc]
push eax
call edi
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xcc]
test ecx, ecx
jne 0x456ea6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xf0]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x457122
call fcn.0051a14c
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xf0]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x457122
mov edx, str.Query_for_operating_system_name_failed._Error_code__0x
lea ecx, [ebp - 0xc4]
call fcn.00450060
mov edx, eax
test edx, edx
jne 0x4570d0
xor ecx, ecx
jmp 0x4570d7
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 esi
call fcn.0044c5f0
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xc4]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x457113
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
lea ecx, [ebp - 0x2c]
call fcn.0044b890
lea ecx, [ebp - 0x74]
call fcn.0044bb00
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 8
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.00513411
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514739
mov esp, ebp
pop ebp
ret 8