Function at 0x44cc00
Capabilities:
Get common file path
Get file size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a80e6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
xor edx, edx
movlpd qword [ebp - 0xe8], xmm0
mov esi, 0x539578
movups xmmword [ebp - 0x110], xmm0
movlpd qword [ebp - 0xf0], xmm0
movups xmmword [ebp - 0x100], xmm0
nop dword [eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x44cc98
add esi, 4
inc edx
cmp esi, 0x539708
jl 0x44cc70
or eax, 0xffffffff
jmp 0x44d12e
shl edx, 0xc
add edx, 0x4d5578
mov dword [ebp - 0x160], edx
jne 0x44ccb1
or eax, 0xffffffff
jmp 0x44d12e
cmp dword [0x4cfa78], 0x10
lea ecx, [ebp - 0x128]
mov esi, 0x4cfa64
mov dword [ebp - 0x118], 0
cmovae esi, dword [0x4cfa64]
mov edx, 0x4cfa64
add esi, dword [0x4cfa74]
cmp dword [0x4cfa78], 0x10
mov dword [ebp - 0x114], 7
cmovae edx, dword [0x4cfa64]
xor eax, eax
mov word [ebp - 0x128], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x15c], edx
push eax
call fcn.00442b10
push dword [ebp - 0x160]
lea ecx, [ebp - 0x128]
push esi
push dword [ebp - 0x15c]
call fcn.00442df0
mov dword [ebp - 4], 0
cmp word [0x4d5370], 0
jne 0x44cd5b
push 0x4d5370
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44cd5b
or esi, 0xffffffff
jmp 0x44d0f0
cmp dword [0x4cfa60], 0x10
lea ecx, [ebp - 0x140]
mov esi, 0x4cfa4c
mov dword [ebp - 0x130], 0
cmovae esi, dword [0x4cfa4c]
mov edx, 0x4cfa4c
add esi, dword [0x4cfa5c]
cmp dword [0x4cfa60], 0x10
mov dword [ebp - 0x12c], 7
cmovae edx, dword [0x4cfa4c]
xor eax, eax
mov word [ebp - 0x140], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x15c], edx
push eax
call fcn.00442b10
push dword [ebp - 0x160]
lea ecx, [ebp - 0x140]
push esi
push dword [ebp - 0x15c]
call fcn.00442df0
cmp dword [ebp - 0x12c], 8
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push eax
push 0x4d5370
push str._s_s
lea eax, [ebp - 0xe0]
push 0xc8
push eax
call fcn.0044c8e0
mov edx, dword [ebp - 0x12c]
add esp, 0x14
cmp edx, 8
jb 0x44ce45
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ce3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d14c
push edx
push ecx
call fcn.00477197
add esp, 8
xor eax, eax
mov dword [ebp - 0x148], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44ce70
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00445d70
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00473830
mov esi, dword [ebp - 0x160]
add esp, 8
xor edi, edi
nop
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x128]
push edi
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0xe0]
mov dword [esi], 0
push eax
push str._s_s__d.log
push 0x800
push esi
call fcn.0044c7e0
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x15c], eax
mov dword [ebp + edi*4 - 0xe8], eax
cmp eax, 0xffffffff
je 0x44cf9e
lea ecx, [ebp - 0x110]
lea ecx, [ecx + edi*8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44cf8c
lea eax, [ebp - 0x100]
lea eax, [eax + edi*8]
push eax
push 0
push 0
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x44cf8c
cmp dword [ebp + edi*8 - 0x10c], 0
mov eax, dword [0x539708]
jl 0x44cf75
jg 0x44cf68
cmp dword [ebp + edi*8 - 0x110], eax
jbe 0x44cf75
mov dword [ebp + edi*4 - 0xf0], 1
jmp 0x44cf80
mov dword [ebp + edi*4 - 0xf0], 0
inc edi
cmp edi, 2
jl 0x44ceb0
jmp 0x44cf98
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xf0], 0
je 0x44d098
push dword [ebp - 0xe8]
call ecx
cmp dword [ebp - 0xec], 0
je 0x44d07d
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xf4]
jl 0x44cfee
jg 0x44cfea
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0xf8]
jb 0x44cfee
push 1
jmp 0x44cff0
push 0
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0xe0]
push eax
push str._s_s__d.log
push 0x800
push esi
call fcn.0044c7e0
add esp, 0x18
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x15c], edi
cmp edi, 0xffffffff
jne 0x44d0ac
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x44d0c5
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d0bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d151
jmp 0x44d0bb
mov edi, dword [ebp - 0xe4]
push 2
push 0
push 0
push edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44d045
push dword [ebp - 0xe4]
mov edi, dword [ebp - 0xe8]
mov dword [ebp - 0x15c], edi
call ecx
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44d045
push edx
push ecx
call fcn.00477197
add esp, 8
mov edx, 0x539578
mov ecx, 0x4d5578
mov edi, 0x64
cmp ecx, esi
jne 0x44d0dc
xor eax, eax
xchg dword [edx], eax
add ecx, 0x1000
add edx, 4
sub edi, 1
jne 0x44d0d4
mov esi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x114]
cmp edx, 8
jb 0x44d12c
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d122
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d151
push edx
push ecx
call fcn.00477197
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004822a9
call fcn.004822a9
int3