Function at 0x103e042
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x10619c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 8
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], ecx
pop ecx
xor eax, eax
lea edi, reloc.Secur32.dll_LsaDeregisterLogonProcess
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
mov edi, 0x104
push edi
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push edx
call fcn.0103d308
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], eax
mov eax, dword [section..data]
mov esi, section..data
mov ebx, 0x100aaac
cmp eax, esi
je 0x103e0c4
test byte [eax + 0x1c], 1
je 0x103e0c4
lea ecx, reloc.Secur32.dll_LsaDeregisterLogonProcess
push ecx
push ebx
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010170e7
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x103e248
cmp word [eax], 0
je 0x103e248
push 0xffffffffffffffff
push 0x10099cc
push 0xffffffffffffffff
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x103e248
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x103e234
cmp eax, edi
jae 0x103e234
mov ecx, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
push 1
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call fcn.0103dd34
test eax, eax
jne 0x103e15c
mov eax, dword [section..data]
cmp eax, esi
je 0x103e265
test byte [eax + 0x1c], 4
je 0x103e265
push ebx
push 0x1c
jmp 0x103e25a
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push 0
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x103e1ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [section..data]
cmp ecx, esi
je 0x103e265
test byte [ecx + 0x1c], 4
je 0x103e265
push eax
push 0x100ab6c
push ebx
push 0x1d
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104e22f
jmp 0x103e265
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0
jne 0x103e209
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0x10000
ja 0x103e209
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
mov eax, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
push edi
add eax, 0xc5c
push eax
call fcn.0101b116
test eax, eax
jge 0x103e265
mov ecx, dword [section..data]
cmp ecx, esi
je 0x103e265
test byte [ecx + 0x1c], 4
je 0x103e265
push eax
push 0x10060d0
push ebx
push 0x1f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104e22f
jmp 0x103e265
mov eax, dword [section..data]
cmp eax, esi
je 0x103e265
test byte [eax + 0x1c], 4
je 0x103e265
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101d5f9
jmp 0x103e265
mov eax, dword [section..data]
cmp eax, esi
je 0x103e265
test byte [eax + 0x1c], 4
je 0x103e265
push ebx
push 0x1b
jmp 0x103e25a
mov eax, dword [section..data]
cmp eax, esi
je 0x103e265
test byte [eax + 0x1c], 4
je 0x103e265
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01017c98
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01041ea8
leave
ret 4