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

Disassembly:
push 0xffffffffffffffff
push 0x576fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
xor ebx, ebx
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ebx
movzx eax, byte [esi + 0xf]
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push ecx
movzx ecx, byte [esi + 0xb]
push edx
movzx edx, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push ecx
movzx ecx, byte [esi + 8]
push edx
movzx edx, word [esi + 6]
push eax
movzx eax, word [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
push 0x5906b8
lea edi, [esp + 0x54]
call fcn.00410c00
mov edx, dword [0x5e736c]
mov eax, dword [edx + 0xc]
add esp, 0x30
mov ecx, 0x5e736c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x24]
push ecx
push str.SELECT__FROM_Win32_NetworkAdapterConfiguration_WHERE_SettingID____s_
lea edi, [esp + 0x28]
call fcn.00410c00
add esp, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x48], 3
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x20]
mov esi, dword [edx + 8]
lea eax, [esp + 0x50]
push eax
call fcn.0050b6d0
mov byte [esp + 0x48], 4
mov eax, dword [eax]
cmp eax, ebx
je 0x50c1a0
mov eax, dword [eax]
jmp 0x50c1a2
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x30
push eax
mov eax, dword [ecx + 0x50]
push 0x5a9000
push esi
call eax
mov edi, eax
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x50c205
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x50c201
cmp esi, ebx
je 0x50c201
mov eax, dword [esi]
cmp eax, ebx
je 0x50c1e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x50c1f8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], ebx
cmp edi, ebx
jge 0x50c211
push edi
push str.KWMIResetIP::GetObjectPath:_ExecQuery_Error:_d
jmp 0x50c27a
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x50c274
cmp dword [esp + 0x28], 1
jne 0x50c274
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push ebx
push str.__RELPATH
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jge 0x50c25f
push eax
push str.KWMIResetIP::GetObjectPath:_Get___RELPATH_Error:_d
jmp 0x50c27a
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x54]
push ecx
call fcn.0050b7c0
mov ebp, 1
jmp 0x50c287
push eax
push str.KWMIResetIP::GetObjectPath:_Next_Error:_d
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 8
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x50c29c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x50c2b1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50c2d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50c2fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8