Function at 0x44cc60
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 0x4a80c6
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 0x44ccf8
add esi, 4
inc edx
cmp esi, 0x539708
jl 0x44ccd0
or eax, 0xffffffff
jmp 0x44d18e
shl edx, 0xc
add edx, 0x4d5578
mov dword [ebp - 0x160], edx
jne 0x44cd11
or eax, 0xffffffff
jmp 0x44d18e
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.00442b90
push dword [ebp - 0x160]
lea ecx, [ebp - 0x128]
push esi
push dword [ebp - 0x15c]
call fcn.00442e70
mov dword [ebp - 4], 0
cmp word [0x4d5370], 0
jne 0x44cdbb
push 0x4d5370
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44cdbb
or esi, 0xffffffff
jmp 0x44d150
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.00442b90
push dword [ebp - 0x160]
lea ecx, [ebp - 0x140]
push esi
push dword [ebp - 0x15c]
call fcn.00442e70
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.0044c950
mov edx, dword [ebp - 0x12c]
add esp, 0x14
cmp edx, 8
jb 0x44cea5
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ce9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d1ac
push edx
push ecx
call fcn.00477177
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 0x44ced0
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00445de0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00473810
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.0044c850
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 0x44cffe
lea ecx, [ebp - 0x110]
lea ecx, [ecx + edi*8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44cfec
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 0x44cfec
cmp dword [ebp + edi*8 - 0x10c], 0
mov eax, dword [0x539708]
jl 0x44cfd5
jg 0x44cfc8
cmp dword [ebp + edi*8 - 0x110], eax
jbe 0x44cfd5
mov dword [ebp + edi*4 - 0xf0], 1
jmp 0x44cfe0
mov dword [ebp + edi*4 - 0xf0], 0
inc edi
cmp edi, 2
jl 0x44cf10
jmp 0x44cff8
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 0x44d0f8
push dword [ebp - 0xe8]
call ecx
cmp dword [ebp - 0xec], 0
je 0x44d0dd
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xf4]
jl 0x44d04e
jg 0x44d04a
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0xf8]
jb 0x44d04e
push 1
jmp 0x44d050
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.0044c850
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 0x44d10c
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x44d125
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d11b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d1b1
jmp 0x44d11b
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 0x44d0a5
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 0x44d0a5
push edx
push ecx
call fcn.00477177
add esp, 8
mov edx, 0x539578
mov ecx, 0x4d5578
mov edi, 0x64
cmp ecx, esi
jne 0x44d13c
xor eax, eax
xchg dword [edx], eax
add ecx, 0x1000
add edx, 4
sub edi, 1
jne 0x44d134
mov esi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x114]
cmp edx, 8
jb 0x44d18c
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d182
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d1b1
push edx
push ecx
call fcn.00477177
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.00477136
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00482289
call fcn.00482289
int3