Function at 0x300d627c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x68c
push ebx
push esi
push 0x14
mov dword [ebp + 0x60], ecx
pop ecx
push 5
pop eax
mov dword [ebp - 8], eax
mov dword [ebp + 0x30], eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x28]
xor ebx, ebx
push eax
push 0x4b
push ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
xor esi, esi
mov dword [ebp + 0x50], ecx
mov dword [ebp - 0x14], 4
mov dword [ebp + 4], 1
mov dword [ebp + 0x10], 3
mov dword [ebp + 0x1c], 2
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
call dword [0x302a7eb8]
test eax, eax
je 0x300d64ed
mov eax, dword [ebp + 8]
and al, 4
sub al, 4
neg al
sbb eax, eax
inc eax
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0x6c], eax
je 0x300d6312
push dword [ebp - 0x10]
call fcn.30032c48
pop ecx
push dword [ebp - 0x10]
mov dword [ebp + 0x68], eax
call dword [sym.imp.kernel32.dll_GlobalFree]
push edi
mov edi, dword [ebp + 0x14]
cmp edi, ebx
je 0x300d632e
push dword [ebp + 0x78]
call fcn.3008862e
pop ecx
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp + 0x20], ebx
je 0x300d634c
cmp esi, ebx
jne 0x300d6343
push dword [ebp + 0x20]
call fcn.30032c48
pop ecx
mov dword [ebp + 0x64], eax
push dword [ebp + 0x20]
call dword [sym.imp.kernel32.dll_GlobalFree]
cmp dword [ebp + 0x6c], ebx
je 0x300d64de
mov eax, dword [ebp + 0x60]
cmp dword [eax], ebx
je 0x300d64de
cmp dword [ebp + 0x68], ebx
jne 0x300d6399
push 3
push 0x400
lea eax, [ebp - 0x61c]
push eax
call dword [0x302a7eac]
test eax, eax
je 0x300d64ec
lea eax, [ebp - 0x61c]
push eax
call fcn.30032c48
cmp eax, ebx
pop ecx
mov dword [ebp + 0x68], eax
je 0x300d64ec
cmp dword [0x302a7ec0], ebx
lea eax, [ebp + 0x3c]
mov dword [ebp + 0x3c], 0x300d61af
mov dword [ebp + 0x40], 0x300d61db
mov dword [ebp + 0x44], 0x300d60d4
mov dword [ebp + 0x48], 0x300d6217
mov dword [ebp + 0x60], eax
jne 0x300d6450
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x300d6444
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x300d6444
mov eax, dword [0x302a7ebc]
cmp eax, ebx
je 0x300d6444
push ebx
push ebx
lea ecx, [ebp - 0x118]
push ecx
push dword [ebp + 0x68]
push ebx
call eax
test eax, eax
jne 0x300d6444
lea eax, [ebp - 0x118]
push eax
call fcn.3022ba80
inc eax
push eax
call fcn.300367dc
cmp eax, ebx
pop ecx
pop ecx
mov dword [0x302a7ec0], eax
je 0x300d64de
lea ecx, [ebp - 0x118]
push ecx
push eax
call fcn.3022bdd0
pop ecx
pop ecx
cmp dword [0x302a7ec0], ebx
je 0x300d64de
push ebx
lea eax, [ebp + 0x60]
push eax
push ebx
push dword [0x302a7ec0]
push ebx
call dword [0x302a7eb4]
test eax, eax
je 0x300d64de
push dword [ebp + 0x7c]
lea esi, [ebp + 0x54]
push dword [ebp + 0x78]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
call fcn.300d5b6b
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
pop ecx
pop ecx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x6c]
push eax
push dword [ebp + 0x78]
call fcn.3022ba80
pop ecx
push eax
push dword [ebp + 0x78]
push esi
push edi
call dword [0x302a7ea8]
test eax, eax
je 0x300d64ce
cmp dword [ebp + 0x6c], ebx
je 0x300d64ce
push dword [ebp + 0x6c]
call fcn.30032c48
pop ecx
mov esi, eax
call fcn.3008862e
push dword [ebp + 0x6c]
mov dword [ebp + 0x64], eax
call dword [sym.imp.kernel32.dll_GlobalFree]
push ebx
push ebx
call dword [0x302a7eb0]
lea ecx, [ebp + 0x54]
call fcn.300046b5
cmp dword [ebp + 0x68], ebx
je 0x300d64ec
push dword [ebp + 0x68]
call fcn.300367ec
pop ecx
pop edi
mov eax, dword [ebp + 0x64]
pop esi
pop ebx
add ebp, 0x70
leave
ret 8