Function at 0x44e150
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 0x4a9636
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x150
mov eax, dword [0x4d0084]
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, 0x53a578
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 0x44e1e8
add esi, 4
inc edx
cmp esi, 0x53a708
jl 0x44e1c0
or eax, 0xffffffff
jmp 0x44e67e
shl edx, 0xc
add edx, 0x4d6578
mov dword [ebp - 0x160], edx
jne 0x44e201
or eax, 0xffffffff
jmp 0x44e67e
cmp dword [0x4d0a78], 0x10
lea ecx, [ebp - 0x128]
mov esi, 0x4d0a64
mov dword [ebp - 0x118], 0
cmovae esi, dword [0x4d0a64]
mov edx, 0x4d0a64
add esi, dword [0x4d0a74]
cmp dword [0x4d0a78], 0x10
mov dword [ebp - 0x114], 7
cmovae edx, dword [0x4d0a64]
xor eax, eax
mov word [ebp - 0x128], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x15c], edx
push eax
call fcn.00444090
push dword [ebp - 0x160]
lea ecx, [ebp - 0x128]
push esi
push dword [ebp - 0x15c]
call fcn.00444370
mov dword [ebp - 4], 0
cmp word [0x4d6370], 0
jne 0x44e2ab
push 0x4d6370
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44e2ab
or esi, 0xffffffff
jmp 0x44e640
cmp dword [0x4d0a60], 0x10
lea ecx, [ebp - 0x140]
mov esi, 0x4d0a4c
mov dword [ebp - 0x130], 0
cmovae esi, dword [0x4d0a4c]
mov edx, 0x4d0a4c
add esi, dword [0x4d0a5c]
cmp dword [0x4d0a60], 0x10
mov dword [ebp - 0x12c], 7
cmovae edx, dword [0x4d0a4c]
xor eax, eax
mov word [ebp - 0x140], ax
mov eax, esi
sub eax, edx
mov dword [ebp - 0x15c], edx
push eax
call fcn.00444090
push dword [ebp - 0x160]
lea ecx, [ebp - 0x140]
push esi
push dword [ebp - 0x15c]
call fcn.00444370
cmp dword [ebp - 0x12c], 8
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push eax
push 0x4d6370
push str._s_s
lea eax, [ebp - 0xe0]
push 0xc8
push eax
call fcn.0044de40
mov edx, dword [ebp - 0x12c]
add esp, 0x14
cmp edx, 8
jb 0x44e395
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e38b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e69c
push edx
push ecx
call fcn.00478627
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 0x44e3c0
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.004472e0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00474cc0
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.0044dd40
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 0x44e4ee
lea ecx, [ebp - 0x110]
lea ecx, [ecx + edi*8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44e4dc
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 0x44e4dc
cmp dword [ebp + edi*8 - 0x10c], 0
mov eax, dword [0x53a708]
jl 0x44e4c5
jg 0x44e4b8
cmp dword [ebp + edi*8 - 0x110], eax
jbe 0x44e4c5
mov dword [ebp + edi*4 - 0xf0], 1
jmp 0x44e4d0
mov dword [ebp + edi*4 - 0xf0], 0
inc edi
cmp edi, 2
jl 0x44e400
jmp 0x44e4e8
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 0x44e5e8
push dword [ebp - 0xe8]
call ecx
cmp dword [ebp - 0xec], 0
je 0x44e5cd
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xf4]
jl 0x44e53e
jg 0x44e53a
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0xf8]
jb 0x44e53e
push 1
jmp 0x44e540
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.0044dd40
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 0x44e5fc
mov edx, dword [ebp - 0x144]
cmp edx, 8
jb 0x44e615
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e60b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e6a1
jmp 0x44e60b
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 0x44e595
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 0x44e595
push edx
push ecx
call fcn.00478627
add esp, 8
mov edx, 0x53a578
mov ecx, 0x4d6578
mov edi, 0x64
cmp ecx, esi
jne 0x44e62c
xor eax, eax
xchg dword [edx], eax
add ecx, 0x1000
add edx, 4
sub edi, 1
jne 0x44e624
mov esi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x114]
cmp edx, 8
jb 0x44e67c
mov ecx, dword [ebp - 0x128]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44e672
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e6a1
push edx
push ecx
call fcn.00478627
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.004785e6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004836a9
call fcn.004836a9
int3