Function at 0x100ac220
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1024729e
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x102a8930]
xor eax, esp
mov dword [esp + 0xa80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102a8930]
xor eax, esp
push eax
lea eax, [esp + 0xa9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xab4]
mov ebp, dword [esp + 0xaac]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x28], ecx
cmp eax, ebx
jne 0x100ac295
add ebp, 0x10
push ebp
mov edx, 0x10263358
call fcn.101e5eb0
mov eax, 0x9d1
jmp 0x100ace03
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.C_DestroyObject
push eax
call esi
mov edi, eax
mov dword [esp + 0x24], edi
cmp edi, ebx
jne 0x100ac2d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C_DestroyObject
push 0x102633c8
lea eax, [ebp + 0x10]
call fcn.101e6de0
add esp, 0xc
mov eax, 0x9d0
jmp 0x100ace03
mov edx, dword [ebp + 0xc]
push str.C_GenerateKey
push edx
call esi
mov dword [esp + 0xa8], eax
cmp eax, ebx
jne 0x100ac2f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C_GenerateKey
jmp 0x100ac2b9
mov eax, dword [ebp + 0xc]
push str.C_EncryptInit
push eax
call esi
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x100ac318
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C_EncryptInit
jmp 0x100ac2b9
mov ecx, dword [ebp + 0xc]
push str.C_Encrypt
push ecx
call esi
mov dword [esp + 0xac], eax
cmp eax, ebx
jne 0x100ac33f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C_Encrypt
jmp 0x100ac2b9
mov edx, dword [ebp + 0xc]
push str.C_UnwrapKey
push edx
call esi
mov dword [esp + 0xa4], eax
cmp eax, ebx
jne 0x100ac366
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.C_UnwrapKey
jmp 0x100ac2b9
mov dword [esp + 0x88], ebx
cmp dword [ebp + 0x28], ebx
jne 0x100ac38a
add ebp, 0x10
push ebp
mov edx, str.set_CKA_ID.
call fcn.101e5eb0
mov eax, 0x9ca
jmp 0x100ace03
lea eax, [ebp + 0x24]
push eax
mov esi, 1
push esi
lea ecx, [esp + 0x90]
mov edx, ebp
call fcn.100b36e0
test eax, eax
jne 0x100ac442
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x100ac442
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x100ac442
mov dword [esp + 0x34], vtable.C3303::ByteString.0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
push str.private_key
push 0x10265500
lea eax, [esp + 0x3c]
mov dword [esp + 0xaac], ebx
call fcn.101e6de0
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, ebx
je 0x100ac40c
cmp dword [esp + 0x38], ebx
jne 0x100ac411
mov eax, 0x1025bd4e
push eax
push str.C_DestroyObject
push 0x1f50
mov edx, edi
mov eax, ebp
call fcn.100b3bd0
lea ecx, [esp + 0x34]
mov esi, eax
mov dword [esp + 0xaa4], 0xffffffff
call fcn.101e5b00
mov eax, esi
jmp 0x100ace03
mov edi, 4
mov dword [esp + 0x2c], edi
mov byte [esp + 0x17], 1
mov byte [esp + 0x18], bl
mov dword [esp + 0x70], vtable.C3303::ByteString.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0xaa4], esi
lea ecx, [esp + 0x70]
push ecx
mov edx, str.bsDES3Label
mov byte [esp + 0x288], 0x31
mov byte [esp + 0x289], 0x32
mov byte [esp + 0x28a], 0x33
mov byte [esp + 0x28b], 0x34
mov byte [esp + 0x28c], 0x35
mov byte [esp + 0x28d], 0x36
mov byte [esp + 0x28e], 0x37
mov byte [esp + 0x28f], 0x38
mov byte [esp + 0x290], 0x39
mov byte [esp + 0x291], 0x30
mov byte [esp + 0x292], 0x61
mov byte [esp + 0x293], 0x62
mov byte [esp + 0x294], 0x63
mov byte [esp + 0x295], 0x64
mov byte [esp + 0x296], 0x65
mov byte [esp + 0x297], 0x66
mov dword [esp + 0x24], 0x15
call fcn.101e5eb0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
mov dword [esp + 0x174], eax
mov eax, ecx
mov dword [esp + 0x180], ecx
mov dword [esp + 0x168], edx
lea edx, [esp + 0x17]
mov ecx, edx
mov dword [esp + 0x1a4], ecx
mov ecx, eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x1bc], eax
mov eax, edx
mov dword [esp + 0x1c8], ecx
mov ecx, edx
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1ec], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x164], ebx
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], pe_nt_image_headers32
mov dword [esp + 0x178], edi
mov dword [esp + 0x17c], esi
mov dword [esp + 0x184], esi
mov dword [esp + 0x188], 0x103
mov dword [esp + 0x18c], edx
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], 2
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], 0x104
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1ac], 0x105
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b8], 0x108
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1c4], 0x10a
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x1d0], 0x106
mov dword [esp + 0x1d4], edx
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1dc], 0x107
mov dword [esp + 0x1e4], esi
mov dword [esp + 0x1e8], 0x10c
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1f4], 3
cmp eax, ebx
je 0x100ac666
cmp ecx, ebx
jne 0x100ac66b
mov eax, 0x1025bd4e
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x1fc], eax
push 0xd
lea eax, [esp + 0x16c]
mov dword [esp + 0x204], ecx
push eax
lea ecx, [esp + 0xc8]
push ecx
push edx
mov dword [esp + 0xd0], 0x131
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
call dword [esp + 0xbc]
add esp, 0x14
cmp eax, ebx
je 0x100ac6f0
push 0x10261078
push str.C_GenerateKey
mov edx, eax
push 0x1397
mov eax, ebp
call fcn.100b3bd0
mov esi, eax
lea ecx, [esp + 0x70]
mov dword [esp + 0xaa4], 0xffffffff
call fcn.101e5b00
mov eax, esi
jmp 0x100ace03
lea eax, [esp + 0x284]
mov dword [esp + 0xb4], eax
mov eax, vtable.C3303::ByteString.0
mov dword [esp + 0xb0], 0x133
mov dword [esp + 0xb8], 8
mov dword [esp + 0x84], 0x800
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0xaa4], 3
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0xb4]
push edx
push eax
call dword [esp + 0x3c]
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x100ac7cf
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [esp + 0x2c]
add esp, 8
push 0x102610b4
push str.C_EncryptInit
push 0x138d
mov edx, esi
mov eax, ebp
call fcn.100b3bd0
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0xaa4], 2
call fcn.101e5b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa4], 1
call fcn.101e5b00
jmp 0x100ac6d5
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x5c]
call fcn.101e5f90
mov eax, edi
mov ecx, dword [eax + 4]
and ecx, 0x80000007
jns 0x100ac7ee
dec ecx
or ecx, 0xfffffff8
inc ecx
mov al, 8
sub al, cl
mov byte [esp + 0x30], al
movzx eax, al
cmp eax, ebx
jle 0x100ac813
mov edi, dword [esp + 0x30]
mov esi, eax
push edi
lea edx, [esp + 0x60]
push edx
call fcn.101e6040
sub esi, 1
jne 0x100ac803
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
cmp eax, ebx
je 0x100ac823
cmp ecx, ebx
jne 0x100ac828
mov eax, 0x1025bd4e
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x298]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [esp + 0xc0]
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x100ac86d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [esp + 0x2c]
add esp, 8
push 0x102610b4
push str.C_Encrypt
jmp 0x100ac798
lea eax, [esp + 0x20c]
mov dword [esp + 0x2c], 3
call fcn.10154070
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x20c]
push eax
mov byte [esp + 0xaa8], 4
call fcn.10154600
test eax, eax
jle 0x100ac914
lea ecx, [esp + 0x228]
call fcn.101e6430
push eax
push 0x1025b650
push str._s__caoslib___s
lea eax, [ebp + 0x10]
call fcn.101e6de0
add esp, 0xc
lea ecx, [esp + 0x20c]
mov byte [esp + 0xaa4], 3
call fcn.101540f0
lea ecx, [esp + 0x48]
mov byte [esp + 0xaa4], 2
call fcn.101e5b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa4], 1
call fcn.101e5b00
lea ecx, [esp + 0x70]
mov dword [esp + 0xaa4], 0xffffffff
call fcn.101e5b00
mov eax, 0x7d0
jmp 0x100ace03
mov eax, vtable.C3303::ByteString.0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x90]
lea ebx, [esp + 0x210]
mov byte [esp + 0xaa8], 6
call fcn.10154740
test eax, eax
jle 0x100ac9c0
lea ecx, [esp + 0x228]
call fcn.101e6430
push eax
push 0x1025b650
push str._s__caoslib___s
lea eax, [ebp + 0x10]
call fcn.101e6de0
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0xaa4], 5
call fcn.101e5b00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xaa4], 4
call fcn.101e5b00
jmp 0x100ac8c0
mov ecx, str.1_2_840_113549_1_1_1
lea eax, [esp + 0x8c]
call fcn.101e62f0
test al, al
je 0x100ac9df
mov dword [esp + 0x20], 0
jmp 0x100aca00
mov ecx, str.1_2_410_200004_1_21
lea eax, [esp + 0x8c]
call fcn.101e62f0
test al, al
je 0x100acd81
mov dword [esp + 0x20], 0x81000001
mov eax, dword [esp + 0xab0]
lea edx, [esp + 0xc8]
lea ecx, [ebp + 0x24]
cmp eax, 2
jne 0x100aca32
call fcn.101e6550
mov ecx, eax
mov byte [esp + 0xaa4], 7
call fcn.101e6430
push eax
push str.SIGN_PRI_KEY_s
jmp 0x100aca98
test eax, eax
jne 0x100aca7e
call fcn.101e6550
mov ecx, eax
mov byte [esp + 0xaa4], 8
call fcn.101e6430
push eax
push str.SIGN_PRI_KEY_s
lea eax, [esp + 0x50]
call fcn.101e6de0
add esp, 8
lea ecx, [esp + 0xc8]
mov byte [esp + 0xaa4], 6
call fcn.101e5b00
mov dl, byte [esp + 0x17]
mov al, byte [esp + 0x18]
mov byte [esp + 0x19], dl
jmp 0x100acac0
call fcn.101e6550
mov ecx, eax
mov byte [esp + 0xaa4], 9
call fcn.101e6430
push eax
push str.KM_PRI_KEY_s
lea eax, [esp + 0x50]
call fcn.101e6de0
add esp, 8
lea ecx, [esp + 0xc8]
mov byte [esp + 0xaa4], 6
call fcn.101e5b00
mov al, byte [esp + 0x17]
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
lea eax, [esp + 0x2c]
mov dword [esp + 0xe0], eax
lea edx, [esp + 0x17]
lea ecx, [esp + 0x20]
mov eax, 4
mov dword [esp + 0xec], ecx
mov ecx, edx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], eax
mov ebx, 1
mov eax, edx
mov dword [esp + 0x110], ecx
lea ecx, [esp + 0x1b]
mov dword [esp + 0x104], eax
mov dword [esp + 0xf8], edx
lea eax, [esp + 0x19]
lea edx, [esp + 0x1a]
mov dword [esp + 0x134], ecx
lea ecx, [ebp + 0x24]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe8], pe_nt_image_headers32
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], 2
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], 0x162
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], 0x105
mov dword [esp + 0x11c], edx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], 0x108
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], 0x107
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0x102
call fcn.101e6430
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], 3
test eax, eax
je 0x100acbf1
test ecx, ecx
jne 0x100acbf6
mov eax, 0x1025bd4e
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x154], 0x101
call fcn.101e6430
mov dword [esp + 0x158], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x208]
push ecx
push 0xb
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0xe4]
push edx
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x2a4]
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0xc8]
push eax
push ecx
call dword [esp + 0xc4]
mov esi, eax
add esp, 0x20
test esi, esi
je 0x100accfc
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [esp + 0x2c]
add esp, 8
push 0x102635d4
push str.C_UnwrapKey
push 0x1f51
mov edx, esi
mov eax, ebp
call fcn.100b3bd0
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0xaa4], 5
call fcn.101e5b00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xaa4], 4
call fcn.101e5b00
lea ecx, [esp + 0x20c]
mov byte [esp + 0xaa4], 3
call fcn.101540f0
lea ecx, [esp + 0x48]
mov byte [esp + 0xaa4], 2
call fcn.101e5b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa4], bl
call fcn.101e5b00
jmp 0x100ac6d5
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [esp + 0x2c]
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0xaa4], 5
call fcn.101e5b00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xaa4], 4
call fcn.101e5b00
lea ecx, [esp + 0x20c]
mov byte [esp + 0xaa4], 3
call fcn.101540f0
lea ecx, [esp + 0x48]
mov byte [esp + 0xaa4], 2
call fcn.101e5b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa4], bl
call fcn.101e5b00
lea ecx, [esp + 0x70]
mov dword [esp + 0xaa4], 0xffffffff
call fcn.101e5b00
xor eax, eax
jmp 0x100ace03
add ebp, 0x10
push ebp
mov edx, 0x10260e98
call fcn.101e5eb0
lea ecx, [esp + 0x34]
mov byte [esp + 0xaa4], 5
call fcn.101e5b00
lea ecx, [esp + 0x8c]
mov byte [esp + 0xaa4], 4
call fcn.101e5b00
lea ecx, [esp + 0x20c]
mov byte [esp + 0xaa4], 3
call fcn.101540f0
lea ecx, [esp + 0x48]
mov byte [esp + 0xaa4], 2
call fcn.101e5b00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xaa4], 1
call fcn.101e5b00
lea ecx, [esp + 0x70]
mov dword [esp + 0xaa4], 0xffffffff
call fcn.101e5b00
mov eax, 0x1398
mov ecx, dword [esp + 0xa9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa80]
xor ecx, esp
call fcn.1022649a
add esp, 0xa94
ret 0xc