Function at 0x4af7e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push edi
jne 0x4af85f
push 0
push 0x580300
push 0xa4
push str.........CommonWin32RegistryAccessors.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [esp + 0x2c]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
cmp eax, 2
jne 0x4af85f
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [ebx + 0x18], 0
jne 0x4af8ba
push 0
push str.obj__mRegItem
push 0xa5
push str.........CommonWin32RegistryAccessors.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea edx, [esp + 0x2c]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [esp + 0x18]
push eax
push 0
call esi
cmp eax, 2
jne 0x4af8ba
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov esi, dword [ebp + 0xc]
test esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4af8c9
add dword [esi], 1
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.004ae8b0
cmp eax, 5
ja case.0x4af8db.4
jmp dword [eax*4 + 0x4afa48]
test esi, esi
push 1
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4af8f0
add dword [esi], 1
mov eax, dword [ebx + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004ae970
lea esi, [esp + 0xc]
call fcn.004abb90
mov esi, eax
push esi
call fcn.00533290
add esp, 4
push esi
mov edi, eax
call fcn.00503250
mov esi, dword [esp + 0x10]
add esp, 4
jmp 0x4afa11
test esi, esi
push 1
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4af934
add dword [esi], 1
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x14]
push ecx
push edx
jmp 0x4af8f9
test esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4af94b
add dword [esi], 1
mov ebx, dword [ebx + 0x18]
call fcn.004aec30
mov edi, eax
call fcn.005327c0
mov esi, eax
call fcn.00479330
mov dword [eax + 0x18], edi
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
test esi, esi
push ecx
mov eax, esp
mov dword [eax], esi
je 0x4af987
add dword [esi], 1
mov eax, dword [ebx + 0x18]
call fcn.004aeb80
push edx
push eax
call fcn.00532d80
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
test esi, esi
lea eax, [esp + 0xc]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x14], 0
mov dword [eax], esi
je 0x4af9c9
add dword [esi], 1
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.004aecd0
mov edi, dword [esp + 0xc]
push edi
mov esi, eax
call fcn.0046bca0
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x4af8db.4
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004ab970
mov esi, dword [esp + 0xc]
push esi
push edi
push 0
push ebx
call fcn.0046d460
push ebx
call fcn.00535c20
add esp, 0x14
mov edi, eax
test esi, esi
je 0x4afa1a
call fcn.004ab850
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00566120
mov esp, ebp
pop ebp
ret