Function at 0x415940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x43b010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x694], eax
xor bl, bl
cmp dword [0x43e718], 0
je 0x415991
cmp dword [0x43e6e8], 0
je 0x415991
mov al, 1
jmp 0x415cd1
test eax, eax
je 0x415ccf
call fcn.00415850
push 0x104
push 0
push 0x104
mov dword [ebp - 0x698], eax
call fcn.004193be
add esp, 4
push eax
call fcn.0041a7b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4159e2
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4159e2
push esi
call fcn.00417993
add esp, 4
xor esi, esi
call fcn.00415cf0
cmp byte [0x43e5e0], 0
mov edi, 0x43e5e0
mov dword [ebp - 0x69c], eax
cmove edi, esi
cmp dword [ebp - 0x698], 0
je 0x415caf
test edi, edi
je 0x415caf
test eax, eax
je 0x415caf
mov eax, 0x5f
mov word [ebp - 0x68c], ax
mov eax, dword [str..log]
mov dword [ebp - 0x20], eax
movzx eax, byte [0x436814]
mov byte [ebp - 0x1c], al
mov eax, dword [str..mlk]
mov dword [ebp - 0x18], eax
movzx eax, byte [0x43681c]
push 0x5c
push dword [ebp - 0x694]
mov byte [ebp - 0x14], al
call fcn.004197b0
push 0x5c
push dword [ebp - 0x698]
mov dword [ebp - 0x694], eax
call fcn.004197b0
mov ecx, dword [ebp - 0x694]
add esp, 0x10
test ecx, ecx
je 0x415caf
test eax, eax
je 0x415caf
movdqu xmm0, xmmword [str._s_s_s_s_s_s_s_s_s_s]
inc eax
mov byte [ebp - 0x68d], 0
mov dword [ebp - 0x698], eax
inc ecx
mov eax, dword [0x436830]
mov dword [ebp - 0x28], eax
mov al, byte [0x436834]
push 0x207
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x25f]
push 0
push eax
mov dword [ebp - 0x694], ecx
movdqu xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x260], 0
call fcn.0041a7b0
add esp, 0xc
mov byte [ebp - 0x468], 0
lea eax, [ebp - 0x467]
push 0x207
push 0
push eax
call fcn.0041a7b0
add esp, 0xc
mov byte [ebp - 0x670], 0
lea eax, [ebp - 0x66f]
push 0x207
push 0
push eax
call fcn.0041a7b0
add esp, 0xc
lea ecx, [ebp - 0x670]
call fcn.00416510
lea eax, [ebp - 0x68d]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x68c]
push eax
push dword [ebp - 0x69c]
push eax
push dword [ebp - 0x694]
push eax
push dword [ebp - 0x698]
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x468]
push 0x208
push eax
call fcn.004193a2
add esp, 0x34
cmp eax, 0xffffffff
je 0x415caf
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x68c]
push eax
push dword [ebp - 0x69c]
push eax
push dword [ebp - 0x694]
push eax
push dword [ebp - 0x698]
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x260]
push 0x208
push eax
call fcn.004193a2
add esp, 0x34
cmp eax, 0xffffffff
je 0x415caf
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x688]
call fcn.0040a0e0
push 2
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x688]
call fcn.004165c0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x415c05
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x260]
push eax
call edi
mov dword [0x43e6e8], eax
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x688]
call fcn.0040a790
push 2
sub esp, 8
lea ecx, [ebp - 0x688]
call fcn.004165c0
cmp eax, 0xffffffff
jne 0x415c4c
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x468]
push eax
call edi
mov dword [0x43e718], eax
movdqu xmm0, xmmword [str._r_n_Leak_Report__r_n]
lea edx, [ebp - 0x58]
lea ecx, [edx + 1]
movdqu xmmword [ebp - 0x58], xmm0
movdqu xmm0, xmmword [0x436848]
movdqu xmmword [ebp - 0x48], xmm0
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x415c70
sub edx, ecx
lea ecx, [ebp - 0x58]
call fcn.00415d50
lea ecx, [ebp - 0x260]
call fcn.004151d0
cmp dword [0x43e718], 0
je 0x415ca2
cmp dword [0x43e6e8], 0
je 0x415ca2
mov bl, 1
jmp 0x415ca4
xor bl, bl
lea ecx, [ebp - 0x688]
call fcn.0040a140
test esi, esi
je 0x415cbc
push esi
call fcn.00417993
add esp, 4
mov eax, dword [ebp - 0x69c]
test eax, eax
je 0x415ccf
push eax
call fcn.00417993
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041729b
mov esp, ebp
pop ebp
ret