Function at 0x5134c0
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59672b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov dword [esp + 0x60], ecx
push 9
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x48]
push 0x5ba2b8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.00404a80
mov dword [esp + 0x238], 0
mov eax, dword [0x7e23f4]
test al, 1
jne 0x513586
or eax, 1
mov dword [0x7e23f4], eax
mov byte [esp + 0x238], 1
mov dword [0x7e23f0], 0
call fcn.004c1de0
push 0x59ffb0
call fcn.00565027
add esp, 4
mov byte [esp + 0x238], 0
lea eax, [esp + 0x44]
mov ecx, 0x7e23f0
push eax
call fcn.004c1fa0
mov esi, eax
mov dword [esp + 0x238], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x5135b5
push dword [esp + 0x44]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
test esi, esi
je 0x513c67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5be5f4
push esi
call edi
push 0x5be5c0
push esi
mov ebp, eax
call edi
push 0x5bf2e4
push esi
mov ebx, eax
call edi
mov esi, eax
test ebp, ebp
je 0x513c67
test ebx, ebx
je 0x513c67
test esi, esi
je 0x513c67
lea ecx, [esp + 0x1c]
call fcn.004b90c0
mov dword [esp + 0x238], 2
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call ebx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
push eax
push 0x5a8178
push 1
push 0
push 0x5a8248
call ebp
test eax, eax
js 0x5136ba
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x5136ba
lea edx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5e405c
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x5136b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5136b0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call esi
test eax, eax
mov eax, dword [esp + 0x38]
jns 0x5136df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffe
mov dword [esp + 0x238], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004b9210
mov eax, dword [esp + 0x14]
jmp 0x513c6c
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov ecx, dword [eax]
push edx
push 0
push 0x30
push 0x5beec0
push 0x5be704
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x513722
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffd
jmp 0x5136c2
push 0x5be5d8
lea ecx, [esp + 0x68]
call fcn.00403a70
mov byte [esp + 0x238], 3
lea eax, [esp + 0x64]
push eax
call fcn.004c1f20
mov ecx, eax
call fcn.004c1fa0
mov esi, eax
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x64]
call fcn.00403b40
test esi, esi
jne 0x513781
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffc
jmp 0x5136c2
push 0x5be6e0
push esi
call edi
push 0x5be6ec
push esi
mov ebx, eax
call edi
mov edi, eax
test ebx, ebx
je 0x513c46
test edi, edi
je 0x513c46
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x513c2d
mov ebp, dword [esp + 0x60]
jmp 0x5137c0
lea edx, [esp + 0x60]
mov dword [esp + 0x40], 0
push edx
lea edx, [esp + 0x44]
mov dword [esp + 0x64], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x60], 0
je 0x513c1f
cmp dword [esp + 0x40], 0
je 0x513c1f
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5bef90
push eax
call dword [ecx + 0x10]
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x134], ax
lea eax, [esp + 0x136]
push eax
call fcn.0056cbb0
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x51388a
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x51388a
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
jmp 0x513860
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x51387e
movzx eax, word [esi + ecx]
test ax, ax
je 0x51387e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x513860
jmp 0x513882
test edx, edx
jne 0x513885
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x80]
call fcn.00403a70
mov byte [esp + 0x238], 4
xor eax, eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0x238], 5
push ecx
push 0x5b9ba0
lea ecx, [esp + 0x84]
call fcn.004b2d30
cmp eax, 0xffffffff
je 0x51392a
push eax
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x88]
call fcn.00403c50
mov byte [esp + 0x238], 6
lea ecx, [esp + 0x64]
push eax
call fcn.00403b00
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x20]
call fcn.00403b40
cmp dword [esp + 0x78], 8
lea ecx, [esp + 0x64]
mov edx, 0x5be9d0
cmovae ecx, dword [esp + 0x64]
call fcn.004afc30
test al, al
je 0x51394f
lea ecx, [esp + 0x7c]
call fcn.00403bf0
lea edx, [esp + 0x12c]
push 1
push 0x80
mov ecx, edx
call fcn.00512c00
add esp, 8
test eax, eax
je 0x513be5
inc dword [esp + 0x14]
lea ecx, [esp + 0x94]
call fcn.005104c0
mov byte [esp + 0x238], 7
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xb0]
call fcn.0040bc40
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x11c]
call fcn.00404960
lea ecx, [esp + 0xac]
call fcn.004aff10
cmp dword [esp + 0xbc], 0
je 0x513bd1
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5bf134
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [esp + 0x130]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x513a4f
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x513a4f
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x513a43
movzx eax, word [esi + ecx]
test ax, ax
je 0x513a43
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x513a25
jmp 0x513a47
test edx, edx
jne 0x513a4a
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x18], 0x3a
lea edx, [ecx + 2]
jmp 0x513a70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x513a70
sub ecx, edx
lea eax, [esp + 0x18]
sar ecx, 1
lea edx, [esp + 0x12e]
push eax
lea edx, [edx + ecx*2]
lea ecx, [esp + 0x130]
call fcn.00513ca0
add esp, 4
test eax, eax
je 0x513aa6
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0xc8]
call fcn.0040bc40
lea ecx, [esp + 0xc4]
call fcn.004aff10
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5bf2f8
push eax
call dword [ecx + 0x10]
push 0x100
lea eax, [esp + 0x130]
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
cmp word [esp + 0x44], 8
jne 0x513b4a
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x513b4a
lea ecx, [esp + 0x12c]
mov edx, 0x7f
mov eax, ecx
sub esi, eax
mov edi, edi
lea eax, [edx + 0x7fffff7f]
test eax, eax
je 0x513b3e
movzx eax, word [ecx + esi]
test ax, ax
je 0x513b3e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x513b20
jmp 0x513b42
test edx, edx
jne 0x513b45
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x98]
call fcn.0040bc40
lea ecx, [esp + 0xdc]
call fcn.00403bf0
lea eax, [esp + 0x44]
push eax
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5bf360
push eax
call dword [ecx + 0x10]
cmp word [esp + 0x44], 3
jne 0x513bb3
push dword [esp + 0x4c]
lea eax, [esp + 0xe0]
push 0x5ba1c0
push eax
call fcn.004b0200
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call edi
lea eax, [esp + 0x94]
mov byte [esp + 0xf4], 1
push eax
mov ecx, ebp
call fcn.0050a720
mov byte [esp + 0x238], 5
lea ecx, [esp + 0x94]
call fcn.00506c60
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [esp + 0x238], 4
lea ecx, [esp + 0x64]
call fcn.00403b40
mov byte [esp + 0x238], 2
lea ecx, [esp + 0x7c]
call fcn.00403b40
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x5137c0
jmp 0x513c2d
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x513c2d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5136c2
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x14], 0xfffffffb
jmp 0x5136c2
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00564de8
add esp, 0x228
ret