Function at 0x49d690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov dword [ebp - 0x18], 0x49fe387
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x7c], 0x24f8
mov dword [ebp - 0x78], 0x24f8
mov dword [ebp - 0x74], 0x24f8
mov dword [ebp - 0x70], 0x24f8
mov dword [ebp - 4], 0
push 2
lea ecx, [ebp - 0x28]
call fcn.00428070
mov dword [ebp - 0x14], 0x653d4237
mov dword [ebp - 0x84], 0x8a3e09e1
mov dword [ebp - 0x1c], 0
jmp 0x49d6f8
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x49d712
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov dword [eax], 0xffffffff
jmp 0x49d6ef
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x49d72d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x49da12
mov dword [ebp - 0x10], 0x9dce
mov dword [ebp - 0x6c], 5
mov dword [ebp - 0x68], 0xffffffff
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov dword [eax], 0x591b68de
mov dword [ebp - 4], 0
jmp 0x49d770
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 1
jg 0x49da0d
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004281c0
cmp dword [eax], 0
je 0x49d8d7
mov dword [ebp - 0x2c], 0x9ab8
mov dword [ebp - 0xc], 4
jmp 0x49d7a8
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x49d7d3
mov dword [ebp - 0x14], 0
jmp 0x49d7c0
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x1d
jg 0x49d7d1
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x49d7b7
jmp 0x49d79f
push 1
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov esi, eax
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov edx, dword [esi]
imul edx, dword [eax]
cmp edx, dword [ebp - 0xc]
je 0x49d7fe
mov dword [ebp - 0x60], 1
jmp 0x49d805
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jl 0x49d82a
mov edx, 1
test edx, edx
je 0x49d82a
mov dword [ebp - 0x54], 1
jmp 0x49d831
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x54]
cmp dword [ebp - 0x10], eax
jl 0x49d846
mov dword [ebp - 0x64], 1
jmp 0x49d84d
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
cmp ecx, dword [ebp - 0x2c]
jne 0x49d87c
mov dword [ebp - 0x34], 1
jmp 0x49d883
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
cmp dword [ebp - 0x34], 0xa1b14898
jbe 0x49d8a6
mov dword [ebp - 0x40], 1
jmp 0x49d8ad
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0
jne 0x49d8c5
mov edx, 0xffff
test edx, edx
je 0x49d8c5
mov dword [ebp - 0x58], 1
jmp 0x49d8cc
mov dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
jmp 0x49da08
mov dword [ebp - 0x30], 0x33490ce6
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
cmp dword [eax], 0
jne 0x49d907
mov edx, 4
imul eax, edx, 3
cmp dword [ebp + eax - 0x7c], 0
jne 0x49d907
mov dword [ebp - 0x50], 0
jmp 0x49d90e
mov dword [ebp - 0x50], 1
mov dword [ebp - 0xc], 0x5b7518d
cmp dword [ebp - 0xc], 0
jne 0x49d935
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
cmp dword [eax], 0
jne 0x49d935
mov dword [ebp - 0x38], 0
jmp 0x49d93c
mov dword [ebp - 0x38], 1
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x38], edx
jne 0x49d94d
mov dword [ebp - 0x4c], 1
jmp 0x49d954
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
add eax, 7
mov dword [ebp - 0x30], eax
jne 0x49d963
cmp dword [ebp - 0x30], 0
mov ecx, 0x4a53e8af
neg ecx
jne 0x49d979
xor edx, edx
jne 0x49d979
mov dword [ebp - 0x5c], 0
jmp 0x49d980
mov dword [ebp - 0x5c], 1
cmp dword [ebp - 0x5c], 0x6ac3
jge 0x49d992
mov dword [ebp - 0x44], 1
jmp 0x49d999
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x44]
je 0x49d9aa
mov dword [ebp - 0x48], 1
jmp 0x49d9b1
mov dword [ebp - 0x48], 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jl 0x49d9cb
mov dword [ebp - 0x3c], 1
jmp 0x49d9d2
mov dword [ebp - 0x3c], 0
mov esi, dword [ebp - 0x50]
sub esi, dword [ebp - 0x3c]
mov edx, 4
imul eax, edx, 0
sub esi, dword [ebp + eax - 0x7c]
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004281c0
mov dword [eax], esi
mov byte [ebp - 5], 0
movzx edx, byte [ebp - 5]
test edx, edx
je 0x49da08
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x49d767
jmp 0x49d724
lea ecx, [ebp - 0x28]
call fcn.004281a0
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0x4ba3
movzx eax, byte [ebp + 0xc]
push eax
call fcn.0049df60
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret