Function at 0x100795c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079a24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xcc
push ebx
xor eax, eax
mov dword [ebp - 0x48], ecx
push esi
push edi
mov dword [ebp - 4], 0
lea edi, [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x74], 0
movaps xmm0, xmmword [0x1008b800]
push ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
cpuid
mov esi, ebx
movups xmmword [ebp - 0x24], xmm0
pop ebx
mov dword [edi], eax
xorps xmm0, xmm0
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
xor edi, edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x1c]
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x8c], eax
mov eax, edi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x28], ebx
pop ebx
lea esi, [ebp - 0x24]
mov dword [esi], eax
lea eax, [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 1
jne 0x100796e3
mov eax, dword [ebp - 0x24]
mov ecx, eax
sar ecx, 4
and ecx, 0xf
mov dword [ebp - 0x44], ecx
mov ecx, eax
sar ecx, 8
and ecx, 0xf
mov dword [ebp - 0x40], ecx
mov ecx, eax
sar ecx, 0xc
and ecx, 3
mov dword [ebp - 0x3c], ecx
mov ecx, eax
sar eax, 0x14
movzx eax, al
sar ecx, 0x10
and ecx, 0xf
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
movzx ecx, al
sar eax, 8
movzx eax, al
shl eax, 3
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
inc edi
cmp edi, dword [ebp - 0x14]
jbe 0x10079672
mov eax, SysReAllocString
lea edi, [ebp - 0x24]
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0xd8]
mov dword [edi + 4], esi
push 0x40
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov edi, dword [ebp - 0x24]
push 0
push eax
mov dword [ebp - 0x28], edi
call fcn.1002b830
mov esi, SysReAllocString
add esp, 0xc
cmp edi, esi
jb 0x10079788
mov eax, esi
xor ecx, ecx
push ebx
cpuid
mov dword [ebp - 0x14], ebx
pop ebx
lea edi, [ebp - 0x24]
mov dword [edi], eax
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x1007975a
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0xd8], xmm0
jmp 0x10079782
cmp esi, 0x80000003
jne 0x1007976f
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0xc8], xmm0
jmp 0x10079782
cmp esi, 0x80000004
jne 0x10079782
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebp - 0xb8], xmm0
inc esi
cmp esi, dword [ebp - 0x28]
jbe 0x10079726
call fcn.10001d70
mov ecx, eax
test ecx, ecx
jne 0x1007979d
push 0x80004005
call fcn.10001310
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x100797b2
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x100797b4
call edx
mov ecx, dword [ebp - 0x48]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
mov esi, 0x64
mov dword [ebp - 0x74], 1
xor eax, eax
mov dword [ebp - 0x50], 0x640025
mov dword [ebp - 0x58], 0x640025
mov dword [ebp - 0x70], 0x730025
lea edx, [esi - 0x3f]
mov dword [ebp - 0x54], 0x640025
mov word [ebp - 0x68], dx
lea edx, [ecx + 1]
mov dword [ebp - 0x5c], 0x640025
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x66], 0x250064
mov dword [ebp - 0x60], 0x640025
mov dword [ebp - 0x6c], 0x730025
mov word [ebp - 0x62], si
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079821
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x10079867
lea eax, [esi + esi]
call fcn.100293d0
mov edi, esp
test edi, edi
je 0x10079867
push esi
push edi
xor eax, eax
push 0xffffffffffffffff
mov word [edi], ax
lea eax, [ebp - 0xd8]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x10079869
xor esi, esi
lea ecx, [ebp - 0x94]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10079872
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
cmp eax, 0x3fffffff
jg 0x100798bb
add eax, eax
call fcn.100293d0
mov edi, esp
test edi, edi
je 0x100798bb
push dword [ebp - 0x14]
xor eax, eax
push edi
push 0xffffffffffffffff
mov word [edi], ax
lea eax, [ebp - 0x94]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edi
jmp 0x100798bd
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
push esi
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x70]
push ecx
push eax
push esi
call fcn.100048d0
add esp, 0x2c
mov eax, esi
lea esp, [ebp - 0xe8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret