Function at 0x40e990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0c
mov eax, dword [0x426d88]
push ebx
mov dword [esp + 0xc0c], eax
push esi
push edi
xor eax, eax
mov byte [esp + 0x410], 0
mov ecx, 0xff
lea edi, [esp + 0x411]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x810], 0
mov ecx, 0xff
lea edi, [esp + 0x811]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
test edi, edi
push str..dll
push str.libkacm
jne 0x40ea0e
push str..__s_s
lea eax, [esp + 0x41c]
push 0x400
push eax
call fcn.0041453a
add esp, 0x14
jmp 0x40ea53
push edi
push str._s__s_s
lea ecx, [esp + 0x420]
push 0x400
push ecx
call fcn.0041453a
push str..dgst
push str.libkacm
push edi
push str._s__s_s
lea edx, [esp + 0x838]
push 0x400
push edx
call fcn.0041453a
add esp, 0x30
mov byte [esp + 0xc0f], 0
lea eax, [esp + 0x410]
push eax
mov byte [esp + 0x813], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov edx, eax
jne 0x40ead6
mov byte [esp + 0x10], bl
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
push 0x400
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
push ecx
push edx
stosb byte es:[edi], al
call sym.KRlyCCon.exe_kacm_sys_error
lea edx, [esp + 0x1c]
push edx
push 0x59
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
mov eax, 0x1fb
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_crypto_enable
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
call fcn.00413704
test esi, esi
mov edx, dword [eax]
jne 0x40eb56
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x62
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x40eb5e
push edi
push edi
jmp 0x40eb6e
lea edx, [esp + 0x810]
push edx
lea eax, [esp + 0x414]
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
je 0x40ebdd
mov byte [esp + 0x10], 0
xor eax, eax
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
push 0x400
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
push ecx
push esi
stosb byte es:[edi], al
call sym.KRlyCCon.exe_kacm_perror
lea edx, [esp + 0x1c]
push edx
push 0x6e
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x84
call fcn.004131d5
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
jne 0x40ec5b
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push 0x222
call sym.KRlyCCon.exe_kacm_perror
lea ecx, [esp + 0x1c]
push ecx
push 0x76
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x222
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x21
mov edi, esi
push str.__kacm_prngen
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call edi
mov dword [esi], eax
call fcn.00413704
mov edx, dword [eax]
cmp dword [esi], 0
jne 0x40ecf3
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x81
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_keygen
push ebx
call edi
mov dword [esi + 8], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 8]
test eax, eax
jne 0x40ed7f
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x89
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_seed_gen
push ebx
call edi
mov dword [esi + 4], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 4]
test eax, eax
jne 0x40ee0b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x91
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_cipher_ctx_init_ltc
push ebx
call edi
mov dword [esi + 0x28], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x40ee97
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x9b
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_cipher_ctx_end_ltc
push ebx
call edi
mov dword [esi + 0x2c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x40ef23
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xa5
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_buffer_update_ltc
push ebx
call edi
mov dword [esi + 0x30], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x40efaf
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xaf
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_buffer_update_ltc
push ebx
call edi
mov dword [esi + 0x34], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x40f03b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xb9
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_buffer_ltc
push ebx
call edi
mov dword [esi + 0x38], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x40f0c7
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xc2
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_buffer_ltc
push ebx
call edi
mov dword [esi + 0x3c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x40f153
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xcb
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_buffer_ex_ltc
push ebx
call edi
mov dword [esi + 0x40], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x40f1df
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xd4
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_buffer_ex_ltc
push ebx
call edi
mov dword [esi + 0x44], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x40f26b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xdd
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_file_ltc
push ebx
call edi
mov dword [esi + 0x48], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x40f2f7
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xe6
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_file_ltc
push ebx
call edi
mov dword [esi + 0x4c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x40f383
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xef
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_buffer_ssl
push ebx
call edi
mov dword [esi + 0x50], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x40f40f
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0xf8
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_buffer_ssl
push ebx
call edi
mov dword [esi + 0x54], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x40f49b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x101
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_buffer_ex_ssl
push ebx
call edi
mov dword [esi + 0x58], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x40f527
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x10b
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_buffer_ex_ssl
push ebx
call edi
mov dword [esi + 0x5c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x40f5b3
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x115
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_encrypt_file_ssl
push ebx
call edi
mov dword [esi + 0x60], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x40f63f
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x11e
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_decrypt_file_ssl
push ebx
call edi
mov dword [esi + 0x64], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x40f6cb
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x127
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_zeromem
push ebx
call edi
mov dword [esi + 0x1c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x40f757
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x12f
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_zeromem_key_materials
push ebx
call edi
mov dword [esi + 0x20], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x40f7e3
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x138
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_free
push ebx
call edi
mov dword [esi + 0x24], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x40f86f
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x140
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_key_wrap
push ebx
call edi
mov dword [esi + 0xc], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x40f8fb
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x148
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_key_unwrap
push ebx
call edi
mov dword [esi + 0x10], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x40f987
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x151
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_buffer_ltc
push ebx
call edi
mov dword [esi + 0x68], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x40fa13
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x15a
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_file_ltc
push ebx
call edi
mov dword [esi + 0x6c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x40fa9f
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x163
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_file_ex_ltc
push ebx
call edi
mov dword [esi + 0x70], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x40fb2b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x16c
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_buffer_ssl
push ebx
call edi
mov dword [esi + 0x74], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x40fbb7
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x175
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_file_ssl
push ebx
call edi
mov dword [esi + 0x78], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x40fc43
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x17e
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hash_file_ex_ssl
push ebx
call edi
mov dword [esi + 0x7c], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x40fccf
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x187
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hmac_file
push ebx
call edi
mov dword [esi + 0x14], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x40fd5b
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x18f
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.__kacm_hmac_buffer
push ebx
call edi
mov dword [esi + 0x18], eax
call fcn.00413704
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x40fde7
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0xff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x400
lea eax, [esp + 0x14]
push eax
push edx
call sym.KRlyCCon.exe_kacm_sys_error
lea ecx, [esp + 0x1c]
push ecx
push 0x198
push 0x4223d4
push str.Src_vsa6.2_sourceKServerAndAgentCrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 0x426b48
call fcn.0041437b
add esp, 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.004130bd
add esp, 4
mov eax, 0x1fc
mov ecx, dword [esp + 0xc14]
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc14]
mov dword [esi + 0x80], ebx
mov dword [edx], esi
xor eax, eax
call fcn.004145c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret