Function at 0x10075910
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x102d5908]
xor eax, ebp
mov dword [ebp - 4], eax
call sym.m0070Broker_MFS100.dll_IsValidPKCS12
test eax, eax
jne 0x10075b0f
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR120.dll_memset
lea eax, [ebp - 0x108]
push eax
push 0x102d7ee8
push 0x102d7edc
push 0x102d7ec4
call fcn.100694f0
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.MSVCR120.dll__access]
add esp, 0x24
cmp eax, 0xffffffff
je 0x10075de1
push ebx
push 0
push 0
push 3
push 0
push 1
push bind
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100759b6
mov eax, 0xfffffe03
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10075dcd
push esi
push edi
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx eax, word [ebp - 0x218]
sub eax, 0x76c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
movzx eax, word [ebp - 0x216]
dec eax
mov dword [ebp - 0x22c], eax
movzx eax, word [ebp - 0x212]
mov dword [ebp - 0x230], eax
movzx eax, word [ebp - 0x210]
mov dword [ebp - 0x234], eax
movzx eax, word [ebp - 0x20e]
mov dword [ebp - 0x238], eax
movzx eax, word [ebp - 0x20c]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.MSVCR120.dll__mktime64]
push 0
mov edi, eax
mov esi, edx
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [ebp - 0x2a8], eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x2a4], edx
push eax
call dword [sym.imp.MSVCR120.dll__localtime64_s]
push esi
push edi
push dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
call dword [sym.imp.MSVCR120.dll__difftime64]
fstp qword [ebp - 0x2a8]
movsd xmm1, qword [ebp - 0x2a8]
xorps xmm0, xmm0
divsd xmm1, qword [0x10195c08]
add esp, 0x20
comisd xmm0, xmm1
jbe 0x10075ad3
subsd xmm1, qword [0x10195bf8]
jmp 0x10075adb
addsd xmm1, qword [0x10195bf8]
push ebx
movsd qword [ebp - 0x2a8], xmm1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsd xmm0, qword [ebp - 0x2a8]
call fcn.101847af
cmp eax, dword [ebp + 8]
jge 0x10075b1d
push str.I_Cert_Not_Expire
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov eax, 0x3e7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
push 0x102d7ee8
push 0x102d7edc
push 0x102d7ec4
call fcn.10066050
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10075b59
push eax
call fcn.100f7030
add esp, 4
mov eax, 0xfffffe00
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCR120.dll__stat64i32]
add esp, 8
test eax, eax
jns 0x10075b9f
lea eax, [ebp - 0x108]
push eax
push str._s:_pkcs12_Path_Not_Found._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 8
mov eax, 0xfffffe03
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
push 0x7f
lea eax, [ebp - 0x187]
mov byte [ebp - 0x188], 0
push 0
push eax
call sub.MSVCR120.dll_memset
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x102d7ee8
push 0x102d7edc
push 0x102d7ec4
call fcn.10063900
lea eax, [ebp - 0x188]
push eax
push str.Oldpass___s_n
call fcn.1004f2e0
add esp, 0x28
lea ecx, [ebp - 0x370]
push 1
call fcn.1005f650
push 0x40
push 0xb
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x370]
call fcn.100707b0
lea eax, [ebp - 0x360]
push 0x10192940
push eax
call fcn.100586f0
add esp, 8
lea ecx, [ebp - 0x370]
call fcn.1006e610
push 0x7f
lea eax, [ebp - 0x207]
mov byte [ebp - 0x208], 0
push 0
push eax
call sub.MSVCR120.dll_memset
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x102d7ee8
push 0x102d7edc
push 0x102d7ec4
call fcn.10063900
lea eax, [ebp - 0x208]
push eax
push str.Newpass___s_n
call fcn.1004f2e0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x188]
push eax
push edi
call fcn.100f7da0
add esp, 0x34
mov dword [ebp - 0x2a4], eax
test eax, eax
je 0x10075d9c
js 0x10075d9c
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._nInside_ChangeSecretKeyToKeyStore...._:
call esi
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push 0x1019285c
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10075d05
push str.Error_cant_open_pkcs12_certificate_file_for_writing._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
lea ecx, [ebp - 0x370]
mov esi, 0xfffffe05
call fcn.10061690
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.100f7d80
mov esi, eax
push esi
push str.bytes___d_n
call fcn.1004f2e0
add esp, 0x10
test esi, esi
jg 0x10075d51
push str.Error_writing_PKCS12_certificate._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
lea ecx, [ebp - 0x370]
mov esi, 0xfffffe04
call fcn.10061690
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.MSVCR120.dll_fclose]
push edi
call fcn.100f7030
push dword [ebp - 0x2a4]
push str.ret___d_n
call fcn.1004f2e0
add esp, 0x10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x370]
xor esi, esi
call fcn.10061690
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
push str.Password_Not_Set._n
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
lea ecx, [ebp - 0x370]
mov esi, 0xfffffe02
call fcn.10061690
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffde8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffe03
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret