Function at 0x41e500
Capabilities:
Create directory
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447dbe
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x197]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x198], bl
call fcn.004338d0
add esp, 0xc
push ebx
push 0x23
lea ecx, [ebp - 0x198]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.SQ_PlatForm
lea edx, [ebp - 0x198]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov dword [ebp - 0x1b0], 0xc
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
cmp eax, ebx
jne 0x41e5ab
xor eax, eax
jmp 0x41e5f2
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x41e5ee
lea ebx, [eax + eax]
mov eax, ebx
call fcn.004383d0
mov edi, esp
test edi, edi
je 0x41e5ee
mov edx, dword [ebp - 0x19c]
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x41e5f0
xor eax, eax
xor ebx, ebx
push eax
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x198]
push 0x44ea88
push ecx
call fcn.00431843
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x41e84b
push 0x80
lea edx, [ebp - 0x93]
push ebx
push edx
mov byte [ebp - 0x94], 0
call fcn.004338d0
add esp, 0xc
lea eax, [ebp - 0x19c]
push eax
mov ecx, 0x44e978
call fcn.00401e30
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, 0x44e978
mov byte [ebp - 4], 1
call fcn.00401e30
push edi
push 0x80
lea edx, [ebp - 0x94]
push 1
push edx
mov byte [ebp - 4], 2
call fcn.00431d56
add esp, 0x10
test eax, eax
je 0x41e6bf
nop
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x94]
call fcn.004016f0
push 0x81
lea ecx, [ebp - 0x94]
push ebx
push ecx
call fcn.004338d0
push edi
push 0x80
lea edx, [ebp - 0x94]
push 1
push edx
call fcn.00431d56
add esp, 0x1c
test eax, eax
jne 0x41e680
push edi
call fcn.00431a98
mov eax, dword [ebp - 0x19c]
add esp, 4
cmp dword [eax - 0xc], ebx
jl 0x41e7ff
push 0x44ead4
push eax
call fcn.004316bd
add esp, 8
cmp eax, ebx
je 0x41e7ff
sub eax, dword [ebp - 0x19c]
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x41e7ff
lea ecx, [ebp - 0x1a0]
lea edx, [ebp - 0x19c]
call fcn.0040c0c0
mov eax, dword [eax]
push eax
call fcn.0043173e
mov dword [esi + 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
add eax, 0xfffffff0
mov dword [esi + 0x1a4], edx
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e74a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 [ebp - 0x19c]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x19c]
sub eax, edi
push ecx
dec eax
lea ecx, [ebp - 0x1a0]
call fcn.0040c040
mov eax, dword [eax]
push eax
call fcn.0043173e
mov dword [esi + 0x198], eax
mov eax, dword [ebp - 0x1a0]
add eax, 0xfffffff0
mov dword [esi + 0x19c], edx
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e7bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x158]
cmp eax, ebx
je 0x41e7ff
mov ecx, dword [esi + 0x1a0]
mov dword [eax + 0xf8], ecx
mov edx, dword [esi + 0x1a4]
mov dword [eax + 0xfc], edx
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x198]
mov dword [eax + 0x100], ecx
mov edx, dword [esi + 0x19c]
mov dword [eax + 0x104], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1a4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x19c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e84b
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 0x41e871
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret 4