Function at 0x43ccf0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475101
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a5010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401980
sub esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push dword [edi]
push 0x80000000
call fcn.0043d670
or ebx, 0xffffffff
test eax, eax
jne 0x43d08c
mov edx, dword [esi]
test edx, edx
je 0x43d08c
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cd80
sub ecx, esi
mov esi, dword [ebp - 0x34]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43d08f
test esi, esi
je 0x43cdbb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str._shellenqueue
mov edx, edi
mov dword [ebp - 0x34], 0x80000000
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0041af20
add esp, 4
lea ecx, [ebp - 0x34]
push dword [eax]
call fcn.0043d4c0
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ce06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._shellopen
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.0041af20
sub esp, 0x10
lea ecx, [ebp - 0x34]
push dword [eax]
push 0x80000000
call fcn.0043d670
mov edx, dword [ebp - 0x20]
test eax, eax
mov eax, ebx
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ce47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x43d08c
push 1
push 0x48c2c0
push 0
lea ecx, [ebp - 0x34]
call fcn.0043d6f0
test eax, eax
jne 0x43d08c
push str._shellopencommand
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.0041af20
sub esp, 0x10
lea ecx, [ebp - 0x34]
push dword [eax]
push 0x80000000
call fcn.0043d670
mov edx, dword [ebp - 0x20]
test eax, eax
mov eax, ebx
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ceab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x43d08c
push dword [ebp + 8]
mov edx, 0x49105c
lea ecx, [ebp - 0x14]
call fcn.0041ae50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push str.____1_
mov edx, eax
mov dword [ebp - 0x20], 1
call fcn.0041af20
add esp, 8
lea ecx, [ebp - 0x34]
push 1
push dword [eax]
push 0
call fcn.0043d6f0
test eax, eax
lea ecx, [ebp - 0x1c]
setne bl
call fcn.00401960
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.00401960
test bl, bl
jne 0x43d08c
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push str.FileAssociations
call fcn.0041af20
sub esp, 0x10
lea ecx, [ebp - 0x34]
push dword [eax]
push 0x80000002
call fcn.0043d670
test eax, eax
lea ecx, [ebp - 0x20]
setne bl
call fcn.00401960
test bl, bl
jne 0x43d08c
push 1
push dword [edi]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x18]
call fcn.0043d6f0
test eax, eax
jne 0x43d08c
lea ecx, [ebp - 0x14]
call fcn.0041b440
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jne 0x43d005
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041bc30
push ecx
lea ecx, [ebp - 0x20]
call fcn.0043d350
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.0043d350
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0041aff0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.0041aff0
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0041bc30
lea ecx, [ebp - 0x24]
call fcn.00401960
lea ecx, [ebp - 0x28]
call fcn.00401960
lea ecx, [ebp - 0x1c]
call fcn.00401960
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00401960
push 0x491498
lea ecx, [ebp - 0x14]
call fcn.0041b3f0
mov esi, dword [ebp - 0x14]
push str.DefaultIcon
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.0041af20
sub esp, 0x10
lea ecx, [ebp - 0x34]
push dword [eax]
push 0x80000000
call fcn.0043d670
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00401960
test bl, bl
jne 0x43d084
push 1
push esi
push 0
lea ecx, [ebp - 0x34]
call fcn.0043d6f0
test eax, eax
jne 0x43d084
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401960
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push esi
mov ecx, edi
call fcn.0043c6a0
add esp, 8
test eax, eax
jne 0x43d07a
push 1
push esi
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.0043c030
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, 1
jmp 0x43d091
lea ecx, [ebp - 0x14]
call fcn.00401960
mov esi, dword [ebp - 0x34]
xor edi, edi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43d0b0
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
test esi, esi
je 0x43d0bb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret