Function at 0x4d4140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557992
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5932e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
push 0x800
lea ecx, [ebp - 0x138]
movq qword [ebp - 0x138], xmm0
call fcn.00409780
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x138]
push esi
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov ecx, esi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d41d0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x168]
call fcn.00409ab0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409940
mov edi, eax
cmp edi, 0x59a908
je 0x4d4238
mov ecx, 0x59a908
call fcn.00409830
movups xmm0, xmmword [edi]
movups xmmword [0x59a908], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x59a918], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4d4272
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d451d
push edx
push ecx
call fcn.005150f8
add esp, 8
push str._test
mov edx, 0x59a908
lea ecx, [ebp - 0x150]
call fcn.00409c80
push 0xc0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00517340
add esp, 8
lea eax, [ebp - 0x150]
lea ecx, [ebp - 0x228]
push 0x22
push eax
call fcn.00430a80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x21c], 6
je 0x4d4431
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x4d443c
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d4310
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409ab0
push ecx
push 0x5c
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 4
call fcn.004561b0
push eax
push 0
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0043c3d0
push 1
push 0x577acc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00409bf0
mov ecx, 0x59a908
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x240], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x230], xmm0
mov byte [eax], 0
call fcn.00409830
movups xmm0, xmmword [ebp - 0x240]
movups xmmword [0x59a908], xmm0
movq xmm0, qword [ebp - 0x230]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x244]
movq qword [0x59a918], xmm0
cmp edx, 0x10
jb 0x4d43f3
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d43e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4522
push edx
push ecx
call fcn.005150f8
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4d4431
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4527
push edx
push ecx
call fcn.005150f8
add esp, 8
lea ecx, [ebp - 0x228]
call fcn.00430a10
lea ecx, [ebp - 0x228]
call fcn.0042f5a0
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x4d4481
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d452c
push edx
push ecx
call fcn.005150f8
add esp, 8
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x4d44d2
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d44c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4531
push edx
push ecx
call fcn.005150f8
add esp, 8
test esi, esi
je 0x4d4502
mov ecx, dword [ebp - 0x130]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4d44f8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d4536
push ecx
push esi
call fcn.005150f8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
call fcn.00519e03
int3