Function at 0x627492
Capabilities:
Reference sql statements

Disassembly:
push 0x16c
mov eax, 0x6fcd7b
call fcn.00648bbe
mov edi, ecx
mov dword [ebp - 0x15c], edi
xor ebx, ebx
mov dword [ebp - 0x164], edi
mov al, bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x139], al
mov byte [ebp - 0x13a], al
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push eax
push 0x758cb4
push 0x17
push ebx
push 0x71edd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x627511
push 0x136
push str.OSUsersFunctions.cpp
push eax
lea ecx, [ebp - 0x78]
call fcn.006c3db0
push 0x7fc5c0
lea eax, [ebp - 0x78]
push eax
call fcn.00671426
mov esi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x144]
push 0x741504
call fcn.00515bc8
mov dword [ebp - 0x140], eax
push str.root_rsopcomputer
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 3
call fcn.00515bc8
mov ecx, eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x148]
mov eax, dword [esi]
push edx
mov edx, dword [ebp - 0x140]
push ebx
push dword [edx]
push ebx
push ebx
push ebx
push ebx
push dword [ecx]
push esi
call dword [eax + 0xc]
push dword [ebp - 0x150]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x140], eax
call esi
mov byte [ebp - 4], 2
push dword [ebp - 0x144]
call esi
mov eax, dword [ebp - 0x140]
test eax, eax
jns 0x6275b3
push 0x137
push str.OSUsersFunctions.cpp
push eax
lea ecx, [ebp - 0xd8]
call fcn.006c3db0
push 0x7fc5c0
lea eax, [ebp - 0xd8]
jmp 0x62750b
mov esi, dword [ebp - 0x148]
lea ecx, [ebp - 0x150]
push str.SELECT__FROM_RSOP_SecuritySettingBoolean_WHERE_KeyNameLSAAnonymousNameLookup
mov dword [ebp - 0x154], ebx
call fcn.005a4503
mov dword [ebp - 0x144], eax
push 0x758c34
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 5
call fcn.005a4503
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x144]
mov ecx, dword [ecx]
test ecx, ecx
je 0x6275fd
mov edx, dword [ecx]
jmp 0x6275ff
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x627609
mov ecx, dword [eax]
jmp 0x62760b
mov ecx, ebx
mov eax, dword [esi]
lea edi, [ebp - 0x154]
push edi
push ebx
push 0x30
push edx
push ecx
push esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x140]
mov esi, eax
mov edi, dword [ebp - 0x15c]
test ecx, ecx
je 0x62763a
call fcn.005a4575
mov dword [ebp - 0x140], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x62764d
call fcn.005a4575
test esi, esi
je 0x627677
push esi
push 0x13d
push str.OSUsersFunctions.cpp
lea ecx, [ebp - 0x138]
call fcn.006c3cf0
push 0x7fc4ec
lea eax, [ebp - 0x138]
jmp 0x62750b
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ebx
test ecx, ecx
je 0x627718
mov eax, dword [ecx]
lea edx, [ebp - 0x158]
push edx
lea edx, [ebp - 0x160]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x158], 0
je 0x627718
xor eax, eax
lea edi, [ebp - 0x178]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
push ebx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 0x160]
push edx
push ebx
push str.Setting
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
sub esp, 0x10
lea eax, [ebp - 0x178]
mov ecx, esp
push eax
call fcn.005a44b1
mov edi, dword [ebp - 0x15c]
mov ecx, edi
call fcn.005a368e
add esp, 0x10
mov byte [ebp - 0x139], al
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x62772c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x62773f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0x139]
jmp 0x62778a
or dword [ebp - 4], 0xffffffff
test al, al
jne 0x627799
mov ecx, edi
call fcn.00627261
call fcn.00648b0b
ret