Function at 0x43cd40
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab34b
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x4e42d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x104
mov dword [ebp - 0x638], eax
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x62c]
push eax
mov ecx, 0x4bcb40
call fcn.00402b20
lea ecx, [ebp - 0x630]
push ecx
push 0
push SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x43cde2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cdd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
jmp 0x43cfae
mov edx, dword [ebp - 0x630]
lea ecx, [ebp - 0x634]
push ecx
push 0x20019
push 0
push str.htmlfile_shellopencommand
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43ce25
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43cdcc
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x644]
push eax
mov eax, dword [ebp - 0x634]
push 0
lea ecx, [ebp - 0x638]
push ecx
lea edx, [ebp - 0x628]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [ebp - 0x216], 0x22
lea ebx, [ebp - 0x216]
je 0x43cef3
lea ecx, [ecx]
mov ecx, dword [ebp - 0x62c]
mov edi, dword [ecx - 0xc]
movzx eax, word [ebx]
lea esi, [edi + 1]
mov dword [ebp - 0x63c], eax
test esi, esi
js 0x43cfca
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x43cec1
mov eax, esi
lea ecx, [ebp - 0x62c]
call fcn.00402c80
mov ecx, dword [ebp - 0x62c]
mov dx, word [ebp - 0x63c]
mov word [ecx + edi*2], dx
mov eax, dword [ebp - 0x62c]
cmp esi, dword [eax - 8]
jg 0x43cfca
mov dword [eax - 0xc], esi
mov ecx, dword [ebp - 0x62c]
xor eax, eax
add ebx, 2
mov word [ecx + esi*2], ax
cmp word [ebx], 0x22
jne 0x43ce80
push 1
push 0x4bcb40
lea ebx, [ebp - 0x62c]
call fcn.00409bd0
mov eax, dword [ebp - 0x62c]
cmp dword [eax - 4], 1
jle 0x43cf23
mov edx, dword [eax - 0xc]
push edx
mov eax, ebx
push eax
call fcn.00402bc0
mov eax, dword [ebp - 0x62c]
push 1
push 0
push str.http:__home.baofeng.com_permit.html
push eax
push 0x4ba364
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x62c]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004907a5
add esp, 8
test eax, eax
js 0x43cfca
mov ecx, dword [ebp - 0x62c]
cmp eax, dword [ecx - 8]
jg 0x43cfca
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x62c]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp - 0x634]
push eax
call esi
mov ecx, dword [ebp - 0x630]
push ecx
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cfac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f6cb
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004035c0
int3