Function at 0x41b8e0
Capabilities:
Create directory
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c50
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x15e
or eax, ecx
jge 0x41b977
push 0x15e
lea ecx, [ebp - 0x10]
call fcn.004026b0
mov esi, dword [ebp - 0x10]
push esi
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or edi, 0xffffffff
test eax, eax
js 0x41ba63
push dword [esi - 8]
push esi
call fcn.00420547
add esp, 8
test eax, eax
js 0x41bb3b
cmp eax, dword [esi - 8]
jg 0x41bb3b
xor ecx, ecx
mov dword [esi - 0xc], eax
push 8
mov word [esi + eax*2], cx
push 0x440d88
lea ecx, [ebp - 0x10]
call fcn.004032b0
lea ecx, [ebp - 0x44]
call fcn.0040ef50
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
push dword [ebp - 0x10]
call esi
push 0xa
push 0x440d9c
lea ecx, [ebp - 0x10]
call fcn.004032b0
lea ecx, [ebp - 0x44]
call fcn.0040ef50
push eax
push dword [ebp - 0x10]
call esi
push 0xc
push str.lastVersion
lea ecx, [ebp - 0x10]
call fcn.004032b0
push 0
push 0x80000080
push 2
lea ecx, [ebp - 0x44]
call fcn.0040ef50
mov esi, dword [ebp - 0x10]
push eax
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x41ba63
cmp dword [ebx + 4], 0
jne 0x41bae6
push str.attempting_save_update_version__mp_onlineVersion_not_initialized
push 3
push 3
push 0xd0
push str.UpdateChecker::SaveLastVersion
push str.UpdateChecker.cpp
lea ecx, [ebp - 0x28]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41ba78
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x41ba8f
push eax
call ebx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41baa0
push eax
call ebx
mov dword [ebp - 0x30], 0
add esi, 0xfffffff0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41bad4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
lea ecx, [ebp - 0x14]
call fcn.0041c6f0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], 0
push dword [eax - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ba63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41ba63
push 0x80070057
call fcn.00402950
int3