Function at 0x413b10
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44843b
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x461054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov edi, dword [ebp + 8]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 0x664], edi
cmp eax, 1
jb 0x413e33
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x413b68
mov eax, dword [edx]
push 1
push 0x44be84
push ecx
push eax
push edx
push dword [ebp - 0x664]
lea ecx, [ebp - 0x648]
call fcn.00413860
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
jb 0x413b98
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x648]
call fcn.0040ca30
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x61c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x630], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x620], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x634]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x413c31
mov ecx, dword [ebp - 0x648]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e38
push edx
push ecx
call fcn.0042c7bf
add esp, 8
xor eax, eax
mov dword [ebp - 0x638], 0
cmp dword [ebp - 0x61c], 8
lea ecx, [ebp - 0x218]
mov word [ebp - 0x648], ax
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push ecx
push eax
push 0
push 0
push 0x4026
push 0
mov dword [ebp - 0x634], 7
call sub.SHELL32.dll_SHGetFolderPathAndSubDirW
mov dword [ebp - 0x668], eax
test eax, eax
jns 0x413d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x664], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x668]
push esi
push eax
push 0x65
push 0x44be9c
lea eax, [ebp - 0x618]
push str._s__d_:___u__u__hr0x_x__SB__n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x413ce9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x413ce9
lea eax, [ebp - 0x618]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x664]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov edx, dword [ebp - 0x61c]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp edx, 8
jb 0x413d59
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413d4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413e2e
push edx
push ecx
call fcn.0042c7bf
add esp, 8
mov eax, edi
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.0042cc35
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x660], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 7
lea edx, [ecx + 2]
mov byte [ebp - 4], 4
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413da3
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x660]
call fcn.0040ccc0
movups xmm0, xmmword [ebp - 0x660]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x650]
movq qword [edi + 0x10], xmm0
mov edx, dword [ebp - 0x61c]
cmp edx, 8
jb 0x413d59
mov ecx, dword [ebp - 0x630]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413d4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x413d4f
call fcn.00430d2f
call fcn.0040c3f0
call fcn.00430d2f
int3