Function at 0x478b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b78c0
push 0x40d810
mov eax, dword fs:[0]
push eax
add esp, 0xfffffd4c
mov eax, dword [0x4bc534]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0xc4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x478ba9
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3d
jge 0x478bed
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x478bc3
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478bd3
mov ecx, dword [ebp - 0x1c]
and ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
jmp 0x478beb
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478beb
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478ba0
mov dword [ebp - 4], 0xfffffffe
call fcn.00478bfb
jmp 0x478c0a
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0
jmp 0x478c23
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x15
jge 0x478c54
mov edx, dword [ebp - 0x24]
and edx, 0x80000001
jns 0x478c39
dec edx
or edx, 0xfffffffe
inc edx
cmp edx, 1
jne 0x478c49
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x478c52
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x478c1a
mov dword [ebp - 4], 0xfffffffe
call fcn.00478c62
jmp 0x478c80
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
jmp 0x478cae
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xc
jge 0x478cd4
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
jmp 0x478ca5
mov eax, dword [ebp - 0x1c]
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x478d0b
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0x18
jge 0x478d31
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], edx
jmp 0x478d02
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
jmp 0x478d68
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 0xf
jge 0x478d8e
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], edx
jmp 0x478d5f
mov eax, dword [ebp - 0x1c]
add eax, 0xf
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0
jmp 0x478db0
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 3
jge 0x478df4
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x478dca
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478dda
mov edx, dword [ebp - 0x1c]
and edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478df2
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478df2
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478da7
mov dword [ebp - 4], 0xfffffffe
call fcn.00478e02
jmp 0x478e11
mov dword [ebp - 0x68], 0
jmp 0x478e23
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 9
jge 0x478e36
mov edx, dword [ebp - 0x68]
not edx
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478e1a
cmp dword [ebp - 0x1c], 0xffff0001
jge 0x478e4a
mov eax, dword [ebp - 0x1c]
neg eax
imul eax, eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478e60
mov dword [ebp - 0x1c], 0xb
mov dword [ebp - 4], 3
mov dword [ebp - 0x6c], 0
jmp 0x478e79
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0xb
jge 0x478ebd
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x478e93
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478ea3
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x478ebb
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478ebb
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478e70
mov dword [ebp - 4], 0xfffffffe
call fcn.00478ecb
jmp 0x478eda
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], 2
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
jmp 0x478f08
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 7
jge 0x478f2e
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], edx
jmp 0x478eff
mov eax, dword [ebp - 0x1c]
add eax, 7
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x84], 0
jmp 0x478f52
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0xb
jge 0x478f6b
mov edx, dword [ebp - 0x84]
not edx
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478f43
cmp dword [ebp - 0x1c], 0xffff0001
jge 0x478f7f
mov eax, dword [ebp - 0x1c]
neg eax
imul eax, eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478f95
mov dword [ebp - 0x1c], 0xb
mov dword [ebp - 4], 4
mov dword [ebp - 0x88], 0
jmp 0x478fb7
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 0xf
jge 0x478ffe
mov eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x478fd4
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x478fe4
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x478ffc
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x478ffc
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
jmp 0x478fa8
mov dword [ebp - 4], 0xfffffffe
call fcn.0047900c
jmp 0x47901b
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x94], 2
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
jmp 0x47905e
mov ecx, dword [ebp - 0x9c]
add ecx, 1
mov dword [ebp - 0x9c], ecx
cmp dword [ebp - 0x9c], 5
jge 0x47909f
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x94]
mov dword [ebp - 0x1c], edx
jmp 0x47904f
mov eax, dword [ebp - 0x1c]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0xa0], 0
jmp 0x4790ca
mov ecx, dword [ebp - 0xa0]
add ecx, 1
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0xf
jge 0x479109
mov eax, dword [ebp - 0xa0]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x4790f9
mov eax, dword [ebp - 0xa0]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x479104
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x479107
mov dword [ebp - 0x1c], eax
jmp 0x4790bb
mov dword [ebp - 4], 0xfffffffe
call fcn.00479117
jmp 0x47911f
mov dword [ebp - 4], 6
mov dword [ebp - 0xa4], 0
jmp 0x479141
mov edx, dword [ebp - 0xa4]
add edx, 1
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 6
jge 0x479177
mov eax, dword [ebp - 0xa4]
and eax, 0x80000001
jns 0x47915c
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x47916c
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x479175
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x479132
mov dword [ebp - 4], 0xfffffffe
call fcn.00479185
jmp 0x4791a2
mov dword [ebp - 4], 7
mov dword [ebp - 0xa8], 0
jmp 0x4791c4
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
cmp dword [ebp - 0xa8], 4
jge 0x4791fa
mov eax, dword [ebp - 0xa8]
and eax, 0x80000001
jns 0x4791df
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x4791ef
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x4791f8
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x4791b5
mov dword [ebp - 4], 0xfffffffe
call fcn.00479208
jmp 0x479225
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
jmp 0x479268
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 8
jge 0x4792a9
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1c], eax
jmp 0x479259
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc0], 0
jmp 0x4792cd
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 4
jge 0x47930e
cmp dword [ebp - 0x1c], 0
jge 0x4792e4
mov eax, dword [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
je 0x4792fa
mov dword [ebp - 0x1c], 0
push 0xfa
lea edx, [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x4792be
mov dword [ebp - 4], 8
mov dword [ebp - 0x2c4], 0
jmp 0x479330
mov eax, dword [ebp - 0x2c4]
add eax, 1
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 3
jge 0x47936f
mov eax, dword [ebp - 0x2c4]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x47935f
mov eax, dword [ebp - 0x2c4]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x47936a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x47936d
mov dword [ebp - 0x1c], eax
jmp 0x479321
mov dword [ebp - 4], 0xfffffffe
call fcn.0047937d
jmp 0x479385
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc4]
xor ecx, ebp
call fcn.00408023
mov esp, ebp
pop ebp
ret