Function at 0x49b0c2
Capabilities:
Get common file path

Disassembly:
push 0x7dc
mov eax, 0x5305d6
call fcn.00527194
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x7e0], eax
mov eax, dword [0x54fca8]
push 0x3e8
push ebx
mov dword [ebp - 0x7d8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x7dc], ebx
mov eax, dword [eax + 0x130]
mov eax, dword [eax]
mov dword [ebp - 0x7d0], eax
lea eax, [ebp - 0x708]
push eax
call fcn.00528650
add esp, 0xc
lea ecx, [ebp - 0x320]
mov edi, 0x304
mov edx, edi
push 0x421974
call fcn.00462d04
test eax, eax
jne 0x49b703
push dword [ebp + 8]
mov edx, edi
lea ecx, [ebp - 0x320]
call fcn.00462d80
test eax, eax
jne 0x49b703
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x320]
push esi
mov edx, edi
call fcn.00462d80
test eax, eax
jne 0x49b703
cmp byte [esi], bl
je 0x49b196
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b16c
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
je 0x49b196
push 0x421b50
mov edx, edi
lea ecx, [ebp - 0x320]
call fcn.00462d80
test eax, eax
jne 0x49b703
push dword [ebp + 0x10]
mov edx, edi
lea ecx, [ebp - 0x320]
call fcn.00462d80
test eax, eax
jne 0x49b703
push dword [ebp + 0x14]
mov edx, edi
lea ecx, [ebp - 0x320]
call fcn.00462d80
test eax, eax
jne 0x49b703
push 0x421974
mov edx, edi
lea ecx, [ebp - 0x320]
call fcn.00462d80
test eax, eax
jne 0x49b703
mov edx, dword [0x54fca0]
mov eax, dword [edx + 0x134]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x7cc], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49b1f9
sub ecx, esi
mov eax, 0x100
lea esi, [ecx + 0x64]
test word [edx + 0x1e], ax
je 0x49b213
lea esi, [ecx + 0x7e]
push esi
call fcn.00526210
pop ecx
mov ecx, dword [0x54fca0]
mov edi, eax
push 0x5d
mov dword [ebp - 0x7e4], edi
call fcn.004678e1
test eax, eax
mov eax, 0x3e8
push eax
push eax
je 0x49b2af
push eax
push 0x43f180
push esi
push edi
call fcn.00462def
add esp, 0x18
test eax, eax
jne 0x49b703
push dword [ebp - 0x7cc]
mov edx, esi
mov ecx, edi
call fcn.00462d80
test eax, eax
jne 0x49b703
mov eax, dword [0x54fca0]
mov ecx, 0x100
test word [eax + 0x1e], cx
je 0x49b28f
push 0x43f1cc
mov edx, esi
mov ecx, edi
call fcn.00462d80
test eax, eax
jne 0x49b703
lea ecx, [ebp - 0x708]
call fcn.0049ba49
test al, al
jne 0x49b2c0
lea eax, [ebp - 0x708]
push eax
mov esi, 0x3f8
jmp 0x49b6f7
push 0x43f1b0
push esi
push edi
call fcn.00462def
add esp, 0x14
jmp 0x49b24a
push 0x3e8
call fcn.00526210
mov esi, dword [ebp - 0x7e0]
pop ecx
push eax
push ebx
mov dword [esi], eax
lea eax, [ebp - 0x708]
push 0x43f1e8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x49b3a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push ecx
lea ecx, [ebp - 0xcc]
mov esi, eax
call fcn.0047cc19
mov edx, esi
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x720]
call fcn.004c89f6
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x49b323
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.00491ed1
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], bl
call fcn.0047c9d0
mov edx, 0x43f1f0
lea ecx, [ebp - 0xbc]
call fcn.0047ef59
lea edx, [ebp - 0x708]
mov ecx, eax
call fcn.0047ef59
lea eax, [ebp - 0x720]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0047cb69
cmp dword [eax + 0x14], 0x10
jb 0x49b376
mov eax, dword [eax]
push eax
mov esi, 0x3f8
xor edx, edx
push esi
xor ecx, ecx
call fcn.004c885f
lea ecx, [ebp - 0x720]
call fcn.0047c9d0
lea ecx, [ebp - 0xcc]
call fcn.0047c1a4
jmp 0x49b701
push 0x20
push 0x421bbc
push dword [esi]
call fcn.00510879
add esp, 0xc
mov dword [ebp - 0x7e8], eax
test eax, eax
jne 0x49b41e
push ecx
push ecx
lea ecx, [ebp - 0xcc]
call fcn.0047cc19
lea ecx, [ebp - 0x720]
mov dword [ebp - 4], 2
call fcn.004c8abe
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x49b3ea
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.00491ed1
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], 2
call fcn.0047c9d0
mov edx, 0x43f200
lea ecx, [ebp - 0xbc]
call fcn.0047ef59
mov edx, dword [esi]
jmp 0x49b355
push eax
call fcn.0050bafb
cmp dword [0x54c230], 0xffffffff
mov esi, eax
pop ecx
jne 0x49b446
push 1
call fcn.00511e29
mov dword [0x54c230], eax
pop ecx
cmp eax, 0xffffffff
je 0x49b6f1
push 1
push esi
call fcn.005106b6
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x49b6f1
mov ecx, dword [0x54fca0]
push 0x39
call fcn.004678e1
push 2
pop esi
test eax, eax
je 0x49b4dc
push 0x421bbc
push 0x43ca38
mov dword [ebp - 0x7d8], 1
call fcn.00510884
mov dword [ebp - 0x7dc], eax
pop ecx
pop ecx
test eax, eax
jne 0x49b49c
push 0x43ca38
jmp 0x49b2a5
push eax
call fcn.0050bafb
or dword [0x54c22c], 0xffffffff
push esi
mov dword [ebp - 0x7cc], eax
call fcn.00511e29
mov dword [0x54c22c], eax
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x49b6f1
push esi
push dword [ebp - 0x7cc]
call fcn.005106b6
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x49b6f1
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x720]
call fcn.0047cac3
lea edx, [ebp - 0x720]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x7c8]
call fcn.004c8f01
mov dword [ebp - 0x7d4], eax
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x49b51e
mov eax, dword [eax]
mov dword [ebp - 0x7d4], eax
push edi
lea ecx, [ebp - 0x768]
call fcn.0047cac3
lea edx, [ebp - 0x768]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7b0]
call fcn.004c8f01
mov dword [ebp - 0x7cc], eax
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x49b557
mov eax, dword [eax]
mov dword [ebp - 0x7cc], eax
push dword [ebp - 0x7d0]
lea ecx, [ebp - 0x750]
call fcn.0047cac3
lea edx, [ebp - 0x750]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x798]
call fcn.004c8f01
mov edi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 8
jb 0x49b58b
mov edi, dword [edi]
push dword [ebp - 0x7d0]
lea ecx, [ebp - 0x738]
call fcn.0047cac3
lea edx, [ebp - 0x738]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x780]
call fcn.004c8f01
cmp dword [eax + 0x14], 8
jb 0x49b5b9
mov eax, dword [eax]
push ebx
push dword [ebp - 0x7d4]
push dword [ebp - 0x7cc]
push edi
push eax
push ebx
call fcn.0051201e
add esp, 0x18
lea ecx, [ebp - 0x780]
mov edi, eax
call fcn.0047de9f
lea ecx, [ebp - 0x738]
call fcn.0047c9d0
lea ecx, [ebp - 0x798]
call fcn.0047de9f
lea ecx, [ebp - 0x750]
call fcn.0047c9d0
lea ecx, [ebp - 0x7b0]
call fcn.0047de9f
lea ecx, [ebp - 0x768]
call fcn.0047c9d0
lea ecx, [ebp - 0x7c8]
call fcn.0047de9f
lea ecx, [ebp - 0x720]
call fcn.0047c9d0
push dword [ebp - 0x7e4]
call fcn.005261fb
push dword [ebp - 0x7e8]
call fcn.00510912
push 1
push dword [0x54c230]
call fcn.005106b6
add esp, 0x10
cmp dword [ebp - 0x7d8], 0
je 0x49b674
push dword [ebp - 0x7dc]
call fcn.00510912
push esi
push dword [0x54c22c]
call fcn.005106b6
add esp, 0xc
cmp edi, 0xffffffff
jne 0x49b6b0
call fcn.0050ac65
mov eax, dword [eax]
sub eax, esi
je 0x49b6a3
sub eax, 6
je 0x49b69c
sub eax, 4
je 0x49b695
mov ebx, 0x3ec
jmp 0x49b6a8
mov ebx, 0x7d5
jmp 0x49b6a8
mov ebx, 0x3ee
jmp 0x49b6a8
mov ebx, 0x3ed
push dword [ebp - 0x7d0]
jmp 0x49b6d5
test edi, edi
je 0x49b6ed
push edi
push 0x43f20c
lea eax, [ebp - 0x1c]
push 0xa
push eax
call fcn.00462def
add esp, 0x10
test eax, eax
jne 0x49b703
lea eax, [ebp - 0x1c]
mov ebx, 0x3eb
push eax
push ebx
xor edx, edx
xor ecx, ecx
call fcn.004c885f
mov eax, dword [ebp - 0x7e0]
push dword [eax]
call fcn.0050a7d6
pop ecx
mov eax, ebx
jmp 0x49b703
push ebx
mov esi, 0x3fa
push esi
xor edx, edx
xor ecx, ecx
call fcn.004c885f
mov eax, esi
call fcn.0052713e
ret 0x14