Function at 0x100048b0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a5e0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1000f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.logins.ini
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10004978
push 0xb0
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0xd0]
push 2
push str.logins.ini
call fcn.10005800
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
call fcn.10005750
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xcc]
call fcn.10005670
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xd4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10004b5e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
push 0x1000f0b4
push 0
push 0
push 0x1000c43c
push dword [ebp - 0xd4]
mov dword [ebp - 0x14], 0xb
call esi
test eax, eax
je 0x100049e4
xorps xmm0, xmm0
movups xmmword [0x1000f0b4], xmm0
movups xmmword [0x1000f0c4], xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xb
push eax
push 0x1000f0d4
push 0
push 0
push 0x1000c440
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004a1a
xorps xmm0, xmm0
movups xmmword [0x1000f0d4], xmm0
movups xmmword [0x1000f0e4], xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000f0b0
push 0
push 0
push str.SavePass
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004a49
mov dword [0x1000f0b0], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000f0a0
push 0
push 0
push str.StartWithAccount
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004a73
or eax, 0xffffffff
jmp 0x10004a78
mov eax, dword [0x1000f0a0]
push 0x10
dec eax
mov dword [ebp - 0xe0], 0
xorps xmm0, xmm0
mov dword [0x1000f0a0], eax
push str.StartWithAccount
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
call fcn.10005f90
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREWebzenMuConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10004b22
cmp dword [ebp - 0xdc], 0xf
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
lea eax, [ebp - 0xf0]
cmova eax, dword [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0xf
jbe 0x10004b5e
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004b54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004b54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10009a68
add esp, 8
call fcn.10004560
push 0x10003dc0
push 0x40b5a9
push 0xe8
call fcn.10006630
push 0x10003270
push 0x40b400
push 0xe8
call fcn.10006630
push 0x10003270
push 0x40b44f
push 0xe8
call fcn.10006630
push 0x10004500
push 0x483711
push 0xe8
call fcn.10006630
push 0x416640
push 0x40b306
push 0xe8
call fcn.10006630
add esp, 0x3c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10009710
mov esp, ebp
pop ebp
ret