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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x42e008]
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 0x407b8a
cmp eax, 0xe
jae 0x407b8a
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 0x4079bc
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 0x4078ff
test eax, eax
js 0x4079b9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x4275f4
push 1
push 0
push 0x4276c4
call dword [ebp - 0x4c]
test eax, eax
js 0x4079b9
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.00407310
mov edx, dword [eax]
test edx, edx
je 0x407965
mov edx, dword [edx]
jmp 0x407967
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.004073c0
test esi, esi
js 0x4079b0
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 0x4079d2
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.00409310
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push dword [eax*8 + 0x42b770]
call fcn.00407270
mov eax, dword [eax]
test eax, eax
je 0x4079f5
mov esi, dword [eax]
jmp 0x4079f7
xor esi, esi
push 0x42c02c
lea ecx, [ebp - 0x54]
call fcn.00407270
mov eax, dword [eax]
test eax, eax
je 0x407a0e
mov edx, dword [eax]
jmp 0x407a10
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.004073c0
lea ecx, [ebp - 0x4c]
call fcn.004073c0
test esi, esi
jns 0x407a64
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.00409310
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x407b59
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 0x407a92
cmp ebx, 1
jge 0x407b4f
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 0x407b4c
test edi, edi
je 0x407b28
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 + 0x42b774]
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 0x407b00
movzx ecx, word [edi + eax]
test cx, cx
je 0x407b00
mov word [eax], cx
add eax, 2
dec edx
jne 0x407ae2
jmp 0x407b04
test edx, edx
jne 0x407b07
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.004077a0
mov edi, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x407b32
inc ebx
add esi, 0x800
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x407b3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x407a74
jmp 0x407b59
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x407b59
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x407b66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x407b73
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.00409310
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.00409310
mov esp, ebp
pop ebp
ret