Function at 0x405e00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45ea64
mov eax, dword fs:[0]
push eax
mov eax, 0x2984
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x2980], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
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.0043e2c0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.004031d0
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.00403290
xor ebx, ebx
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
jle 0x406133
nop
push 0x206
lea eax, [esp + 0x217a]
xor edx, edx
push ebp
push eax
mov word [esp + 0x2180], dx
call fcn.0044ac90
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + ebx*8]
lea ecx, [eax + 0x860]
add esp, 0xc
test ecx, ecx
je 0x405edf
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 0x405ed0
cmp word [esp + 0x2174], bp
je 0x406124
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.0044ad7f
add esp, 0x14
mov dword [esp + 0x14], eax
mov byte [esp + 0x29a0], 1
cmp eax, ebp
je 0x405f56
push ebp
lea ecx, [esp + 0x2380]
push ecx
mov ecx, eax
call fcn.0043f710
mov dword [esp + 0x14], eax
jmp 0x405f5a
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x38]
call fcn.00404ba0
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.00441470
cmp eax, ebp
je 0x4060f5
cmp byte [esp + 0x29ac], 0
mov eax, dword [esp + 0x1f28]
mov dword [esp + 0x18], eax
je 0x405fa3
mov dword [esp + 0x18], ebp
xor ebx, ebx
cmp dword [esp + 0x18], ebp
jle 0x40606f
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 0x461a90
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
add esp, 0x10
cmp dword [esi + 0x444], edi
jle 0x40601b
lea ecx, [ecx]
mov eax, dword [esi + 0x440]
mov ebp, dword [eax + edi*8]
lea ecx, [esp + 0x1f6c]
push ecx
push ebp
call fcn.0044b362
add esp, 8
test eax, eax
je 0x4062ea
inc edi
cmp edi, dword [esi + 0x444]
jl 0x405ff0
push 0x210
call fcn.0044ad7f
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 0x406035
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x440]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], dl
call fcn.004075d0
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x405faf
xor edi, edi
cmp dword [esi + 0x444], edi
jle 0x4060ab
lea esp, [esp]
mov eax, dword [esi + 0x440]
mov ebp, dword [eax + edi*8]
lea ecx, [esp + 0x237c]
push ecx
push ebp
call fcn.0044b362
add esp, 8
test eax, eax
je 0x4062f5
inc edi
cmp edi, dword [esi + 0x444]
jl 0x406080
push 0x210
call fcn.0044ad7f
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 0x4060c5
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x440]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], 1
call fcn.004075d0
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp edi, ebp
je 0x40610f
mov ecx, edi
call fcn.00440470
push edi
call fcn.0044ad0a
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x29a0], 0
call fcn.00404d70
mov ebx, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
jl 0x405e90
mov ecx, dword [esi + 4]
push ebp
push 0x104
lea eax, [esp + 0x258c]
push eax
call fcn.00443190
cmp dword [esi + 0x444], ebp
mov dword [esp + 0x14], ebp
jle 0x406229
mov ecx, dword [esi + 0x440]
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.004434c0
xor edi, edi
cmp dword [esi + 0x45c], edi
jle 0x4061b6
mov ecx, dword [esi + 0x458]
mov eax, dword [ecx + edi*8]
push eax
lea edx, [esp + 0x1f70]
push edx
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x4061a5
xor bl, bl
inc edi
cmp edi, dword [esi + 0x45c]
jl 0x406185
test bl, bl
je 0x406214
mov ecx, dword [esi + 4]
lea eax, [esp + 0x2584]
push eax
push ebp
call fcn.00442110
test eax, eax
je 0x406214
push 0x210
call fcn.0044ad7f
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 0x4061e5
push 0xffffffffffffffff
push 1
push eax
lea ecx, [esi + 0x458]
mov dword [eax + 0x208], 1
mov byte [eax + 0x20c], dl
call fcn.004075d0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esi + 0x444]
mov dword [esp + 0x14], eax
jl 0x406159
push str._Image_FILES__n
call fcn.0043e2c0
xor edi, edi
add esp, 4
cmp dword [esi + 0x444], edi
jle 0x406267
mov eax, dword [esi + 0x440]
mov eax, dword [eax + edi*8]
mov ecx, dword [eax + 0x208]
push ecx
push eax
push str.____FILES___s__count__d__n
call fcn.0043e2c0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x444]
jl 0x406240
push str._Image_FOLDERS__n
call fcn.0043e2c0
xor edi, edi
add esp, 4
cmp dword [esi + 0x45c], edi
jle 0x4062a7
mov edi, edi
mov edx, dword [esi + 0x458]
mov eax, dword [edx + edi*8]
mov ecx, dword [eax + 0x208]
push ecx
push eax
push str.____FOLDER___s__count__d__n
call fcn.0043e2c0
inc edi
add esp, 0xc
cmp edi, dword [esi + 0x45c]
jl 0x406280
lea ecx, [esp + 0x20]
mov dword [esp + 0x29a0], 0xffffffff
call fcn.00404b90
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.0044ac80
add esp, 0x2990
ret 0xc
inc dword [ebp + 0x208]
jmp 0x406064
inc dword [ebp + 0x208]
jmp 0x4060f5