Function at 0x479468
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov eax, 0x585a54
push ebx
push esi
push edi
call fcn.0054c16c
mov word [ebp - 0x50], 8
xor edx, edx
mov dword [ebp - 4], edx
lea edx, [ebp - 0x184]
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x778]
push eax
push 0x57fe99
push edx
call fcn.0054f4a8
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x170]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x57fe9c
lea eax, [ebp - 0x170]
push eax
call fcn.0054bddc
add esp, 8
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x170]
push ecx
call fcn.0054bddc
add esp, 8
push 0x57fea9
lea eax, [ebp - 0x170]
push eax
call fcn.0054bddc
add esp, 8
push 0x15
push 0
mov edx, dword [ebp + 8]
add edx, 0x2ca8
push edx
call fcn.0054bd38
add esp, 0xc
push 0x100
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x2da8
push ecx
call fcn.0054bd38
add esp, 0xc
push 0x100
push 0
mov eax, dword [ebp + 8]
add eax, 0x2ea8
push eax
call fcn.0054bd38
mov word [ebp - 0x50], 0x20
add esp, 0xc
lea edx, [ebp - 0x170]
lea eax, [ebp - 8]
call fcn.00559dd8
mov edx, eax
inc dword [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.0055a0b8
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0055a088
mov dl, 1
mov eax, dword [0x5348a0]
call fcn.004087f0
mov dword [ebp - 0x64], eax
mov word [ebp - 0x50], 0x2c
xor ecx, ecx
mov dl, 1
mov dword [ebp - 0x6c], ecx
mov eax, dword [0x534a74]
mov word [ebp - 0x50], 0x2c
mov word [ebp - 0x50], 0x38
push 0
mov ecx, dword [ebp - 4]
call fcn.00537c04
mov dword [ebp - 0x6c], eax
lea edx, [ebp - 0x198]
mov ecx, 4
mov eax, dword [ebp - 0x6c]
mov ebx, dword [eax]
call dword [ebx + 4]
mov byte [ebp - 0x194], 0
lea eax, [ebp - 0x198]
mov edx, 0x57feae
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4796e1
test cl, cl
je 0x4795fa
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4796e1
add eax, 2
add edx, 2
test cl, cl
jne 0x4795d6
jne 0x4796e1
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x534b4c]
call fcn.00409d18
mov ebx, eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
mov eax, ebx
call fcn.00537aa4
xor edx, edx
mov eax, ebx
call fcn.005379f0
mov edx, ebx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov esi, ebx
mov dword [ebp - 0x10], esi
test esi, esi
je 0x479665
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x50], 0x50
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x44
mov eax, dword [ebp - 0x6c]
call fcn.005379fc
mov ebx, eax
mov eax, dword [ebp - 0x6c]
call fcn.005379e0
sub ebx, eax
mov dword [ebp - 0x68], ebx
mov edx, dword [ebp - 0x68]
push edx
call fcn.0054b378
mov ebx, eax
mov eax, dword [ebp - 0x6c]
pop ecx
mov edx, ebx
mov esi, dword [eax]
mov ecx, dword [ebp - 0x68]
call dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0xd8c], ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
mov dword [edx + 0xd90], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0xd70], 1
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x47971f
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x50], 0x68
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x5c
jmp 0x47971f
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x479709
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x50], 0x80
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0x74
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0xd70], eax
mov word [ebp - 0x50], 0x2c
jmp 0x479760
mov word [ebp - 0x50], 0xa4
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x2c], 0
je 0x479789
mov eax, dword [ebp - 0x2c]
jmp 0x47978e
mov eax, 0x57feb3
mov edx, dword [ebp + 8]
mov edi, eax
xor eax, eax
add edx, 0x2ca8
or ecx, 0xffffffff
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 0x2c]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x44]
call fcn.0055a088
mov word [ebp - 0x50], 0xb0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x44]
mov edx, 2
mov eax, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x30], 0
je 0x4797f1
mov eax, dword [ebp - 0x30]
jmp 0x4797f6
mov eax, 0x57feb4
mov edx, dword [ebp + 8]
mov edi, eax
xor eax, eax
add edx, 0x2da8
or ecx, 0xffffffff
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 0x30]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x44]
call fcn.0055a088
mov word [ebp - 0x50], 0xbc
xor ecx, ecx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x44]
mov edx, 3
mov eax, dword [ebp - 0x64]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x34], 0
je 0x479859
mov eax, dword [ebp - 0x34]
jmp 0x47985e
mov eax, 0x57feb5
mov edx, dword [ebp + 8]
mov edi, eax
xor eax, eax
add edx, 0x2ea8
or ecx, 0xffffffff
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 0x34]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x44]
call fcn.0055a088
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1094], eax
mov edx, dword [ebp + 8]
push edx
call fcn.004bb394
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1094], eax
mov word [ebp - 0x50], 0x14
jmp 0x4798c9
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], ebx
test ebx, ebx
je 0x4798f1
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
mov word [ebp - 0x50], 0xd4
mov edx, 3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x50], 0xc8
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0055a088
mov ecx, dword [ebp - 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret