Function at 0x44c6c5
Capabilities:
Check if file exists
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
push ebx
push esi
push dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push 1
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x1c], ebx
je 0x44c96e
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
cmp dword [eax + 0x68], esi
mov edi, dword [eax + 0x6c]
jbe 0x44c7ce
lea eax, [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
push str.2.5.29.14
push dword [eax - 0xc]
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x44c777
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax - 4]
push dword [eax]
call fcn.004258d0
test eax, eax
je 0x44c786
mov eax, dword [ebx + 0xc]
add dword [ebp + 0xc], 0x10
inc esi
cmp esi, dword [eax + 0x68]
jb 0x44c73b
jmp 0x44c7ce
and dword [ebp + 0xc], 0
cmp dword [ebp + 8], 0
jbe 0x44c7c7
shl esi, 4
lea esi, [esi + edi + 0xc]
lea edi, [ebp - 0x46c]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp + 0xc]
movzx eax, byte [eax + ecx]
push eax
push str._02X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 4
cmp eax, dword [ebp + 8]
jb 0x44c79d
mov dword [ebp - 0x10], 1
and byte [ebp - 0x5c], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x5b]
mov dword [ebp - 8], 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x5c]
push eax
push 3
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
cmp eax, 1
jne 0x44c82e
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x44c827
lea edi, [ebp - 0x674]
movzx eax, byte [ebp + esi - 0x5c]
push eax
push str._02X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
inc esi
add edi, 4
cmp esi, dword [ebp - 8]
jb 0x44c809
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x10], 1
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, str.E:SVNSoftwareProductsEsManagerTrunkModulesEsManagerSourceCertStore.cpp
jne 0x44c8d1
lea eax, [ebp - 0x264]
push 0x104
push eax
push str._appdata_MicrosoftSystemCertificatesMyKeys_
call edi
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x264]
push eax
call ebx
lea eax, [ebp - 0x264]
push eax
push str.DeleteSM2Keys____File_to_be_deleted:__s
push 0x5f
push esi
push 1
call fcn.0041ae60
add esp, 0x14
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 1
pop ecx
cmp eax, ecx
jne 0x44c8ab
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
jmp 0x44c8ae
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
mov eax, str.Success
jne 0x44c8be
mov eax, str.Failure
push eax
push str.DeleteSM2Keys____Delete_result:__s
push 0x6d
push esi
push 1
call fcn.0041ade0
add esp, 0x14
cmp dword [ebp - 0x14], 1
jne 0x44c964
lea eax, [ebp - 0x264]
push 0x104
push eax
push str._appdata_MicrosoftSystemCertificatesMyCertificates_
call edi
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x264]
push eax
call ebx
lea eax, [ebp - 0x264]
push eax
push str.DeleteSM2Keys____File_to_be_deleted:__s
push 0x76
push esi
push 1
pop edi
push edi
call fcn.0041ae60
add esp, 0x14
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x44c93c
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
jmp 0x44c93f
mov dword [ebp - 4], edi
cmp dword [ebp - 4], 0
mov eax, str.Success
jne 0x44c94f
mov eax, str.Failure
push eax
push str.DeleteSM2Keys____Delete_result:__s
push 0x84
push esi
push edi
call fcn.0041ade0
add esp, 0x14
push dword [ebp - 0x1c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret