Function at 0x410650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576b2f
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5daf20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
call fcn.00434157
mov esi, dword [eax + 4]
push str.__xml_version_1.0__encoding_UTF_8____n
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
call fcn.004050a0
lea eax, [esi + 0x200]
push eax
lea eax, [ebp - 0x228]
push str._CERInfo_ClientVersion_
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
add esp, 0xc
push 0x5b08d0
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 1
call fcn.00404b80
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41071a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41073d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0040e8a0
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410782
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4107bd
push eax
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00404c80
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x1c]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
call fcn.00427841
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41080e
push 0x80004005
call fcn.004017e0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24c], esi
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 4
mov edx, dword [eax + 0x17c]
mov ecx, dword [edx - 0xc]
test ecx, ecx
jne 0x410841
mov eax, dword [eax + 0x110]
push dword [eax - 0xc]
push eax
jmp 0x410843
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.00404c80
mov edx, dword [ebp - 0x22c]
add edx, 0x114
lea ecx, [ebp - 0x220]
call fcn.0041fc70
push eax
lea eax, [ebp - 0x228]
push str._AppCDATA____CDATA_
push eax
mov byte [ebp - 4], 5
call fcn.00404a00
add esp, 0xc
push str._____AppCDATA__n
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 6
call fcn.00404b80
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410915
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x40]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
mov eax, dword [edi + 0x48]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404c80
push 0xa
push str.__CERInfo_
lea ecx, [ebp - 0x21c]
call fcn.00404c80
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004050a0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x410bf0
cmp eax, 0x104
ja 0x410bf0
push str.dmpuserinfo.xml
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00404b80
add esp, 0xc
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x224], ecx
call fcn.004016d0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410a2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x260]
call fcn.00418430
push 0
push 0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [eax - 0xc]
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
mov dword [ebp - 0x228], ecx
call ebx
mov edi, eax
cmp edi, dword [ebp - 0x228]
cmovl edi, dword [ebp - 0x228]
push edi
call fcn.00425577
add esp, 4
mov dword [ebp - 0x220], eax
push 0
push 0
push edi
mov edi, eax
push edi
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
push 0
push 0xfde9
call ebx
mov dword [ebp - 0x220], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x248]
mov ebx, eax
call fcn.00433350
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x224]
push eax
push 0x1011
push dword [ecx]
lea ecx, [ebp - 0x248]
call fcn.004337ca
test eax, eax
je 0x410ba1
lea ecx, [ebp - 0x248]
test ebx, ebx
jne 0x410afa
push dword [ebp - 0x220]
push edi
jmp 0x410b06
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
call fcn.00433b13
lea ecx, [ebp - 0x248]
call fcn.004335a3
push edi
call fcn.00425580
add esp, 4
lea eax, [ebp - 0x230]
push str.dumpdata.zip
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00404b80
add esp, 0xc
mov edi, dword [ebp - 0x234]
add edi, 0x30
push eax
mov ecx, edi
mov byte [ebp - 4], 0xc
call fcn.004016d0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410b75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x22c]
lea eax, [ecx + 0x210]
push eax
lea eax, [ecx + 0xf8]
push eax
push dword [ebp - 0x224]
push edi
call fcn.0040ffa0
mov edi, eax
jmp 0x410bb2
push edi
call fcn.00425580
add esp, 4
mov edi, 0x6e
or ebx, 0xffffffff
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xa
call fcn.00433377
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410bf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410bf5
mov edi, 0xa1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410c18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410c35
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x410c59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00547a0a
mov esp, ebp
pop ebp
ret