Function at 0x574ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x575844
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
mov dword [ebp - 8], 0x80004005
push 0x104
call fcn.0040778c
pop ecx
mov dword [ebp - 0xc], eax
push 0x104
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jne 0x574f86
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040779c
pop ecx
jmp 0x57581e
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0040d014
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040779c
pop ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x574fa7
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x574fbe
lea eax, [ebp - 4]
mov edx, 0x575860
call fcn.0040597c
lea eax, [ebp - 0x90]
mov ecx, 0x57586c
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x1c]
call fcn.00574db0
lea eax, [ebp - 0x94]
mov ecx, 0x575880
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x2c]
call fcn.00574db0
lea eax, [ebp - 0x98]
mov ecx, 0x575894
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x3c]
call fcn.00574db0
lea eax, [ebp - 0x9c]
mov ecx, 0x5758a8
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x4c]
call fcn.00574db0
lea eax, [ebp - 0xa0]
mov ecx, 0x5758bc
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x5c]
call fcn.00574db0
lea eax, [ebp - 0xa4]
mov ecx, 0x5758d0
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x6c]
call fcn.00574db0
lea eax, [ebp - 0xa8]
mov ecx, 0x5758e4
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x7c]
call fcn.00574db0
lea eax, [ebp - 0xac]
mov ecx, 0x5758f8
mov edx, dword [ebp - 4]
call fcn.004059c0
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0x8c]
call fcn.00574db0
push 0x5f
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 2
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x5750fd
cmp eax, 0
jb 0x57510c
jmp 0x5750ff
jl 0x57510c
mov dword [ebx], 1
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x448
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 3
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575143
cmp eax, 0
jb 0x575152
jmp 0x575145
jl 0x575152
mov dword [ebx], 2
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x44
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 4
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575186
cmp eax, 0
jb 0x575195
jmp 0x575188
jl 0x575195
mov dword [ebx], 3
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x46
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 4
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x2c]
call fcn.00574c64
cmp edx, 0
jne 0x5751c9
cmp eax, 0
jb 0x5751d8
jmp 0x5751cb
jl 0x5751d8
mov dword [ebx], 3
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x61
push 0x9b
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 5
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x57520f
cmp eax, 0
jb 0x57521e
jmp 0x575211
jl 0x57521e
mov dword [ebx], 5
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x13e
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 6
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575255
cmp eax, 0
jb 0x575264
jmp 0x575257
jl 0x575264
mov dword [ebx], 6
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x1b4
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 6
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x57529b
cmp eax, 0
jb 0x5752ac
jmp 0x57529d
jl 0x5752ac
mov dword [ebx], 6
mov dword [esi], 1
mov byte [edi], 0x20
push 0x206
lea eax, [ebp - 0xbc]
push eax
mov ecx, 3
mov edx, 6
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x3c]
call fcn.00574c64
cmp edx, 0
jne 0x5752e6
cmp eax, 0
jb 0x5752f7
jmp 0x5752e8
jl 0x5752f7
mov dword [ebx], 6
mov dword [esi], 1
mov byte [edi], 0x61
cmp dword [ebp - 0x1c], 4
jne 0x575336
push 0x2bc
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 7
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575334
cmp eax, 0
jae 0x575372
jmp 0x575336
jge 0x575372
cmp dword [ebp - 0x1c], 5
jne 0x57537f
push 1
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x884
xor edx, edx
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575370
cmp eax, 0
jb 0x57537f
jmp 0x575372
jl 0x57537f
mov dword [ebx], 7
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
push 0x2cc
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 7
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x4c]
call fcn.00574c64
cmp edx, 0
jne 0x5753b6
cmp eax, 0
jb 0x5753c5
jmp 0x5753b8
jl 0x5753c5
mov dword [ebx], 7
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x61
cmp dword [ebp - 0x1c], 4
jne 0x575404
push 0x190
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 8
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575402
cmp eax, 0
jae 0x575446
jmp 0x575404
jge 0x575446
cmp dword [ebp - 0x1c], 5
jne 0x575453
push 0x190
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x8d2
mov edx, 1
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x1c]
call fcn.00574c64
cmp edx, 0
jne 0x575444
cmp eax, 0
jb 0x575453
jmp 0x575446
jl 0x575453
mov dword [ebx], 8
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
cmp dword [ebp - 0x5c], 4
jne 0x575495
push 0x371
lea eax, [ebp - 0xbc]
push eax
mov ecx, 1
mov edx, 8
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x5c]
call fcn.00574c64
cmp edx, 0
jne 0x575493
cmp eax, 0
jae 0x5754d7
jmp 0x575495
jge 0x5754d7
cmp dword [ebp - 0x5c], 5
jne 0x5754e6
push 0x371
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0xa28
mov edx, 1
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x5c]
call fcn.00574c64
cmp edx, 0
jne 0x5754d5
cmp eax, 0
jb 0x5754e6
jmp 0x5754d7
jl 0x5754e6
mov dword [ebx], 8
mov dword [esi], 1
mov byte [edi], 0x20
cmp dword [ebp - 0x5c], 4
jne 0x575528
push 0x385
lea eax, [ebp - 0xbc]
push eax
mov ecx, 1
mov edx, 8
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x5c]
call fcn.00574c64
cmp edx, 0
jne 0x575526
cmp eax, 0
jae 0x57556a
jmp 0x575528
jge 0x57556a
cmp dword [ebp - 0x5c], 5
jne 0x575579
push 0x385
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0xa28
mov edx, 1
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x5c]
call fcn.00574c64
cmp edx, 0
jne 0x575568
cmp eax, 0
jb 0x575579
jmp 0x57556a
jl 0x575579
mov dword [ebx], 8
mov dword [esi], 1
mov byte [edi], 0x61
push 0x375
lea eax, [ebp - 0xbc]
push eax
mov ecx, 1
mov edx, 3
mov eax, 6
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x6c]
call fcn.00574c64
cmp edx, 0
jne 0x5755b3
cmp eax, 0
jb 0x5755c4
jmp 0x5755b5
jl 0x5755c4
mov dword [ebx], 8
mov dword [esi], 1
mov byte [edi], 0x62
cmp dword [ebp - 0x7c], 4
jne 0x575603
push 0x86
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 9
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x7c]
call fcn.00574c64
cmp edx, 0
jne 0x575601
cmp eax, 0
jae 0x575645
jmp 0x575603
jge 0x575645
cmp dword [ebp - 0x7c], 5
jne 0x575654
push 0x86
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0xe5d
mov edx, 2
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x7c]
call fcn.00574c64
cmp edx, 0
jne 0x575643
cmp eax, 0
jb 0x575654
jmp 0x575645
jl 0x575654
mov dword [ebx], 8
mov dword [esi], 2
mov byte [edi], 0x20
cmp dword [ebp - 0x8c], 4
jne 0x575699
push 0x384
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 9
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x575697
cmp eax, 0
jae 0x5756de
jmp 0x575699
jge 0x5756de
cmp dword [ebp - 0x8c], 5
jne 0x5756eb
push 0x384
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 3
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x5756dc
cmp eax, 0
jb 0x5756eb
jmp 0x5756de
jl 0x5756eb
mov dword [ebx], 9
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x20
cmp dword [ebp - 0x8c], 4
jne 0x575730
push 0x385
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 9
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x57572e
cmp eax, 0
jae 0x575775
jmp 0x575730
jge 0x575775
cmp dword [ebp - 0x8c], 5
jne 0x575782
push 0x385
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 3
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x575773
cmp eax, 0
jb 0x575782
jmp 0x575775
jl 0x575782
mov dword [ebx], 9
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x61
cmp dword [ebp - 0x8c], 4
jne 0x5757c7
push 0x386
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 9
mov eax, 4
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x5757c5
cmp eax, 0
jae 0x57580c
jmp 0x5757c7
jge 0x57580c
cmp dword [ebp - 0x8c], 5
jne 0x575819
push 0x386
lea eax, [ebp - 0xbc]
push eax
xor ecx, ecx
mov edx, 3
mov eax, 5
call fcn.00574ed4
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x8c]
call fcn.00574c64
cmp edx, 0
jne 0x57580a
cmp eax, 0
jb 0x575819
jmp 0x57580c
jl 0x575819
mov dword [ebx], 9
xor eax, eax
mov dword [esi], eax
mov byte [edi], 0x62
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57584b
lea eax, [ebp - 0xac]
mov edx, 8
call fcn.004056a8
lea eax, [ebp - 4]
call fcn.00405684
ret