Function at 0x409710
Capabilities:
Delete registry key
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5560a0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5b627c]
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
lea eax, [ebp - 0x64]
push eax
call fcn.00422620
mov ecx, eax
call fcn.004225f0
mov eax, dword [ebp - 0x64]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x409763
xor edi, edi
jmp 0x409af9
mov eax, dword [eax + 0x48]
sub eax, 0x10
push eax
call fcn.0040c650
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x68], esi
push esi
push reloc.gdiplus.dll_Ordinal_1
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x64]
push dword [eax + 0x20]
push str.From
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov eax, dword [ebp - 0x64]
mov ecx, 0x8067
add esp, 0x10
mov ebx, 0xf
xor edi, edi
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x5c], eax
mov eax, 0x8049
mov word [ebp - 0x28], ax
mov eax, 0x8066
mov word [ebp - 0x26], ax
mov eax, 0x807a
mov word [ebp - 0x24], ax
mov eax, 0x8076
mov word [ebp - 0x22], ax
mov eax, 0x806e
mov word [ebp - 0x20], ax
mov eax, 0x806b
mov word [ebp - 0x1e], ax
mov eax, 0x8047
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov eax, 0x8062
mov word [ebp - 0x18], ax
mov eax, 0x801e
mov word [ebp - 0x16], cx
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x28]
mov ax, word [ebp + edi*2 - 0x28]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xd6b48007
mov edx, 0xa9faef54
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi - 0x7ff9]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x28], ax
inc edi
cmp edi, 0xb
jb 0x409813
push dword [ebp - 0x5c]
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov eax, dword [ebp - 0x64]
push dword [eax + 0x28]
push str.ExePath
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
lea eax, [ebp - 0x6c]
push eax
call fcn.00457e60
add esp, 0x24
mov eax, dword [eax]
mov ecx, 0x2e53
mov dword [ebp - 0x5c], eax
xor edi, edi
mov eax, 0x2e79
mov byte [ebp - 4], 2
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov eax, 0x2e5f
mov word [ebp - 0x3e], ax
mov eax, 0x2e4e
mov word [ebp - 0x3c], ax
mov eax, 0x2e42
mov word [ebp - 0x3a], ax
mov eax, 0x2e5b
mov word [ebp - 0x38], cx
mov word [ebp - 0x36], ax
mov word [ebp - 0x34], ax
mov eax, 0x2e67
mov word [ebp - 0x32], ax
mov eax, 0x2e5c
mov word [ebp - 0x30], cx
mov word [ebp - 0x2e], ax
mov eax, 0x2e51
mov word [ebp - 0x2c], ax
mov eax, 0x2e3c
mov word [ebp - 0x2a], ax
mov ax, word [ebp - 0x40]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x40]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x8af00fb3
cmovae ecx, eax
mov eax, 0xb0172e31
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi + 0x2e31]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x40], ax
inc edi
cmp edi, 0xc
jb 0x409900
push dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x68]
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov edx, dword [ebp - 0x6c]
add esp, 0x10
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40997a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
mov ecx, 0x2e4e
xor edi, edi
mov ebx, 0xf
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, 0x2e74
mov word [ebp - 0x58], ax
mov eax, 0x2e58
mov word [ebp - 0x56], ax
mov eax, 0x2e46
mov word [ebp - 0x54], cx
mov word [ebp - 0x52], ax
mov eax, 0x2e5e
mov word [ebp - 0x50], ax
mov eax, 0x2e56
mov word [ebp - 0x4e], ax
mov eax, 0x2e7d
mov word [ebp - 0x4c], cx
mov word [ebp - 0x4a], ax
mov eax, 0x2e5b
mov word [ebp - 0x48], ax
mov eax, 0x2e5c
mov word [ebp - 0x46], ax
mov eax, 0x2e51
mov word [ebp - 0x44], ax
mov eax, 0x2e3c
mov word [ebp - 0x42], ax
mov ax, word [ebp - 0x58]
mov ax, word [ebp + edi*2 - 0x58]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xb0172e31
mov edx, 0x8af00fb3
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
and ax, 0xf
lea ecx, [edi + 0x2e31]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x58], ax
inc edi
cmp edi, 0xc
jb 0x4099f5
push dword [ebp - 0x5c]
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov eax, dword [ebp - 0x64]
push dword [eax + 0x10]
push 0x56c028
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
add esp, 0x1c
mov edi, esp
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.0040c650
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00457b90
push dword [eax]
mov byte [ebp - 4], 3
push str.Version
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
mov edx, dword [ebp - 0x70]
or ebx, 0xffffffff
add esp, 0x18
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409ac0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
push dword [eax + 0x1c]
push str.Channel
push esi
push reloc.gdiplus.dll_Ordinal_1
call fcn.0045d5a0
add esp, 0x10
mov byte [ebp - 4], 0
mov edi, 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409af9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x409b1e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x409b1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x409b1e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, edi
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.00465d1b
mov esp, ebp
pop ebp
ret