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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4385dc]
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 0x40761a
cmp eax, 0xe
jae 0x40761a
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 0x40744c
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 0x40738f
test eax, eax
js 0x407449
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x430788
push 1
push 0
push 0x430858
call dword [ebp - 0x4c]
test eax, eax
js 0x407449
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.00406da0
mov edx, dword [eax]
test edx, edx
je 0x4073f5
mov edx, dword [edx]
jmp 0x4073f7
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.00406e50
test esi, esi
js 0x407440
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 0x407462
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.0040a9af
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push dword [eax*8 + 0x434490]
call fcn.00406d00
mov eax, dword [eax]
test eax, eax
je 0x407485
mov esi, dword [eax]
jmp 0x407487
xor esi, esi
push 0x434d9c
lea ecx, [ebp - 0x54]
call fcn.00406d00
mov eax, dword [eax]
test eax, eax
je 0x40749e
mov edx, dword [eax]
jmp 0x4074a0
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.00406e50
lea ecx, [ebp - 0x4c]
call fcn.00406e50
test esi, esi
jns 0x4074f4
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.0040a9af
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4075e9
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 0x407522
cmp ebx, 1
jge 0x4075df
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 0x4075dc
test edi, edi
je 0x4075b8
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 + 0x434494]
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 0x407590
movzx ecx, word [edi + eax]
test cx, cx
je 0x407590
mov word [eax], cx
add eax, 2
dec edx
jne 0x407572
jmp 0x407594
test edx, edx
jne 0x407597
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.00407230
mov edi, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x4075c2
inc ebx
add esi, 0x800
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4075cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x407504
jmp 0x4075e9
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4075e9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4075f6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x407603
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.0040a9af
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.0040a9af
mov esp, ebp
pop ebp
ret