Function at 0x5df55c
Capabilities:
Print debug messages
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x5df565
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5dfe43
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, edi
call fcn.00405b70
test eax, eax
je 0x5dfd01
mov eax, dword [ebp - 8]
call fcn.00405b70
test eax, eax
je 0x5dfd01
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.0040956c
cmp dword [ebp - 0x7c], 0
je 0x5dfd01
lea eax, [ebp - 0x58]
call fcn.004128e4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x54aa44]
call fcn.0054acac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5dfcfa
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5dfcc3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5dfe60
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0054ad0c
push 0x5dfe80
push dword [ebp - 4]
push 0x5dfecc
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404904
lea eax, [ebp - 0x18]
call fcn.00406538
push eax
push 0
push 0x10
push 0x5dfed4
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x3c]
call fcn.00404e58
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
call fcn.00406648
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406648
cmp dword [ebp - 0x84], 1
je 0x5df697
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403f9c
jmp 0x5dfd01
lea eax, [ebp - 0x88]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406648
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x30]
mov ecx, 0x5dfedc
call fcn.0040657c
jmp 0x5dfc9e
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x58]
call fcn.00416c78
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x1c]
mov ecx, 0x5dfeec
call fcn.0040657c
lea eax, [ebp - 0x34]
call fcn.00406538
push eax
push 0
push 0x5dff00
lea eax, [ebp - 0x90]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00406648
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x24]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406648
lea eax, [ebp - 0x20]
call fcn.00406538
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406648
lea eax, [ebp - 0x38]
call fcn.00406538
push eax
push 0
push 0xffffffffffffffff
push 8
push 0x5dff20
lea eax, [ebp - 0x94]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406648
lea eax, [ebp - 0x78]
mov ecx, dword [0x549d04]
mov edx, edi
call fcn.00419798
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x78]
call fcn.0041720c
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x38]
call fcn.00406538
push eax
push 0
push 0xffffffffffffffff
push 8
push 0x5dff38
lea eax, [ebp - 0x98]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406648
lea eax, [ebp - 0x78]
mov ecx, dword [0x549d04]
mov edx, dword [ebp - 8]
call fcn.00419798
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x78]
call fcn.0041720c
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x28]
call fcn.00406538
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x5dff00
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.00406648
lea eax, [ebp - 0x2c]
call fcn.00406538
push eax
push 0
push 0x5dff54
lea eax, [ebp - 0x9c]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0xac]
call fcn.004128f8
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406648
lea eax, [ebp - 0xac]
call fcn.00413618
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x5dfae9
mov eax, ebx
call fcn.00405b70
test eax, eax
jle 0x5dfae9
push 1
lea eax, [ebp - 0x44]
mov ecx, 1
mov edx, dword [0x549d7c]
call fcn.00405d2c
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [eax], 1
lea eax, [ebp - 0x34]
call fcn.00406538
push eax
push 0
push 0x5dff70
lea eax, [ebp - 0xb0]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00406648
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x24]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406648
lea eax, [ebp - 0x20]
call fcn.00406538
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406648
lea eax, [ebp - 0x38]
call fcn.00406538
push eax
push 0
push 0xffffffffffffffff
push 8
push 0x5dff8c
lea eax, [ebp - 0xb4]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0xb4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406648
lea eax, [ebp - 0x78]
mov ecx, dword [0x549d04]
mov edx, ebx
call fcn.00419798
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x78]
call fcn.0041720c
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x38]
call fcn.00406538
push eax
push 0
push 0xffffffffffffffff
push 0x12
push 0x5dffb4
lea eax, [ebp - 0xb8]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0xb8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406648
lea eax, [ebp - 0x78]
mov ecx, dword [0x549d7c]
mov edx, dword [ebp - 0x44]
call fcn.00419798
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x78]
call fcn.0041720c
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x28]
call fcn.00406538
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x5dff70
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.00406648
lea eax, [ebp - 0x2c]
call fcn.00406538
push eax
push 0
push 0x5dff54
lea eax, [ebp - 0xbc]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0xcc]
call fcn.004128f8
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406648
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xdc]
mov edx, 0xffffffff
mov cl, 0xff
call fcn.00416e4c
lea edx, [ebp - 0xdc]
pop eax
call fcn.0041abb8
je 0x5dfadf
push 0x5dffd8
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5dfae9
push 0x5dfff4
call sub.kernel32.dll_OutputDebugStringA
cmp dword [esi], 0
je 0x5dfc7f
lea eax, [ebp - 0x34]
call fcn.00406538
push eax
push 0
push 0x5e0014
lea eax, [ebp - 0xe0]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x70]
call fcn.00406648
mov eax, dword [ebp - 0xe0]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x24]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00406648
lea eax, [ebp - 0x20]
call fcn.00406538
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00406648
lea eax, [ebp - 0x38]
call fcn.00406538
push eax
push 0
push 0xffffffffffffffff
push 8
push 0x5e0048
lea eax, [ebp - 0xe4]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0xe4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00406648
lea eax, [ebp - 0x78]
mov ecx, dword [0x549d04]
mov edx, esi
call fcn.00419798
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x78]
call fcn.0041720c
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0x28]
call fcn.00406538
push eax
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0x5e0014
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.00406648
lea eax, [ebp - 0x2c]
call fcn.00406538
push eax
push 0
push 0x5dff54
lea eax, [ebp - 0xe8]
call fcn.00406538
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x6c]
call fcn.00406648
mov eax, dword [ebp - 0xe8]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406648
lea eax, [ebp - 0xf8]
call fcn.004128f8
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406648
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x108]
mov edx, 0xffffffff
mov cl, 0xff
call fcn.00416e4c
lea edx, [ebp - 0x108]
pop eax
call fcn.0041abb8
je 0x5dfc75
push 0x5e0074
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5dfc7f
push 0x5e008c
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x58]
call fcn.004128e4
lea eax, [ebp - 0x68]
call fcn.004128e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403f9c
jmp 0x5dfd01
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
push 1
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x5df6c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5dfce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfd01
mov eax, dword [ebp - 0x10]
call fcn.004036a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dfe4d
lea eax, [ebp - 0x108]
mov edx, dword [0x401148]
mov ecx, 2
call fcn.00405230
lea eax, [ebp - 0xe8]
mov edx, dword [0x54a9c0]
mov ecx, 2
call fcn.00405230
lea eax, [ebp - 0xe0]
call fcn.00406538
lea eax, [ebp - 0xdc]
mov edx, dword [0x401148]
mov ecx, 2
call fcn.00405230
lea eax, [ebp - 0xbc]
mov edx, dword [0x54a9c0]
mov ecx, 3
call fcn.00405230
lea eax, [ebp - 0xb0]
call fcn.00406538
lea eax, [ebp - 0xac]
call fcn.004128f8
lea eax, [ebp - 0x9c]
mov edx, dword [0x54a9c0]
mov ecx, 3
call fcn.00405230
lea eax, [ebp - 0x90]
call fcn.00406538
lea eax, [ebp - 0x8c]
mov edx, dword [0x4011cc]
mov ecx, 2
call fcn.00405230
lea eax, [ebp - 0x80]
call fcn.00404c90
lea eax, [ebp - 0x7c]
call fcn.00404574
lea eax, [ebp - 0x78]
call fcn.004128f8
lea eax, [ebp - 0x68]
mov edx, dword [0x401148]
mov ecx, 2
call fcn.00405230
lea eax, [ebp - 0x44]
mov edx, dword [0x549d7c]
call fcn.00405e4c
lea eax, [ebp - 0x3c]
call fcn.00404574
lea eax, [ebp - 0x38]
call fcn.00406538
lea eax, [ebp - 0x34]
call fcn.00406538
lea eax, [ebp - 0x30]
call fcn.00406538
lea eax, [ebp - 0x2c]
call fcn.00406538
lea eax, [ebp - 0x28]
mov edx, dword [0x54a980]
mov ecx, 4
call fcn.00405230
lea eax, [ebp - 0x18]
call fcn.00406538
lea eax, [ebp - 0x14]
call fcn.00406538
ret