Function at 0x47212d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f2782
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x54b0c4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x550310]
mov ebx, 0x550310
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREkingsoft_antivirus_recommend
mov dword [esp + 0x88], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x4721d9
mov eax, dword [esp + 0x10]
push dword [ebp + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x20], edi
call fcn.00409a54
test eax, eax
je 0x4721f8
cmp dword [esp + 0x10], edi
je 0x4721d0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x4721dc
lea eax, [esi - 0x10]
call fcn.004012f9
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [esp + 0x18]
lea esi, [esp + 0x18]
call fcn.00401958
push dword [ebp + 8]
lea ecx, [esp + 0x20]
push ecx
lea esi, [esp + 0x20]
mov edi, eax
call fcn.00409a54
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x20], eax
jne 0x47222a
xor eax, eax
jmp 0x472232
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [esp + 0x14]
call fcn.00401385
cmp dword [esp + 0x20], esi
je 0x472256
cmp dword [esp + 0x10], esi
je 0x472251
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
jmp 0x4721dc
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x78], 2
cmp dword [edi - 0xc], esi
je 0x472334
mov eax, dword [0x550310]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x50b9e4
lea eax, [esp + 0x28]
mov byte [esp + 0x7c], 3
push eax
lea ecx, [esp + 0x28]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x28], esi
call fcn.004077de
lea edi, [esp + 0x18]
mov byte [esp + 0x78], 4
call fcn.00402a90
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x24]
jmp 0x472302
push eax
call dword [sym.imp.MSVCR80.dll__wtoi]
mov dword [esp + 0x28], eax
pop ecx
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x30]
call fcn.00451e89
push 0x50b9e4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
lea ebx, [esp + 0x1c]
call fcn.004077de
lea edi, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.00402a90
mov byte [esp + 0x78], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jne 0x4722ba
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x30]
test eax, eax
je 0x472334
mov edx, dword [esp + 0x34]
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ecx, 3
je 0x472347
lea esi, [esp + 0x2c]
call fcn.0047d914
cmp dword [esp + 0x10], 0
jmp 0x4721c4
cmp ecx, 2
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
ja 0x47235c
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
lea ebx, [eax + 8]
je 0x47236f
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ecx, 1
ja 0x472379
call edi
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
test eax, eax
lea esi, [eax + 4]
je 0x472387
sub edx, eax
sar edx, 2
jne 0x47238d
call edi
mov eax, dword [esp + 0x30]
push 0
push 0
push dword [ebx]
push dword [esi]
lea esi, [esp + 0x5c]
push dword [eax]
call fcn.00497d38
lea eax, [esp + 0x5c]
push eax
call fcn.00498532
pop ecx
mov edx, eax
mov ecx, esi
lea eax, [esp + 0x3c]
call fcn.00498470
xor edi, edi
push edi
push 0x15180
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.004e3ac0
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea esi, [esp + 0x2c]
jge 0x472404
call fcn.0047d914
cmp dword [esp + 0x10], edi
je 0x4723ef
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
jmp 0x4721e3
call fcn.0047d914
cmp dword [esp + 0x10], edi
je 0x472419
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc esi
jmp 0x4723f1