Function at 0x46ef30
Capabilities:
Delete registry key
Delete registry value
Extract resource via kernel32 functions
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56a3d4
push eax
mov eax, 0x13cc
mov dword fs:[0], esp
call fcn.00515810
mov eax, dword [0x5d2d10]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], eax
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x420]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x13ec], 0
call fcn.0046e640
test eax, eax
jne 0x46f209
mov al, byte [esp + 0x38]
test al, al
je 0x46f39f
mov ecx, dword [0x5d2d10]
mov dword [esp + 0x18], ecx
push 0xf07e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13e4], 1
call fcn.00532f94
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], SysReAllocStringLen
lea eax, [esp + 0x38]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x46eff6
test cl, cl
je 0x46eff2
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x46eff6
add eax, 2
add esi, 2
test cl, cl
jne 0x46efd2
xor eax, eax
jmp 0x46effb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46f1a2
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004799d0
add esp, 8
test ax, ax
je 0x46f1a2
mov eax, dword [esp + 0x13e8]
test eax, eax
je 0x46f1a2
push str.http:__
lea ecx, [esp + 0x14]
call fcn.00530bfd
lea edx, [esp + 0x28]
push 0xa
push edx
push 0x50
mov byte [esp + 0x13ec], 2
call fcn.0051640e
add esp, 0xc
lea ecx, [esp + 0x14]
push str.dbregistration.globalscape.com
call fcn.00530bfd
push 0x5c47c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x13e4], 3
call fcn.0052849d
mov esi, eax
cmp esi, 0xffffffff
je 0x46f0ae
push 0x5c9810
push esi
lea ecx, [esp + 0x1c]
call fcn.00527ffd
lea eax, [esp + 0x28]
inc esi
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00527ffd
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00530fa7
jmp 0x46f0d8
push str.dbregistration.globalscape.com
lea ecx, [esp + 0x14]
call fcn.00530f6b
push 0x5c9810
lea ecx, [esp + 0x14]
call fcn.00530f6b
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.00530f6b
mov eax, dword [esp + 0x10]
push eax
call fcn.004bc400
add esp, 4
test eax, eax
je 0x46f1b8
lea ecx, [esp + 0x808]
push 0
push ecx
mov ecx, ebx
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], 1
call fcn.0046e5c0
mov bl, 4
push 0x74
call fcn.00531c00
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x13e0], bl
je 0x46f134
push 0
mov ecx, eax
call fcn.00475840
mov esi, eax
jmp 0x46f136
xor esi, esi
lea edx, [esp + 0x808]
lea ecx, [esi + 0x64]
push edx
mov byte [esp + 0x13e4], 3
call fcn.00530d18
lea eax, [esp + 0x38]
lea ecx, [esi + 0x60]
push eax
call fcn.00530d18
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
cmp eax, 1
push 1
mov ecx, esi
je 0x46f1ab
mov eax, dword [esi]
mov edi, dword [esi + 0x5c]
call dword [eax + 4]
cmp edi, 1
je 0x46f1b8
cmp edi, 2
je 0x46f10e
lea ecx, [esp + 0x14]
mov byte [esp + 0x13e0], 2
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov byte [esp + 0x13e0], 1
call fcn.00530b8f
lea ecx, [esp + 0x18]
jmp 0x46f392
mov edx, dword [esi]
call dword [edx + 4]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13e0], 2
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov byte [esp + 0x13e0], 1
call fcn.00530b8f
lea ecx, [esp + 0x18]
mov byte [esp + 0x13e0], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x13e0], 0xffffffff
call fcn.00530b8f
mov eax, 1
jmp 0x46f3b5
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebx
call fcn.0046de20
test eax, eax
je 0x46f39f
mov edx, dword [0x5d2d10]
mov dword [esp + 0x1c], edx
push 0xf07e
lea ecx, [esp + 0x20]
mov byte [esp + 0x13e4], 5
call fcn.00532f94
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], SysReAllocStringLen
lea eax, [esp + 0x38]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x46f271
test cl, cl
je 0x46f26d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x46f271
add eax, 2
add esi, 2
test cl, cl
jne 0x46f24d
xor eax, eax
jmp 0x46f276
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46f37f
lea eax, [esp + 0x38]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004799d0
add esp, 8
test ax, ax
je 0x46f37f
lea edx, [esp + 0xc08]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004efc10
mov edx, dword [esp + 0x14]
mov esi, eax
lea ecx, [esp + esi + 0xc10]
push ecx
push edx
call fcn.004efc10
add esp, 0x10
add esi, eax
call fcn.0054fc30
mov eax, dword [eax + 0xc]
push str.BINARY
push 0x170
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
call fcn.0054fc30
mov eax, dword [eax + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea eax, [esp + 0x424]
push eax
lea ecx, [esp + 0xc10]
push esi
push ecx
call fcn.00475510
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46f356
lea edx, [esp + 0x20]
push edx
push 0x20006
push eax
mov eax, dword [ebx + 0x28]
push eax
push reloc.oledlg.dll_OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
je 0x46f356
mov ecx, dword [esp + 0x20]
push 0x5c6cfc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13e0], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x13e0], 0xffffffff
call fcn.00530b8f
mov eax, esi
jmp 0x46f3b5
mov eax, dword [ebx + 0x28]
push eax
push reloc.oledlg.dll_OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13e0], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x13e0], 0xffffffff
call fcn.00530b8f
xor eax, eax
mov ecx, dword [esp + 0x13d8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x13d8
ret 4