Function at 0x4123ef
Capabilities:
Write file on windows

Disassembly:
push 0xd8
mov eax, 0x5410e8
call fcn.004e6a52
mov ebx, ecx
mov dword [ebp - 0xe0], ebx
xor edi, edi
lea ecx, [ebp - 0x40]
push str.SOFTWARE
mov dword [ebp - 4], edi
call fcn.004024f3
push str.ValveSteam
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.0041353b
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040258a
push 1
push ecx
lea edx, [ebp - 0xd8]
call fcn.004018b2
mov esi, eax
mov dword [ebp - 0x58], edi
pop ecx
xor eax, eax
mov dword [ebp - 0x48], edi
pop ecx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
test esi, esi
je 0x412563
push str.AlreadyRetriedOfflineMode
lea ecx, [ebp - 0x28]
call fcn.004024f3
push ecx
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00401955
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040258a
push str.BigPictureInForeground
lea ecx, [ebp - 0x28]
call fcn.004024f3
push ecx
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00401955
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040258a
push str.schinese
lea ecx, [ebp - 0x40]
call fcn.004024f3
push str.Language
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004024f3
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea edx, [ebp - 0x28]
call fcn.00401920
pop ecx
lea ecx, [ebp - 0x28]
call fcn.0040258a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040258a
push str.30000
lea ecx, [ebp - 0x28]
call fcn.004024f3
push str.Rate
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004024f3
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea edx, [ebp - 0x40]
call fcn.00401920
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040258a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040258a
push str.RememberPassword
lea ecx, [ebp - 0x40]
call fcn.004024f3
push ecx
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00401955
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040258a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx + 0x3b4]
push eax
lea ecx, [ebp - 0x58]
call fcn.00405436
push str._AppList
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00406bc5
add esp, 0xc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00403d4d
test al, al
je 0x412590
lea ecx, [ebp - 0x70]
call fcn.00403db0
lea ecx, [ebp - 0x70]
call fcn.00403d81
mov esi, dword [ebp + 8]
mov ebx, edi
jmp 0x41266e
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.0040c96e
mov edi, eax
push 0x574fe8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00406bc5
add esp, 0xc
push edi
push eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
push dword [ebp - 0xdc]
call fcn.00413f01
push str..txt
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.0041353b
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040258a
lea ecx, [ebp - 0xc0]
call fcn.0040258a
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0040258a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 0x10
mov edi, eax
mov ecx, esi
jb 0x412647
mov ecx, dword [esi]
push 0
lea eax, [ebp - 0xdc]
push eax
push dword [esi + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
inc ebx
call fcn.0040258a
add esi, 0x18
cmp esi, dword [ebp + 0xc]
jne 0x4125a2
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 0x484]
mov dword [ebp - 0xdc], eax
mov esi, dword [eax]
cmp esi, eax
je 0x4127a2
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040f974
mov edx, ebx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.0040c96e
mov edi, eax
push 0x574fe8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00406bc5
add esp, 0xc
push edi
push eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
push dword [ebp - 0xdc]
call fcn.00413f01
push str..txt
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0041353b
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040258a
lea ecx, [ebp - 0x88]
call fcn.0040258a
lea ecx, [ebp - 0xc0]
call fcn.0040258a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp - 0x94], 0x10
lea ecx, [ebp - 0xa8]
push 0
cmovae ecx, dword [ebp - 0xa8]
mov edi, eax
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0x98]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
inc ebx
call fcn.0040258a
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
call fcn.00412af9
lea ecx, [ebp - 0xa8]
call fcn.0040545f
mov eax, dword [esi]
mov esi, eax
cmp eax, dword [ebp - 0xdc]
jne 0x412693
mov eax, dword [ebp - 0xe0]
add eax, 0x3b4
push str._noset.txt
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00406bc5
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xf
cmp dword [esi + 0x14], 8
jb 0x4127d0
mov eax, dword [esi]
push 0x5c
push 0xffffffffffffffff
push dword [esi + 0x10]
push eax
call fcn.00406c38
add esp, 0x10
xor ebx, ebx
mov ecx, esi
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00404ae6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [esi + 0x14], 8
jb 0x41280a
mov esi, dword [esi]
push 0x57505c
push esi
call fcn.0050130f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x412835
push esi
push 1
push 6
push str.ddddd
call fcn.00500661
push esi
call fcn.00500101
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.0040258a
lea ecx, [ebp - 0x88]
call fcn.0040258a
lea ecx, [ebp - 0x70]
call fcn.0040258a
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41289f
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], ecx
cmp eax, 0x1000
jb 0x412896
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00401403
mov eax, dword [ebp - 0xe0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xdc]
push eax
push ecx
call fcn.004e6456
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x48], ebx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0040258a
lea ecx, [ebp + 8]
call fcn.004072c3
call fcn.004e6a01
ret 0xc