Function at 0x43c517
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 0x5f9], 0
push 0x548fc4
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x600], ebx
call fcn.004058f0
push 0x54d920
lea ecx, [ebp - 0x308]
call fcn.004058f0
push 0x54d93c
lea ecx, [ebp - 0x2a0]
call fcn.004058f0
push 0x548434
lea ecx, [ebp - 0x288]
call fcn.004058f0
and dword [ebp - 0x248], 0
xor eax, eax
mov word [ebp - 0x258], ax
mov eax, ebx
push 7
pop edi
mov dword [ebp - 0x244], edi
sub eax, 0
je 0x43c8d2
dec eax
je 0x43c8c5
dec eax
je 0x43c8b8
dec eax
je 0x43c8ab
dec eax
je 0x43c6e7
dec eax
jne 0x43cb16
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
call fcn.004307c1
push eax
push 0xb
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43c6dc
lea eax, [ebp - 0x308]
push eax
push 1
push ebx
push ecx
push ecx
mov esi, esp
lea eax, [ebp - 0x210]
push eax
mov dword [esi], eax
call fcn.004049e1
pop ecx
lea ecx, [ebp - 0x350]
mov dword [esi + 4], eax
call fcn.00458fb0
push eax
lea ecx, [ebp - 0x5f8]
call fcn.004697d0
lea ecx, [ebp - 0x350]
call fcn.00459030
xor eax, eax
mov dword [ebp - 0x214], edi
mov word [ebp - 0x228], ax
lea ecx, [ebp - 0x5f8]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x218], ebx
push eax
call fcn.00469990
push eax
lea ecx, [ebp - 0x228]
call fcn.00459060
cmp dword [eax + 0x10], ebx
jmp 0x43c6b2
call fcn.00457b40
test al, al
je 0x43c690
xor dl, dl
lea ecx, [ebp - 0x228]
call fcn.004575a0
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00469990
push eax
lea ecx, [ebp - 0x228]
call fcn.00459060
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 0x2f0]
setne bl
call fcn.00459030
lea ecx, [ebp - 0x228]
test bl, bl
jne 0x43c67a
call fcn.00459030
lea ecx, [ebp - 0x5f8]
call fcn.00469880
xor ebx, ebx
mov byte [ebp - 0x5f9], bl
jmp 0x43cb16
xor eax, eax
mov dword [ebp - 0x22c], edi
push 0x6c
xor ebx, ebx
mov word [ebp - 0x240], ax
lea edx, [ebp - 0x240]
mov dword [ebp - 0x230], ebx
pop ecx
call fcn.0045c120
call fcn.00440157
test al, al
jne 0x43c76c
mov edx, 0x157e
lea ecx, [ebp - 0x2b8]
call fcn.0044506f
push ecx
push ecx
lea eax, [ebp - 0x2b8]
mov ecx, esp
push eax
call fcn.004050d6
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x240]
call fcn.00459bb0
push eax
lea ecx, [ebp - 0x240]
call fcn.00459060
lea ecx, [ebp - 0x2d0]
call fcn.00459030
push ebx
push 1
lea ecx, [ebp - 0x2b8]
call fcn.0040536f
lea eax, [ebp - 0x338]
push eax
push 2
push ebx
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.004697d0
xor eax, eax
mov dword [ebp - 0x214], edi
mov word [ebp - 0x228], ax
lea ecx, [ebp - 0x5f8]
lea eax, [ebp - 0x320]
mov dword [ebp - 0x218], ebx
push eax
call fcn.00469990
push eax
lea ecx, [ebp - 0x228]
call fcn.00459060
cmp dword [eax + 0x10], ebx
jmp 0x43c85c
lea ecx, [ebp - 0x228]
call fcn.00457b40
test al, al
je 0x43c83a
mov dl, 1
lea ecx, [ebp - 0x228]
call fcn.004575a0
test al, al
je 0x43c83a
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x228]
call fcn.004599a0
cmp dword [ebp - 0x28c], 8
mov ecx, dword [ebp - 0x2a0]
jae 0x43c80a
lea ecx, [ebp - 0x2a0]
push dword [ebp - 0x290]
push ecx
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00409266
mov ebx, eax
lea ecx, [ebp - 0x270]
neg ebx
sbb bl, bl
call fcn.00459030
inc bl
je 0x43c83a
call fcn.004171a1
mov byte [eax + 3], 1
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00469990
push eax
lea ecx, [ebp - 0x228]
call fcn.00459060
cmp dword [eax + 0x10], 0
lea ecx, [ebp - 0x320]
setne bl
call fcn.00459030
test bl, bl
jne 0x43c7c3
call fcn.004171a1
mov ecx, eax
call fcn.0041713e
lea ecx, [ebp - 0x228]
call fcn.00459030
lea ecx, [ebp - 0x5f8]
call fcn.00469880
lea ecx, [ebp - 0x240]
call fcn.00459030
mov byte [ebp - 0x5f9], 1
jmp 0x43cb16
lea ecx, [ebp - 0x258]
call fcn.0043ee05
jmp 0x43c8dd
lea ecx, [ebp - 0x258]
call fcn.0043ee9e
jmp 0x43c8dd
lea ecx, [ebp - 0x258]
call fcn.0043ed08
jmp 0x43c8dd
lea ecx, [ebp - 0x258]
call fcn.0043ed6c
cmp dword [ebp - 0x248], 0
je 0x43cb16
lea eax, [ebp - 0x308]
xor edi, edi
push eax
push 1
push edi
push ecx
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x218], edi
xor esi, esi
mov ecx, esp
and dword [ebp - 0x214], esi
push eax
mov dword [ebp - 0x21c], esi
call fcn.004050d6
lea ecx, [ebp - 0x270]
call fcn.00458fb0
push eax
lea ecx, [ebp - 0x5f8]
call fcn.004697d0
lea ecx, [ebp - 0x270]
call fcn.00459030
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00469990
cmp dword [ebp - 0x230], esi
je 0x43ca14
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x240]
call fcn.0045a010
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x608]
call fcn.0043f571
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00458f80
mov eax, dword [ebp - 0x608]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x604]
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.004402e9
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00469990
push eax
lea ecx, [ebp - 0x240]
call fcn.00459060
lea ecx, [ebp - 0x270]
call fcn.00459030
lea ecx, [ebp - 0x2d8]
call fcn.00459030
push 0
push 1
lea ecx, [ebp - 0x2b8]
call fcn.0040536f
cmp dword [ebp - 0x230], esi
jne 0x43c95a
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x21c]
sub edi, esi
sar edi, 5
test edi, edi
je 0x43cae9
mov byte [ebp - 0x5f9], 1
test ebx, ebx
jne 0x43ca3f
cmp dword [esi + 0x14], 8
jb 0x43ca36
mov eax, dword [esi]
jmp 0x43ca38
mov eax, esi
push eax
call fcn.0043ec4a
pop ecx
cmp ebx, 3
jne 0x43ca57
cmp dword [esi + 0x14], 8
jb 0x43ca4e
mov eax, dword [esi]
jmp 0x43ca50
mov eax, esi
push eax
call fcn.0043f002
pop ecx
xor dl, dl
mov ecx, esi
call fcn.004575a0
test al, al
je 0x43cadf
lea eax, [ebp - 0x270]
mov ecx, esi
push eax
call fcn.004599a0
cmp dword [ebp - 0x274], 8
mov ecx, dword [ebp - 0x288]
jae 0x43ca87
lea ecx, [ebp - 0x288]
push dword [ebp - 0x278]
push ecx
push dword [eax + 0x10]
push ecx
mov ecx, eax
call fcn.00409266
mov ebx, eax
lea ecx, [ebp - 0x270]
neg ebx
sbb bl, bl
call fcn.00459030
inc bl
mov ebx, dword [ebp - 0x600]
je 0x43cadf
mov eax, ebx
sub eax, 0
je 0x43cad6
dec eax
je 0x43cacc
dec eax
jne 0x43cadf
call fcn.004171a1
mov byte [eax + 2], 1
jmp 0x43cadf
call fcn.004171a1
mov byte [eax], 1
jmp 0x43cadf
call fcn.004171a1
mov byte [eax + 1], 1
add esi, 0x20
dec edi
jne 0x43ca28
call fcn.004171a1
mov ecx, eax
call fcn.0041713e
lea ecx, [ebp - 0x240]
call fcn.00459030
lea ecx, [ebp - 0x5f8]
call fcn.00469880
lea ecx, [ebp - 0x21c]
call fcn.004402b5
xor ebx, ebx
lea ecx, [ebp - 0x258]
push ebx
push 1
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x288]
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x2a0]
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x308]
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x338]
call fcn.0040536f
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x5f9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret