Function at 0x41a3db
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x46076d
call fcn.00436808
sub esp, 0x1ec
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x20], ebx
cmp dword [edi + 0x58], ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
je 0x41a411
mov ecx, dword [ebp + 8]
add edi, 0x44
push edi
call fcn.00404ec1
jmp 0x41a736
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x11], bl
call fcn.0041a1e3
push 0x471238
push eax
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 4], ebx
call fcn.0040519a
push str.support.dat
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.0040519a
add esp, 0x18
push ebx
push 1
lea ecx, [ebp - 0xf4]
call fcn.0040117c
push ebx
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.0040117c
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x41a476
lea eax, [ebp - 0x48]
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41a4c7
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a4b7
cmp dword [ebp - 0x20], 0x10
jne 0x41a4b7
mov byte [ebp - 0x11], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x11], bl
jne 0x41a63c
mov esi, 0x104
push esi
lea eax, [ebp - 0x1f8]
push ebx
push eax
call fcn.00436f80
add esp, 0xc
mov byte [ebp - 0x11], bl
mov byte [ebp - 4], 5
call fcn.00419ac8
test eax, eax
je 0x41a5e9
call fcn.00419a87
cmp eax, ebx
je 0x41a51d
mov eax, dword [eax + 0xd0]
cmp eax, ebx
je 0x41a51d
push 0x470898
push esi
lea ecx, [ebp - 0x1f8]
push ecx
push str.UserSupport
call eax
add esp, 0x10
jmp 0x41a51f
xor eax, eax
cmp eax, ebx
je 0x41a5d7
push 0x477a38
lea ecx, [ebp - 0xbc]
call fcn.004015b0
lea ecx, [ebp - 0x1f8]
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 6
call fcn.0040519a
add esp, 0xc
push 0x477a34
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.0040519a
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040117c
push ebx
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040117c
push ebx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x84]
call fcn.0041c713
cmp dword [eax + 0x18], 8
jb 0x41a5a3
mov eax, dword [eax + 4]
jmp 0x41a5a6
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push ebx
test eax, eax
push esi
lea ecx, [ebp - 0x84]
setge byte [ebp - 0x12]
call fcn.00418c98
cmp byte [ebp - 0x12], bl
je 0x41a5cd
mov byte [ebp - 0x11], 1
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.0040117c
call fcn.00419adc
jmp 0x41a5e9
cmp byte [ebp - 0x11], bl
push 3
pop esi
mov dword [ebp - 4], esi
jne 0x41a5fe
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x48]
jae 0x41a60a
lea ecx, [ebp - 0x48]
push 0x80
push 2
push esi
mov edx, 0xc0000000
call fcn.0041f967
mov esi, eax
cmp esi, 0xffffffff
je 0x41a63c
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x10
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp dword [ebp - 0x18], ebx
jne 0x41a666
lea esi, [edi + 0x44]
push str.a90c129d_cded_4eae_adc9_c52c22cea9cd
mov ecx, esi
call fcn.00401575
jmp 0x41a722
push dword [ebp - 0x18]
lea ecx, [ebp - 0x68]
call fcn.0041a3b9
push ebx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.0041db95
push 0xffffffffffffffff
push ebx
lea esi, [edi + 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.0040144d
push ebx
push 1
lea ecx, [ebp - 0x84]
call fcn.0040117c
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00418c98
cmp dword [edi + 0x58], ebx
je 0x41a6e5
cmp dword [esi + 0x18], 0x10
jb 0x41a6c3
mov eax, dword [esi + 4]
jmp 0x41a6c6
lea eax, [esi + 4]
cmp byte [eax], 0x7b
jne 0x41a6e5
cmp dword [esi + 0x18], 0x10
jb 0x41a6d6
mov eax, dword [esi + 4]
jmp 0x41a6d9
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004031aa
mov edi, dword [edi + 0x58]
cmp edi, ebx
je 0x41a719
lea eax, [edi - 1]
push eax
mov ecx, esi
call fcn.00401149
cmp byte [eax], 0x7d
jne 0x41a719
cmp dword [esi + 0x18], 0x10
jb 0x41a707
mov eax, dword [esi + 4]
jmp 0x41a70a
lea eax, [esi + 4]
add eax, edi
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004031aa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 8]
push esi
call fcn.00404ec1
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.0040117c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4