Function at 0x407760
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 0x407aba
cmp eax, 0xe
jae 0x407aba
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x42bfd0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x42bfe4
push esi
call ebx
push str.CoInitializeSecurity
push esi
mov dword [ebp - 0x24], eax
call ebx
push 0x42c00c
push esi
mov dword [ebp - 0x30], eax
call ebx
push str.CoSetProxyBlanket
push esi
mov dword [ebp - 0x4c], eax
call ebx
push 0x42c034
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 0x4078ec
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 0x40782f
test eax, eax
js 0x4078e9
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 0x4078e9
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.00407240
mov edx, dword [eax]
test edx, edx
je 0x407895
mov edx, dword [edx]
jmp 0x407897
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.004072f0
test esi, esi
js 0x4078e0
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 0x407902
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.00409240
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push dword [eax*8 + 0x42b7c0]
call fcn.004071a0
mov eax, dword [eax]
test eax, eax
je 0x407925
mov esi, dword [eax]
jmp 0x407927
xor esi, esi
push 0x42c07c
lea ecx, [ebp - 0x54]
call fcn.004071a0
mov eax, dword [eax]
test eax, eax
je 0x40793e
mov edx, dword [eax]
jmp 0x407940
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.004072f0
lea ecx, [ebp - 0x4c]
call fcn.004072f0
test esi, esi
jns 0x407994
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.00409240
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x407a89
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 0x4079c2
cmp ebx, 1
jge 0x407a7f
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 0x407a7c
test edi, edi
je 0x407a58
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 + 0x42b7c4]
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 0x407a30
movzx ecx, word [edi + eax]
test cx, cx
je 0x407a30
mov word [eax], cx
add eax, 2
dec edx
jne 0x407a12
jmp 0x407a34
test edx, edx
jne 0x407a37
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.004076d0
mov edi, dword [ebp - 0x5c]
add esp, 4
test eax, eax
je 0x407a62
inc ebx
add esi, 0x800
mov dword [ebp - 0x50], ebx
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x407a6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x4079a4
jmp 0x407a89
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x407a89
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x407a96
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x407aa3
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.00409240
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.00409240
mov esp, ebp
pop ebp
ret