Function at 0x41f450
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x465c14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x410], eax
xor eax, eax
push 0x94
mov dword [ebp - 0x40c], eax
call fcn.0042a45f
mov esi, eax
add esp, 4
test esi, esi
jne 0x41f505
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push 0x222
call sym.KaUsrTsk.exe_kacm_perror
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xd1
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
add esp, 0x18
test edi, edi
je 0x41f4f0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, 0x222
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042345f
mov esp, ebp
pop ebp
ret
push ebx
push 0x94
push 0
push esi
call fcn.00427a90
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push str.__kacm_prngen
push edi
call ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi], 0
mov dword [ebp - 0x408], eax
jne 0x41f59d
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xdc
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_keygen
push edi
call ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 8], 0
mov dword [ebp - 0x408], eax
jne 0x41f620
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xe3
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_seed_gen
push edi
call ebx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 4], 0
mov dword [ebp - 0x408], eax
jne 0x41f6a3
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xea
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_cipher_ctx_init_ltc
push edi
call ebx
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x2c], 0
mov dword [ebp - 0x408], eax
jne 0x41f726
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xf3
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_cipher_ctx_end_ltc
push edi
call ebx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x30], 0
mov dword [ebp - 0x408], eax
jne 0x41f7a9
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0xfc
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_buffer_update_ltc
push edi
call ebx
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x34], 0
mov dword [ebp - 0x408], eax
jne 0x41f82c
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x105
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_buffer_update_ltc
push edi
call ebx
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x38], 0
mov dword [ebp - 0x408], eax
jne 0x41f8af
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x10e
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_buffer_ltc
push edi
call ebx
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x3c], 0
mov dword [ebp - 0x408], eax
jne 0x41f932
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x116
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_buffer_ltc
push edi
call ebx
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x40], 0
mov dword [ebp - 0x408], eax
jne 0x41f9b5
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x11e
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_buffer_ex_ltc
push edi
call ebx
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x44], 0
mov dword [ebp - 0x408], eax
jne 0x41fa38
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x126
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_buffer_ex_ltc
push edi
call ebx
mov dword [esi + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x408], eax
jne 0x41fabb
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x12e
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_file_ltc
push edi
call ebx
mov dword [esi + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x408], eax
jne 0x41fb3e
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x136
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_file_ltcW
push edi
call ebx
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x54], 0
mov dword [ebp - 0x408], eax
jne 0x41fbc1
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x13f
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_file_ltc
push edi
call ebx
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x50], 0
mov dword [ebp - 0x408], eax
jne 0x41fc44
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x148
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_file_ltcW
push edi
call ebx
mov dword [esi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x58], 0
mov dword [ebp - 0x408], eax
jne 0x41fcc7
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x151
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_buffer_ssl
push edi
call ebx
mov dword [esi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x5c], 0
mov dword [ebp - 0x408], eax
jne 0x41fd4a
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x15a
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_buffer_ssl
push edi
call ebx
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x60], 0
mov dword [ebp - 0x408], eax
jne 0x41fdcd
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x162
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_buffer_ex_ssl
push edi
call ebx
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x64], 0
mov dword [ebp - 0x408], eax
jne 0x41fe50
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x16b
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_buffer_ex_ssl
push edi
call ebx
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x68], 0
mov dword [ebp - 0x408], eax
jne 0x41fed3
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x174
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_encrypt_file_ssl
push edi
call ebx
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x6c], 0
mov dword [ebp - 0x408], eax
jne 0x41ff56
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x17c
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_decrypt_file_ssl
push edi
call ebx
mov dword [esi + 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x70], 0
mov dword [ebp - 0x408], eax
jne 0x41ffd9
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x184
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_zeromem
push edi
call ebx
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x20], 0
mov dword [ebp - 0x408], eax
jne 0x42005c
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x18b
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_zeromem_key_materials
push edi
call ebx
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x24], 0
mov dword [ebp - 0x408], eax
jne 0x4200df
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x193
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_free
push edi
call ebx
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x28], 0
mov dword [ebp - 0x408], eax
jne 0x420162
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x19a
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_key_wrap
push edi
call ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x408], eax
jne 0x4201e5
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1a1
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_key_unwrap
push edi
call ebx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x408], eax
jne 0x420268
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1a9
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_buffer_ltc
push edi
call ebx
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x74], 0
mov dword [ebp - 0x408], eax
jne 0x4202eb
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1b1
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_file_ltc
push edi
call ebx
mov dword [esi + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x78], 0
mov dword [ebp - 0x408], eax
jne 0x42036e
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1b9
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_file_ltcW
push edi
call ebx
mov dword [esi + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x80], 0
mov dword [ebp - 0x408], eax
jne 0x4203f7
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1c2
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_file_ex_ltc
push edi
call ebx
mov dword [esi + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x7c], 0
mov dword [ebp - 0x408], eax
jne 0x42047a
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1cb
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_buffer_ssl
push edi
call ebx
mov dword [esi + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x84], 0
mov dword [ebp - 0x408], eax
jne 0x420503
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1d3
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_file_ssl
push edi
call ebx
mov dword [esi + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x88], 0
mov dword [ebp - 0x408], eax
jne 0x42058c
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1db
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hash_file_ex_ssl
push edi
call ebx
mov dword [esi + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x8c], 0
mov dword [ebp - 0x408], eax
jne 0x420615
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1e3
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hmac_file
push edi
call ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 0
mov dword [ebp - 0x408], eax
jne 0x420698
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1ea
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hmac_fileW
push edi
call ebx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x408], eax
jne 0x42071b
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x408]
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1f3
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
mov eax, 0x1fc
add esp, 0x18
mov dword [ebp - 0x40c], eax
push str.__kacm_hmac_buffer
push edi
call ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x1c], 0
mov ebx, eax
jne 0x420791
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00427a90
push 0x400
lea eax, [ebp - 0x404]
push eax
push ebx
call sym.KaUsrTsk.exe_kacm_sys_error
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
push 0x1fc
push str.kacm_crypto_services_load
push str.d:projects_vsakserverandagent_cryptocrypto_srckacm_library_load.cpp
push str.__s:_s:_d___n_t_s_n
push 2
call fcn.00434ddf
add esp, 4
push eax
call fcn.0040c39d
add esp, 0x18
mov eax, 0x1fc
jmp 0x420797
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
mov dword [esi + 0x90], edi
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042345f
mov esp, ebp
pop ebp
ret