Function at 0x1016356
Capabilities:
Contain obfuscated stackstrings
Create new key via cryptacquirecontext
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1020128]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x124], esi
mov word [ebp - 0x118], 0x41
mov word [ebp - 0x116], 0x42
mov word [ebp - 0x114], 0x43
mov word [ebp - 0x112], 0x44
mov word [ebp - 0x110], 0x45
mov word [ebp - 0x10e], 0x46
mov word [ebp - 0x10c], 0x47
mov word [ebp - 0x10a], 0x48
mov word [ebp - 0x108], 0x49
mov word [ebp - 0x106], 0x4a
mov word [ebp - 0x104], 0x4b
mov word [ebp - 0x102], 0x4c
mov word [ebp - 0x100], 0x4d
mov word [ebp - 0xfe], 0x4e
mov word [ebp - 0xfc], 0x4f
mov word [ebp - 0xfa], 0x50
mov word [ebp - 0xf8], 0x51
mov word [ebp - 0xf6], 0x52
mov word [ebp - 0xf4], 0x53
mov word [ebp - 0xf2], 0x54
mov word [ebp - 0xf0], 0x55
mov word [ebp - 0xee], 0x56
mov word [ebp - 0xec], 0x57
mov word [ebp - 0xea], 0x58
mov word [ebp - 0xe8], 0x59
mov word [ebp - 0xe6], 0x5a
mov word [ebp - 0xe4], 0x61
mov word [ebp - 0xe2], 0x62
mov word [ebp - 0xe0], 0x63
mov word [ebp - 0xde], 0x64
mov word [ebp - 0xdc], 0x65
mov word [ebp - 0xda], 0x66
mov word [ebp - 0xd8], 0x67
mov word [ebp - 0xd6], 0x68
mov word [ebp - 0xd4], 0x69
mov word [ebp - 0xd2], 0x6a
mov word [ebp - 0xd0], 0x6b
mov word [ebp - 0xce], 0x6c
mov word [ebp - 0xcc], 0x6d
mov word [ebp - 0xca], 0x6e
mov word [ebp - 0xc8], 0x6f
mov word [ebp - 0xc6], 0x70
mov word [ebp - 0xc4], 0x71
mov word [ebp - 0xc2], 0x72
mov word [ebp - 0xc0], 0x73
mov word [ebp - 0xbe], 0x74
mov word [ebp - 0xbc], 0x75
mov word [ebp - 0xba], 0x76
mov word [ebp - 0xb8], 0x77
mov word [ebp - 0xb6], 0x78
mov word [ebp - 0xb4], 0x79
mov word [ebp - 0xb2], 0x7a
mov word [ebp - 0xb0], 0x30
mov word [ebp - 0xae], 0x31
mov word [ebp - 0xac], 0x32
mov word [ebp - 0xaa], 0x33
mov word [ebp - 0xa8], 0x34
mov word [ebp - 0xa6], 0x35
mov word [ebp - 0xa4], 0x36
mov word [ebp - 0xa2], 0x37
mov word [ebp - 0xa0], 0x38
mov word [ebp - 0x9e], 0x39
mov word [ebp - 0x9c], 0x2a
mov word [ebp - 0x9a], 0x5f
mov word [ebp - 0x30], 0x21
mov word [ebp - 0x2e], 0x40
mov word [ebp - 0x2c], 0x23
mov word [ebp - 0x2a], 0x24
mov word [ebp - 0x28], 0x5e
mov word [ebp - 0x26], 0x26
mov word [ebp - 0x24], 0x2a
mov word [ebp - 0x22], 0x28
mov word [ebp - 0x20], 0x29
push 0xf0000000
push 1
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
mov word [ebp - 0x1e], 0x2d
mov word [ebp - 0x1c], 0x2b
mov word [ebp - 0x1a], 0x3d
mov word [ebp - 0x18], 0x30
mov word [ebp - 0x16], 0x31
mov word [ebp - 0x14], 0x32
mov word [ebp - 0x12], 0x33
mov word [ebp - 0x10], 0x34
mov word [ebp - 0xe], 0x35
mov word [ebp - 0xc], 0x36
mov word [ebp - 0xa], 0x37
mov word [ebp - 8], 0x38
mov word [ebp - 6], 0x39
mov word [ebp - 0x64], 0x41
mov word [ebp - 0x62], 0x42
mov word [ebp - 0x60], 0x43
mov word [ebp - 0x5e], 0x44
mov word [ebp - 0x5c], 0x45
mov word [ebp - 0x5a], 0x46
mov word [ebp - 0x58], 0x47
mov word [ebp - 0x56], 0x48
mov word [ebp - 0x54], 0x49
mov word [ebp - 0x52], 0x4a
mov word [ebp - 0x50], 0x4b
mov word [ebp - 0x4e], 0x4c
mov word [ebp - 0x4c], 0x4d
mov word [ebp - 0x4a], 0x4e
mov word [ebp - 0x48], 0x4f
mov word [ebp - 0x46], 0x50
mov word [ebp - 0x44], 0x51
mov word [ebp - 0x42], 0x52
mov word [ebp - 0x40], 0x53
mov word [ebp - 0x3e], 0x54
mov word [ebp - 0x3c], 0x55
mov word [ebp - 0x3a], 0x56
mov word [ebp - 0x38], 0x57
mov word [ebp - 0x36], 0x58
mov word [ebp - 0x34], 0x59
mov word [ebp - 0x32], 0x5a
mov word [ebp - 0x98], 0x61
mov word [ebp - 0x96], 0x62
mov word [ebp - 0x94], 0x63
mov word [ebp - 0x92], 0x64
mov word [ebp - 0x90], 0x65
mov word [ebp - 0x8e], 0x66
mov word [ebp - 0x8c], 0x67
mov word [ebp - 0x8a], 0x68
mov word [ebp - 0x88], 0x69
mov word [ebp - 0x86], 0x6a
mov word [ebp - 0x84], 0x6b
mov word [ebp - 0x82], 0x6c
mov word [ebp - 0x80], 0x6d
mov word [ebp - 0x7e], 0x6e
mov word [ebp - 0x7c], 0x6f
mov word [ebp - 0x7a], 0x70
mov word [ebp - 0x78], 0x71
mov word [ebp - 0x76], 0x72
mov word [ebp - 0x74], 0x73
mov word [ebp - 0x72], 0x74
mov word [ebp - 0x70], 0x75
mov word [ebp - 0x6e], 0x76
mov word [ebp - 0x6c], 0x77
mov word [ebp - 0x6a], 0x78
mov word [ebp - 0x68], 0x79
mov word [ebp - 0x66], 0x7a
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10167c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
jmp 0x10169a6
lea eax, [ebp - 0x118]
push eax
push 0x80
push dword [ebp - 0x11c]
call fcn.0101619b
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
mov dword [ebp - 0x128], esi
cmp dword [ebp - 0x120], esi
jne 0x10169a6
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call fcn.01016163
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x1016835
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x128]
and eax, 0x3f
mov ax, word [ebp + eax*2 - 0x118]
mov word [edi + ecx*2], ax
inc dword [ebp - 0x128]
cmp dword [ebp - 0x128], 0xe
jl 0x10167f2
cmp dword [ebp - 0x120], esi
jne 0x10169a6
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 0x11c]
call fcn.0101619b
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
lea eax, [ebp - 0x18]
push eax
push 0x14
push dword [ebp - 0x11c]
call fcn.0101619b
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
lea eax, [ebp - 0x64]
push eax
push 0x34
push dword [ebp - 0x11c]
call fcn.0101619b
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
lea eax, [ebp - 0x98]
push eax
push 0x34
push dword [ebp - 0x11c]
call fcn.0101619b
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call fcn.01016163
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
mov eax, dword [ebp - 0x124]
push 0xc
pop ecx
xor edx, edx
div ecx
mov ax, word [ebp + edx*2 - 0x30]
mov word [edi + 4], ax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call fcn.01016163
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
mov eax, dword [ebp - 0x124]
push 0xa
pop ecx
xor edx, edx
div ecx
mov ax, word [ebp + edx*2 - 0x18]
mov word [edi + 6], ax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call fcn.01016163
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
mov eax, dword [ebp - 0x124]
push 0x1a
pop ecx
xor edx, edx
div ecx
mov ax, word [ebp + edx*2 - 0x64]
mov word [edi + 8], ax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x11c]
call fcn.01016163
cmp eax, esi
mov dword [ebp - 0x120], eax
jne 0x10169a6
mov eax, dword [ebp - 0x124]
push 0x1a
xor edx, edx
pop ecx
div ecx
mov ax, word [ebp + edx*2 - 0x98]
mov word [edi + 0xa], ax
mov word [edi + 0x1c], si
cmp dword [ebp - 0x11c], esi
je 0x10169bb
push esi
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x120]
pop edi
pop esi
call fcn.01017bb1
leave
ret 4