Function at 0x406650
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x467a64
mov eax, dword fs:[0]
push eax
mov eax, 0x2984
call fcn.00454790
mov eax, dword [0x48807c]
xor eax, esp
mov dword [esp + 0x2980], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48807c]
xor eax, esp
push eax
lea eax, [esp + 0x2998]
mov dword fs:[0], eax
mov edi, dword [esp + 0x29a8]
push str.LoadFileInUsed_n
mov esi, ecx
call fcn.004454c0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00407e20
mov eax, dword [esp + 0x29b0]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
xor ebp, ebp
push 7
push ebp
mov ecx, esi
mov dword [esp + 0x29b4], ebp
call fcn.004038b0
xor ebx, ebx
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
jle 0x406983
nop
push 0x206
lea eax, [esp + 0x217a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x2180], dx
call fcn.00453450
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + ebx*8]
lea ecx, [eax + 0x860]
add esp, 0xc
test ecx, ecx
je 0x40672f
add eax, 0x860
lea edx, [esp + 0x2174]
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x406720
cmp word [esp + 0x2174], bp
je 0x406974
push 0x104
lea edx, [esp + 0x2790]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 0x2174]
push eax
lea ecx, [esp + 0x2790]
push ecx
lea edx, [esp + 0x2384]
push str._sinf_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x4fc8
call fcn.004534f0
add esp, 0x14
mov dword [esp + 0x14], eax
mov byte [esp + 0x29a0], 1
cmp eax, ebp
je 0x4067a6
push ebp
lea ecx, [esp + 0x2380]
push ecx
mov ecx, eax
call fcn.00446910
mov dword [esp + 0x14], eax
jmp 0x4067aa
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x38]
call fcn.00405360
mov eax, dword [edi + ebx*8]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
add eax, 0x208
push eax
mov byte [esp + 0x29a8], 2
call fcn.00448670
cmp eax, ebp
je 0x406945
cmp byte [esp + 0x29ac], 0
mov eax, dword [esp + 0x1f28]
mov dword [esp + 0x18], eax
je 0x4067f3
mov dword [esp + 0x18], ebp
xor ebx, ebx
cmp dword [esp + 0x18], ebp
jle 0x4068bf
mov ecx, dword [esp + 0x1f24]
mov eax, dword [ecx + ebx*8]
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1f0c]
mov ecx, dword [ecx + edx*8]
add eax, 0x210
push eax
push ecx
lea edx, [esp + 0x1f74]
push 0x46ab98
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
add esp, 0x10
cmp dword [esi + 0x44c], edi
jle 0x40686b
lea ecx, [ecx]
mov eax, dword [esi + 0x448]
mov ebp, dword [eax + edi*8]
lea ecx, [esp + 0x1f6c]
push ecx
push ebp
call fcn.00453ad3
add esp, 8
test eax, eax
je 0x406b3a
inc edi
cmp edi, dword [esi + 0x44c]
jl 0x406840
push 0x210
call fcn.004534f0
lea ecx, [esp + 0x1f70]
mov edi, eax
mov edx, ecx
add esp, 4
sub edi, edx
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
test dx, dx
jne 0x406885
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x448]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], dl
call fcn.00403750
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x4067ff
xor edi, edi
cmp dword [esi + 0x44c], edi
jle 0x4068fb
lea esp, [esp]
mov eax, dword [esi + 0x448]
mov ebp, dword [eax + edi*8]
lea ecx, [esp + 0x237c]
push ecx
push ebp
call fcn.00453ad3
add esp, 8
test eax, eax
je 0x406b45
inc edi
cmp edi, dword [esi + 0x44c]
jl 0x4068d0
push 0x210
call fcn.004534f0
lea ecx, [esp + 0x2380]
mov edi, eax
mov edx, ecx
add esp, 4
sub edi, edx
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
test dx, dx
jne 0x406915
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x448]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], 1
call fcn.00403750
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp edi, ebp
je 0x40695f
mov ecx, edi
call fcn.00447670
push edi
call fcn.004534ca
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x29a0], 0
call fcn.00405530
mov ebx, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
jl 0x4066e0
mov ecx, dword [esi + 4]
push ebp
push 0x104
lea eax, [esp + 0x258c]
push eax
call fcn.0044a660
cmp dword [esi + 0x44c], ebp
mov dword [esp + 0x14], ebp
jle 0x406a79
mov ecx, dword [esi + 0x448]
mov edx, dword [esp + 0x14]
mov ebp, dword [ecx + edx*8]
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x1f70]
push eax
push ebp
mov bl, 1
call fcn.0044a990
xor edi, edi
cmp dword [esi + 0x464], edi
jle 0x406a06
mov ecx, dword [esi + 0x460]
mov eax, dword [ecx + edi*8]
push eax
lea edx, [esp + 0x1f70]
push edx
call fcn.00453ad3
add esp, 8
test eax, eax
jne 0x4069f5
xor bl, bl
inc edi
cmp edi, dword [esi + 0x464]
jl 0x4069d5
test bl, bl
je 0x406a64
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2584]
push eax
push ebp
call fcn.004495e0
test eax, eax
je 0x406a64
push 0x210
call fcn.004534f0
lea ecx, [esp + 0x1f70]
mov edi, eax
mov edx, ecx
add esp, 4
sub edi, edx
movzx edx, word [ecx]
mov word [edi + ecx], dx
add ecx, 2
test dx, dx
jne 0x406a35
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x460]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], dl
call fcn.00403750
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x44c]
mov dword [esp + 0x14], eax
jl 0x4069a9
push str._Image_FILES__n
call fcn.004454c0
xor edi, edi
add esp, 4
cmp dword [esi + 0x44c], edi
jle 0x406ab7
mov eax, dword [esi + 0x448]
mov eax, dword [eax + edi*8]
mov ecx, dword [eax + 0x208]
push ecx
push eax
push str.____FILES___s__count__d__n
call fcn.004454c0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x44c]
jl 0x406a90
push str._Image_FOLDERS__n
call fcn.004454c0
xor edi, edi
add esp, 4
cmp dword [esi + 0x464], edi
jle 0x406af7
mov edi, edi
mov edx, dword [esi + 0x460]
mov eax, dword [edx + edi*8]
mov ecx, dword [eax + 0x208]
push ecx
push eax
push str.____FOLDER___s__count__d__n
call fcn.004454c0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x464]
jl 0x406ad0
lea ecx, [esp + 0x20]
mov dword [esp + 0x29a0], 0xffffffff
call fcn.00405350
mov eax, 1
mov ecx, dword [esp + 0x2998]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2980]
xor ecx, esp
call fcn.00453432
add esp, 0x2990
ret 0xc
inc dword [ebp + 0x208]
jmp 0x4068b4
inc dword [ebp + 0x208]
jmp 0x406945