Function at 0x10004b90
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 0x1000acc0
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10010040]
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 0x10004c58
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.10005ae0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
call fcn.10005a30
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.10005950
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 0x10004e3e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
push 0x100100b4
push 0
push 0
push 0x1000d44c
push dword [ebp - 0xd4]
mov dword [ebp - 0x14], 0xb
call esi
test eax, eax
je 0x10004cc4
xorps xmm0, xmm0
movups xmmword [0x100100b4], xmm0
movups xmmword [0x100100c4], xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xb
push eax
push 0x100100d4
push 0
push 0
push 0x1000d450
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004cfa
xorps xmm0, xmm0
movups xmmword [0x100100d4], xmm0
movups xmmword [0x100100e4], xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x100100b0
push 0
push 0
push str.SavePass
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004d29
mov dword [0x100100b0], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x100100a0
push 0
push 0
push str.StartWithAccount
push dword [ebp - 0xd4]
call esi
test eax, eax
je 0x10004d53
or eax, 0xffffffff
jmp 0x10004d58
mov eax, dword [0x100100a0]
push 0x10
dec eax
mov dword [ebp - 0xe0], 0
xorps xmm0, xmm0
mov dword [0x100100a0], eax
push str.StartWithAccount
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xf0], xmm0
call fcn.100063e0
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 0x10004e02
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 0x10004e3e
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004e34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004e34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a108
add esp, 8
call fcn.10004840
push 0x100040a0
push 0x40b5a9
push 0xe8
call fcn.10006b80
push 0x100035a0
push 0x40b400
push 0xe8
call fcn.10006b80
push 0x100035a0
push 0x40b44f
push 0xe8
call fcn.10006b80
push 0x100047e0
push 0x483711
push 0xe8
call fcn.10006b80
push 0x416640
push 0x40b306
push 0xe8
call fcn.10006b80
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.10009db0
mov esp, ebp
pop ebp
ret