Function at 0x4762b0
Capabilities:
Delete registry key
Delete registry value
Read .ini file

Disassembly:
sub esp, 0x81c
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [esp + 0x820]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
mov esi, edx
mov eax, dword [esp + 0x830]
push edi
mov dword [esp + 0x14], eax
mov edi, ecx
mov eax, dword [esp + 0x840]
push 0x4b3264
mov dword [esp + 0x14], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x47630b
push 0x4b3264
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
push 0x4b3280
push ebx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x476328
test ebx, ebx
je 0x476328
push ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push eax
call fcn.0048e770
add esp, 0xc
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x22], eax
lea eax, [esp + 0x20]
push 0x4ded80
push 3
push eax
push 0
push 0x4ae38c
push 0x4ae378
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x20], 0x31
jne 0x476398
cmp dword [esp + 0x83c], 0
je 0x476398
push dword [esp + 0x10]
mov edx, esi
mov ecx, edi
push dword [esp + 0x83c]
push dword [esp + 0x1c]
call fcn.00476570
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0xf013f
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47652f
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476527
push eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [esp + 0x18], 0
jne 0x476527
cmp dword [esp + 0x14], 0
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x47650c
call esi
lea eax, [esp + 0x28]
test ebp, ebp
je 0x476447
push 0
push 0x100
push eax
push edi
call ebp
jmp 0x47644f
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
je 0x47650e
lea ecx, [esp + 0x28]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x476560
xor ecx, ecx
mov word [esp + eax + 0x28], cx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ecx
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476508
push eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
push 0
push 0
push 0
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [esp + 0x18], 0
push dword [esp + 0x10]
jne 0x47650c
cmp dword [esp + 0x18], 0
jne 0x47650c
call esi
lea eax, [esp + 0x28]
test ebp, ebp
je 0x4764e7
push 0
push 0x100
push eax
push edi
call ebp
jmp 0x4764ef
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
test eax, eax
jne 0x476466
jmp 0x47650e
push dword [esp + 0x10]
call esi
push dword [esp + 0x1c]
call esi
test ebx, ebx
je 0x476520
mov eax, dword [sym.imp.kernel32.dll_FreeLibrary]
push ebx
call eax
mov eax, 1
jmp 0x476547
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x476508
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x476545
mov eax, dword [sym.imp.kernel32.dll_FreeLibrary]
push ebx
call eax
xor eax, eax
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d815
add esp, 0x81c
ret
call fcn.0048d945
int3