Function at 0x45e690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b69b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
mov dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea esi, [ecx + 4]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
mov edi, esi
mov dword [ebp - 0x18], 1
jb 0x45e6ea
mov edi, dword [esi]
lea ecx, [ebp - 0x14]
call fcn.0043f620
mov edx, edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0042f4d0
mov edi, eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45e718
call fcn.0040cef0
mov byte [ebp - 4], 0
cmp edi, 2
jne 0x45ea07
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x45e72f
mov ecx, dword [esi]
test ecx, ecx
jne 0x45e73b
mov byte [ebp - 0x22c], cl
jmp 0x45e75a
lea eax, [ebp - 0x22c]
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x45e757
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x129]
cmp eax, edx
jb 0x45e741
mov byte [eax], 0
lea ecx, [ebp - 0x22c]
mov edi, str.Setup
mov eax, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x45e77d
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x129]
cmp eax, edx
jb 0x45e767
mov byte [eax], 0
cmp byte [ebp - 0x22c], 0
je 0x45e7a0
push 0
mov edx, 0x104
lea ecx, [ebp - 0x22c]
call fcn.00436370
add esp, 4
nop
mov al, byte [edi]
cmp al, 0x2f
je 0x45e7aa
cmp al, 0x5c
jne 0x45e7ad
inc edi
jmp 0x45e7a0
push 0x104
mov edx, edi
lea ecx, [ebp - 0x22c]
call fcn.00436940
add esp, 4
lea edx, [ebp - 0x22c]
mov ecx, edx
push 0x104
call fcn.004361a0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f620
lea edx, [ebp - 0x22c]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0042f4d0
mov edi, eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45e809
call fcn.0040cef0
mov byte [ebp - 4], 0
cmp edi, 2
jne 0x45e878
mov edi, dword [ebx + 4]
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebx + 8], edi
je 0x45e865
lea ecx, [ebp - 0x22c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e840
sub ecx, edx
lea eax, [ebp - 0x22c]
push ecx
push eax
mov ecx, edi
call fcn.0043d0c0
mov dword [edi + 0x18], 0xffffffff
add dword [ebx + 4], 0x1c
jmp 0x45e878
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.0045f170
cmp dword [esi + 0x14], 0x10
jb 0x45e880
mov esi, dword [esi]
test esi, esi
jne 0x45e88d
mov byte [ebp - 0x124], 0
jmp 0x45e8a9
lea eax, [ebp - 0x124]
mov cl, byte [esi]
lea esi, [esi + 1]
test cl, cl
je 0x45e8a6
mov byte [eax], cl
inc eax
lea ecx, [ebp - 0x21]
cmp eax, ecx
jb 0x45e893
mov byte [eax], 0
lea ecx, [ebp - 0x124]
mov esi, str.Agent
mov eax, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x45e8c9
mov byte [eax], dl
inc eax
lea edx, [ebp - 0x21]
cmp eax, edx
jb 0x45e8b6
mov byte [eax], 0
cmp byte [ebp - 0x124], 0
je 0x45e8f0
push 0
mov edx, 0x104
lea ecx, [ebp - 0x124]
call fcn.00436370
add esp, 4
nop word [eax + eax]
mov al, byte [esi]
cmp al, 0x2f
je 0x45e8fa
cmp al, 0x5c
jne 0x45e8fd
inc esi
jmp 0x45e8f0
push 0x104
mov edx, esi
lea ecx, [ebp - 0x124]
call fcn.00436940
add esp, 4
lea edx, [ebp - 0x124]
mov ecx, edx
push 0x104
call fcn.004361a0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f620
lea edx, [ebp - 0x124]
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0042f4d0
mov esi, eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45e959
call fcn.0040cef0
mov byte [ebp - 4], 0
cmp esi, 2
jne 0x45ea07
mov esi, dword [ebx + 4]
mov dword [ebp - 0x14], 1
cmp dword [ebx + 8], esi
je 0x45e9b5
lea ecx, [ebp - 0x124]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e990
sub ecx, edx
lea eax, [ebp - 0x124]
push ecx
push eax
mov ecx, esi
call fcn.0043d0c0
mov dword [esi + 0x18], 1
add dword [ebx + 4], 0x1c
jmp 0x45e9c8
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.0045f170
lea ecx, [ebp - 0x14]
call fcn.0043f620
push 0
push 0x45ed50
push ebx
lea edx, [ebp - 0x124]
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0042fec0
add esp, 0xc
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45ea03
call fcn.0040cef0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x53c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45ea3d
sub esp, 0xc
lea eax, [ebp - 0x53c]
mov edx, 0x104
lea ecx, [ebp - 0x334]
push eax
call fcn.00436ab0
add esp, 0x10
lea ecx, [ebp - 0x334]
mov esi, 0x4d1768
mov eax, ecx
nop word [eax + eax]
mov dl, byte [ecx]
lea ecx, [ecx + 1]
test dl, dl
je 0x45ea66
mov byte [eax], dl
lea edi, [ebp - 0x231]
inc eax
cmp eax, edi
jb 0x45ea50
mov byte [eax], 0
cmp byte [ebp - 0x334], 0
je 0x45ea87
push 0
mov edx, 0x104
lea ecx, [ebp - 0x334]
call fcn.00436370
add esp, 4
mov al, byte [esi]
cmp al, 0x2f
je 0x45ea91
cmp al, 0x5c
jne 0x45ea94
inc esi
jmp 0x45ea87
push 0x104
mov edx, esi
lea ecx, [ebp - 0x334]
call fcn.00436940
add esp, 4
lea edx, [ebp - 0x334]
mov ecx, edx
push 0x104
call fcn.004361a0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0043f620
lea edx, [ebp - 0x334]
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.0042f4d0
mov esi, eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45eaf0
call fcn.0040cef0
mov byte [ebp - 4], 0
cmp esi, 2
jne 0x45eb58
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 4]
cmp dword [ebx + 8], esi
je 0x45eb45
lea ecx, [ebp - 0x334]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45eb20
sub ecx, edx
lea eax, [ebp - 0x334]
push ecx
push eax
mov ecx, esi
call fcn.0043d0c0
mov dword [esi + 0x18], 2
add dword [ebx + 4], 0x1c
jmp 0x45eb58
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x334]
push eax
push esi
call fcn.0045f170
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4