Function at 0x407750
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43034c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x38]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [0x43dc9c]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x14c]
xor edi, edi
mov dword [esp + 0x144], edi
push edi
push 0x4327dc
mov ecx, ebx
call fcn.004236e1
mov esi, eax
cmp esi, 0xffffffff
je 0x4079aa
mov edi, 0x4327dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
mov ecx, ebx
push esi
push 0x43d26c
call fcn.004236e1
mov edi, eax
cmp edi, 0xffffffff
je 0x4079aa
mov edx, edi
lea eax, [esp + 0x1c]
sub edx, esi
mov ecx, ebx
push edx
push esi
push eax
call fcn.004235a3
lea esi, [edi + 1]
mov ecx, ebx
push esi
push str.cert.file.end
mov byte [esp + 0x14c], 1
call fcn.004236e1
mov ebp, eax
cmp ebp, 0xffffffff
je 0x407999
mov ecx, ebp
lea edx, [esp + 0x14]
sub ecx, esi
push ecx
push esi
push edx
mov ecx, ebx
call fcn.004235a3
mov edi, str.cert.file.end
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x144], 2
repne scasb al, byte es:[edi]
not ecx
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
dec ecx
mov esi, dword [eax - 8]
mov edi, ecx
mov cl, byte [esp + 0x13]
add edi, ebp
test esi, esi
mov byte [esp + 0x24], cl
mov eax, esi
jge 0x407857
xor eax, eax
push eax
call fcn.00428cb4
add esp, 4
mov dword [esp + 0x28], eax
test esi, esi
mov ebp, eax
jbe 0x40788c
mov dword [esp + 0x34], esi
lea edx, [esp + 0x13]
push edx
push ebp
call fcn.00406c20
mov eax, dword [esp + 0x3c]
add esp, 8
inc ebp
dec eax
mov dword [esp + 0x34], eax
jne 0x40786e
mov eax, dword [esp + 0x28]
lea ecx, [eax + esi]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
test eax, eax
mov byte [esp + 0x144], 3
jne 0x4078a7
xor ecx, ecx
jmp 0x4078a9
sub ecx, eax
mov eax, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov edx, dword [eax - 8]
push ecx
push edx
push eax
call fcn.0040ac70
mov ecx, dword [esp + 0x38]
xor esi, esi
add esp, 0x10
cmp ecx, esi
jne 0x4078ce
xor eax, eax
jmp 0x4078d4
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
push ecx
call fcn.00405cf0
add esp, 8
sub eax, esi
je 0x4078fd
sub eax, 2
jne 0x407914
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call fcn.004042e0
jmp 0x407911
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call fcn.00404240
add esp, 0xc
cmp dword [esp + 0x20], esi
jne 0x407938
mov edx, dword [esp + 0x1c]
push edx
push 0xfe
push str.E:CVSPKI_WKS_MAVEN99.tools16.ClientConfigToolsConfigToolsConfigMngr.cpp
push str.Add__s_to_TrustCA_Zone_successfully.
call fcn.0040b900
add esp, 0x10
jmp 0x407959
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0x101
push str.E:CVSPKI_WKS_MAVEN99.tools16.ClientConfigToolsConfigToolsConfigMngr.cpp
push str.Add__s_to_TrustCA_Zone_failed:__s
call fcn.0040b900
add esp, 0x14
mov edx, dword [esp + 0x28]
push edx
call fcn.00428cdd
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x144], 1
call fcn.004287a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0
call fcn.004287a0
jmp 0x407799
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0
call fcn.004287a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x144], 0xffffffff
call fcn.004287a0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret