Function at 0x41e850
Capabilities:
Create directory
Get common file path
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447133
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x117]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.00433910
add esp, 0xc
push ebx
push 0x23
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.SQ_PlatForm
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x12c], 0xc
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
cmp eax, ebx
je 0x41e942
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x41e942
add eax, eax
mov dword [ebp - 0x11c], eax
call fcn.004384a0
mov edi, esp
cmp edi, ebx
je 0x41e942
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
push ebx
push ebx
push edx
push edi
push 0xffffffffffffffff
push eax
push ebx
push 3
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x41e944
xor eax, eax
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [ebp - 0x118]
push 0x44ea84
push edx
call fcn.00431883
add esp, 8
mov dword [ebp - 0x120], eax
cmp eax, ebx
je 0x41eae0
mov eax, dword [esi + 0x1a0]
or eax, dword [esi + 0x1a4]
jne 0x41e993
call fcn.00414bd0
mov dword [esi + 0x1a0], eax
mov dword [esi + 0x1a4], edx
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x1a0]
mov dword [eax + 0xf8], ecx
mov edx, dword [esi + 0x1a4]
mov dword [eax + 0xfc], edx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x1a4]
push eax
mov eax, dword [esi + 0x1a0]
push ecx
push edx
push eax
push str._I64d__I64d
lea edi, [ebp - 0x11c]
call fcn.0040e740
mov edi, dword [ebp - 0x11c]
add esp, 0x14
cmp edi, ebx
jne 0x41ea0a
xor ecx, ecx
jmp 0x41ea50
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x41ea4c
add eax, eax
mov dword [ebp - 0x11c], eax
call fcn.004384a0
mov esi, esp
cmp esi, ebx
je 0x41ea4c
mov ecx, dword [ebp - 0x11c]
push ebx
push ebx
push ecx
push esi
push 0xffffffffffffffff
push edi
push ebx
push 3
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41ea4e
xor eax, eax
mov ecx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ea55
sub eax, esi
mov esi, dword [ebp - 0x120]
push esi
push eax
push 1
push ecx
call fcn.004319f1
push esi
call fcn.00431ad8
lea eax, [edi - 0x10]
add esp, 0x14
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ea96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eabc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430f3e
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]