Function at 0x458f76
Capabilities:
Encrypt data using openssl rsa
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push edi
mov dword [ebp - 0x314], ecx
push 0
push 1
push 4
push 4
push 0x35c
push 0x4a2b04
push 0x83
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 4
push 0x386
push 0x4a2b20
push 0x82
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 4
push 0x276
push 0x4a2b34
push 0x65
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 4
push 0x28c
push 0x4a2b48
push 0x66
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 4
push 0x28c
push 0x4a2b5c
push 0x67
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 4
push 0x2a2
push 0x4a2b70
push 0x68
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0x25
push 0x1d3
push 0x4a2b84
push 0x81
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0x25
push 0x20c
push 0x4a2b9c
push 0x6a
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0x25
push 0x245
push 0x4a2bb4
push 0x6b
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0x25
push 0x27e
push 0x4a2bcc
push 0x6c
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 0
push 0
push 0x4a2be4
push 0x6f
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 0
push 0
push 0x4a2bfc
push 0x70
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 0
push 0
push 0x4a2c14
push 0x72
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2c30
push 0x7c
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 0
push 0
push 0x4a2c48
push 0x71
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 3
push 0
push 0
push 0x4a2c64
push 0x73
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 4
push 0
push 0
push 0x4a2c7c
push 0x74
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0
push 0
push 0x4a2c94
push 0x92
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0
push 0
push 0x4a2cb0
push 0x93
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0
push 0
push 0x4a2cd0
push 0x9e
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 4
push 0
push 0
push 0x4a2ce8
push 0x8b
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 1
push 4
push 0
push 0
push 0x4a2d00
push 0x8c
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2d1c
push 0x95
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2d34
push 0x96
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2d50
push 0x97
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2d6c
push 0x98
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2d88
push 0x9a
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 3
push 0
push 0
push 0x4a2da4
push 0x99
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
push 0x1a
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov byte [ebp - 0x20c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4a2dc4
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2df4
push 0x103
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4a2dfc
push 0x4a2e04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 1
jle 0x45953d
mov byte [ebp - 0x310], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4a2e0c
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2e40
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa2
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0x4a2e48
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2e78
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa3
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0x4a2e80
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2eb0
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa4
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0x4a2eb8
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2ee8
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa5
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0x4a2ef0
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2f24
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa6
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0x4a2f2c
lea ecx, [ebp - 0x104]
push ecx
push 0x4a2f64
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa7
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
jmp 0x4595f7
push 0
push 0
push 1
push 0
push 0
push 0x4a2f6c
push 0xa2
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 1
push 0
push 0
push 0x4a2f88
push 0xa3
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 1
push 0
push 0
push 0x4a2fa0
push 0xa4
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 1
push 0
push 0
push 0x4a2fb8
push 0xa5
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 1
push 0
push 0
push 0x4a2fd0
push 0xa6
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
push 0
push 0
push 1
push 0
push 0
push 0x4a2fec
push 0xa7
mov ecx, dword [ebp - 0x314]
call fcn.004596bb
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret