Function at 0x42b530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534c64
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x1f4], 0
push eax
call fcn.0042aa60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
push 0x105
push 0
push eax
call fcn.00504c70
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call fcn.00407550
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42b5d2
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x68746150
push ecx
push eax
mov dword [ebp - 0x18], 0x65707041
mov dword [ebp - 0x14], 0x41646e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x2c], eax
push str.F9A3F1D972FCB4410A92336018FBFDFA.tmp
lea eax, [ebp - 0x128]
push eax
mov eax, dword [esi + 0x2c]
call eax
push 0xb0
lea eax, [ebp - 0x1f0]
push 0
push eax
call fcn.00504c70
lea eax, [ebp - 0x188]
mov dword [ebp - 0x1f0], 0x56147c
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov byte [ebp - 4], 1
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f0]
push 0
mov dword [ebp - 0x1f4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1f4], eax
lea eax, [ebp - 0x1ec]
push eax
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1f0]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0040ba70
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1f4], eax
lea eax, [ebp - 0x1ec]
mov ecx, eax
mov dword [ebp - 0x1f8], eax
call fcn.0040b9e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ec]
push 0
push 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.0040b1e0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x128]
push ecx
push 2
push eax
lea ecx, [ebp - 0x1ec]
call fcn.0040b2e0
test eax, eax
lea ecx, [ebp - 0x1f0]
mov eax, dword [ebp - 0x1f0]
push 0
mov eax, dword [eax + 4]
jne 0x42b71d
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x42b72c
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push eax
call fcn.00403460
cmp dword [ebp - 0x12c], 0x10
lea edx, [ebp - 0x140]
push dword [ebp - 0x130]
cmovae edx, dword [ebp - 0x140]
lea ecx, [ebp - 0x1f0]
call fcn.004310d0
add esp, 4
lea esi, [ebp - 0x1ec]
cmp dword [ebp - 0x1a0], 0
jne 0x42b76d
xor esi, esi
jmp 0x42b794
lea ecx, [ebp - 0x1ec]
call fcn.0040b120
push dword [ebp - 0x1a0]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0050831e
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x1ec]
call fcn.0040b1e0
test esi, esi
jne 0x42b7d1
mov eax, dword [ebp - 0x1f0]
lea ecx, [ebp - 0x1f0]
push esi
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403460
call fcn.00407550
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42b7f8
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [esi + 0x18]
call eax
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f0]
call fcn.0042b890
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x42b852
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42b848
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b889
push edx
push ecx
call fcn.00502404
add esp, 8
mov dword [ebp - 0x130], 0
mov eax, esi
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret
call fcn.00509bb8
int3