Function at 0x409a60
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x43a790]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov eax, ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0
push esi
push edi
test eax, eax
js 0x409dba
cmp eax, 0xe
jae 0x409dba
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.ole32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.CoInitialize
push esi
call ebx
push str.CoInitializeSecurity
push esi
mov dword [ebp - 0x24], eax
call ebx
push str.CoCreateInstance
push esi
mov dword [ebp - 0x30], eax
call ebx
push str.CoSetProxyBlanket
push esi
mov dword [ebp - 0x4c], eax
call ebx
push str.CoUninitialize
push esi
mov dword [ebp - 0x54], eax
call ebx
push str.Oleaut32.dll
mov dword [ebp - 0x48], eax
call edi
mov esi, eax
push str.VariantClear
push esi
call ebx
push str.VariantInit
push esi
mov dword [ebp - 0x64], eax
call ebx
push 0
mov dword [ebp - 0x60], eax
call dword [ebp - 0x24]
test eax, eax
js 0x409bec
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [ebp - 0x30]
cmp eax, 0x80010119
je 0x409b2f
test eax, eax
js 0x409be9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x435f48
push 1
push 0
push 0x436018
call dword [ebp - 0x4c]
test eax, eax
js 0x409be9
xor eax, eax
mov dword [ebp - 0x20], 0x4f0052
mov word [ebp - 0xc], ax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 0x54004f
mov dword [ebp - 0x18], 0x43005c
mov dword [ebp - 0x14], 0x4d0049
mov dword [ebp - 0x10], 0x320056
call fcn.00409540
mov edx, dword [eax]
test edx, edx
je 0x409b95
mov edx, dword [edx]
jmp 0x409b97
xor edx, edx
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x2c]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.004095f0
test esi, esi
js 0x409be0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x2c]
call dword [ebp - 0x54]
test eax, eax
jns 0x409c02
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [ebp - 0x48]
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041103f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push dword [eax*8 + 0x4366d0]
call fcn.004094a0
mov eax, dword [eax]
test eax, eax
je 0x409c25
mov esi, dword [eax]
jmp 0x409c27
xor esi, esi
push 0x43702c
lea ecx, [ebp - 0x54]
call fcn.004094a0
mov eax, dword [eax]
test eax, eax
je 0x409c3e
mov edx, dword [eax]
jmp 0x409c40
xor edx, edx
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x34]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.004095f0
lea ecx, [ebp - 0x4c]
call fcn.004095f0
test esi, esi
jns 0x409c94
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [ebp - 0x48]
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041103f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x409d89
mov edi, dword [ebp - 0x5c]
mov esi, edi
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
test edi, edi
je 0x409cc2
cmp ebx, 1
jge 0x409d7f
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x30]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x409d7c
test edi, edi
je 0x409d58
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 0x60]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x44]
push 0
push 0
push edx
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
push 0
push dword [edx*8 + 0x4366d4]
push eax
call dword [ecx + 0x10]
mov edi, dword [ebp - 0x3c]
mov edx, 0x400
mov eax, esi
sub edi, esi
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x409d30
movzx ecx, word [edi + eax]
test cx, cx
je 0x409d30
mov word [eax], cx
add eax, 2
dec edx
jne 0x409d12
jmp 0x409d34
test edx, edx
jne 0x409d37
sub eax, 2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x58]
mov edx, esi
call fcn.004099d0
mov edi, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x409d62
inc ebx
add esi, 0x800
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x409d6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x409ca4
jmp 0x409d89
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x409d89
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x409d96
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x409da3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041103f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041103f
mov esp, ebp
pop ebp
ret