Function at 0x4a5788
Capabilities:
Check for time delay via gettickcount
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548dff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x285c
call fcn.004318e0
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
mov edi, ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0xc
ja 0x4a59c9
test cl, bh
loope 0x4a580e
push cs
push ecx
imul ebx, dword ss:[ebx + 0x58], 0xc5d3e92
nop
inc ecx
movsb byte es:[edi], byte [esi]
xchg byte [ecx + ecx + 0x77], ch
invalid
push esp
lodsb al, byte [esi]
mov al, byte [0xef291c1]
invalid
push 0x270f
lea eax, [esp + 0x15d]
push ebx
push eax
mov byte [esp + 0x164], bl
call fcn.0041b930
add esp, 0xc
mov ecx, esi
push ebx
push 0x553e58
call fcn.004027ea
mov eax, edi
cdq
push edx
push eax
lea ecx, [esp + 0x64]
call fcn.00401212
pop ecx
pop ecx
push eax
sub esp, 0x18
mov ecx, esp
push str.A9G_K:QQQENH_86
mov dword [esp + 0x2894], ebx
call fcn.004018f6
push 0x519
push 0x11
push ecx
mov edx, 0x93
lea ecx, [esp + 0x6c]
call fcn.004aeee4
add esp, 0x24
mov edx, eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2878], 1
call fcn.004033e1
pop ecx
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.004023ba
push ebx
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x287c], 4
call fcn.004023ba
push 6
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4a603e
cmp byte [0x57647d], 0
jne 0x4a5a9c
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov byte [0x57647d], 1
test eax, eax
js 0x4a6038
lea eax, [esp + 0x14]
push eax
push 0x553c60
push 1
push ebx
push 0x553d30
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4a6038
cmp dword [esp + 0x14], 0
je 0x4a6038
sub esp, 0x18
mov ecx, esp
push 0x55aaf0
mov dword [esp + 0x34], ebx
call fcn.004018f6
push 0x301
push 0xa
push ecx
push 0x14
pop edx
lea ecx, [esp + 0xbc]
call fcn.004aeee4
add esp, 0x24
mov byte [esp + 0x2874], 5
cmp dword [esp + 0xac], 8
lea ecx, [esp + 0x98]
cmovae ecx, dword [esp + 0x98]
call fcn.004a550b
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x18]
mov edx, dword [ecx]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
js 0x4a5b67
cmp dword [esp + 0x18], 0
je 0x4a5b67
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esp + 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4a5b8c
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
push 1
lea ecx, [esp + 0xa0]
call fcn.004023ba
jmp 0x4a603e
sub esp, 0x18
cmp byte [ebp + 8], 0
mov dword [esp + 0x38], ebx
mov ecx, esp
je 0x4a5bc4
push str.I_eqnl_v_.RQc_3c2_6_rdkdbs_
call fcn.004018f6
push 0x8f5
push 0x1d
push ecx
push 0x5e
pop edx
lea ecx, [esp + 0x164]
call fcn.004aeee4
add esp, 0x24
xor ebx, ebx
inc ebx
jmp 0x4a5beb
push str.VHOHFW_IURPZlq65bSkvlfdoPhgld
call fcn.004018f6
push 0xa8d
push 0x21
push ecx
push 0x42
pop edx
lea ecx, [esp + 0x134]
call fcn.004aeee4
add esp, 0x24
push 2
pop ebx
push eax
lea ecx, [esp + 0xcc]
mov dword [esp + 0x10], ebx
call fcn.0040191b
mov dword [esp + 0x2874], 7
test bl, 2
je 0x4a5c23
push 0
and ebx, 0xfffffffd
push 1
lea ecx, [esp + 0x118]
mov dword [esp + 0x14], ebx
call fcn.004023ba
mov byte [esp + 0x2874], 8
test bl, 1
je 0x4a5c47
push 0
and ebx, 0xfffffffe
push 1
lea ecx, [esp + 0x148]
mov dword [esp + 0x14], ebx
call fcn.004023ba
cmp dword [esp + 0xdc], 8
lea ecx, [esp + 0xc8]
cmovae ecx, dword [esp + 0xc8]
call fcn.004a550b
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x20]
mov edx, dword [ecx]
push edi
push 0
push 0x30
push eax
push 0x55abbc
push ecx
call dword [edx + 0x50]
test eax, eax
js 0x4a6007
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a6007
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], al
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x28], 0
je 0x4a5fc6
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4a5fc6
xor eax, eax
cmp byte [ebp + 8], 0
push eax
push eax
mov dword [esp + 0x88], eax
mov ecx, dword [edx]
lea eax, [esp + 0x80]
push eax
push 0
mov eax, str.Name
mov dword [esp + 0x2c], 0x55abe0
cmove eax, dword [esp + 0x2c]
push eax
push edx
call dword [ecx + 0x10]
test eax, eax
js 0x4a5fa0
mov edx, dword [esp + 0x80]
test edx, edx
je 0x4a5d2e
push ecx
mov ecx, esp
call fcn.004a6065
lea ecx, [esp + 0xe4]
call fcn.004a630a
pop ecx
or ebx, 4
jmp 0x4a5d58
and dword [esp + 0x6c], 0
xor eax, eax
push eax
push 0x553ec0
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], 7
mov word [esp + 0x64], ax
call fcn.00402a1d
lea eax, [esp + 0x5c]
or ebx, 8
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call fcn.0040191b
mov dword [esp + 0x2874], 0xa
test bl, 8
je 0x4a5d8a
push 0
and ebx, 0xfffffff7
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], ebx
call fcn.004023ba
mov byte [esp + 0x2874], 0xb
test bl, 4
je 0x4a5dae
push 0
and ebx, 0xfffffffb
push 1
lea ecx, [esp + 0xe8]
mov dword [esp + 0x14], ebx
call fcn.004023ba
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmovae ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
lea eax, [ecx + eax*2]
push edx
lea ecx, [esp + 0x30]
cmovae ecx, dword [esp + 0x30]
push eax
push ecx
mov edx, fcn.0041be3c
lea ecx, [esp + 0x80]
call fcn.00403922
add esp, 0xc
cmp dword [esp + 0xc4], 8
lea ecx, [esp + 0xb0]
cmovae ecx, dword [esp + 0xb0]
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push ecx
push eax
call fcn.0041c1ec
pop ecx
pop ecx
test eax, eax
jne 0x4a5f8b
mov eax, dword [esp + 0x24]
xor edx, edx
push edx
push edx
mov dword [esp + 0x98], edx
mov ecx, dword [eax]
lea edx, [esp + 0x90]
push edx
push 0
push str.SerialNumber
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4a5f81
mov edx, dword [esp + 0x90]
test edx, edx
je 0x4a5e73
push ecx
mov ecx, esp
call fcn.004a6065
lea ecx, [esp + 0x12c]
call fcn.004a630a
pop ecx
or ebx, 0x10
jmp 0x4a5e9d
and dword [esp + 0x54], 0
xor eax, eax
push eax
push 0x553ec0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
call fcn.00402a1d
lea eax, [esp + 0x44]
or ebx, 0x20
push eax
lea ecx, [esp + 0xfc]
mov dword [esp + 0x10], ebx
call fcn.0040191b
mov dword [esp + 0x2874], 0xd
test bl, 0x20
je 0x4a5ed2
push 0
and ebx, 0xffffffdf
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
call fcn.004023ba
mov byte [esp + 0x2874], 0xe
test bl, 0x10
je 0x4a5ef6
push 0
and ebx, 0xffffffef
push 1
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], ebx
call fcn.004023ba
call fcn.004ae8cf
lea edx, [esp + 0xf8]
lea ecx, [esp + 0xe0]
call fcn.004ae369
push eax
mov ecx, esi
call fcn.00401847
lea ecx, [esp + 0xe0]
call fcn.0040187f
cmp dword [esi + 0x14], 0x10
jb 0x4a5f2c
mov ecx, dword [esi]
jmp 0x4a5f2e
mov ecx, esi
push ecx
lea eax, [esp + 0x15c]
push eax
push ecx
call fcn.004a6a42
add esp, 0xc
cmp byte [esp + 0x158], 0
jne 0x4a5f4e
xor eax, eax
jmp 0x4a5f5c
lea eax, [esp + 0x158]
push eax
call fcn.0041b210
pop ecx
push eax
lea eax, [esp + 0x15c]
push eax
mov ecx, esi
call fcn.004027ea
push 0
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x1b], 1
call fcn.004023ba
lea eax, [esp + 0x88]
push eax
call edi
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x287c], 8
call fcn.004023ba
lea eax, [esp + 0x78]
push eax
call edi
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [esp + 0x13], 0
jne 0x4a5fc6
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4a5ca4
jmp 0x4a5fca
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4a5fdc
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4a5fee
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a5ff8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esi + 0x10], 0
setne bl
jmp 0x4a6023
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
push 0
push 1
lea ecx, [esp + 0xd0]
call fcn.004023ba
jmp 0x4a5b77
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
push 1
lea ecx, [esp + 0xb8]
call fcn.004023ba
mov ecx, dword [esp + 0x286c]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret