Function at 0x410cc0
Capabilities:
Check os version
Delete registry key
Delete registry value
Persist via contextmenuhandlers registry key
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19ec
call fcn.004273e0
mov eax, dword [0x5e10a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x19d8], ecx
lea edi, [ebp - 0x1ec]
mov ebx, dword [ebp + 8]
mov ecx, 0x1e
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
mov dword [ebp - 0x19e4], eax
mov eax, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x19d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x19e0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x19c8], eax
mov eax, dword [ebp + 0x28]
push 0x4e
mov dword [ebp - 0x19ec], eax
lea eax, [ebp - 0x172]
push 0
push eax
mov dword [ebp - 0x19cc], ebx
movsw word es:[edi], word [esi]
call fcn.0043fcd0
push 0xc8
lea eax, [ebp - 0x3bc]
push 0
push eax
call fcn.0043fcd0
push 0xc8
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0043fcd0
push 0xc8
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0x9ac]
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0xccc]
push 0
push eax
call fcn.0043fcd0
add esp, 0x48
lea eax, [ebp - 0x19c4]
push 0x7d0
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0xe5c]
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0xb3c]
push 0
push eax
call fcn.0043fcd0
push 0x190
lea eax, [ebp - 0xfec]
push 0
push eax
call fcn.0043fcd0
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.0043fcd0
push 0x190
push 0
lea eax, [ebp - 0x614]
push eax
call fcn.0043fcd0
add esp, 0x48
lea eax, [ebp - 0x124]
push ebx
push dword [ebp - 0x19e4]
push str._s_s
push eax
call fcn.00413e30
push str.Registration
call fcn.0043390e
lea eax, [ebp - 0x124]
push eax
push str.sAppKey__s
call fcn.0043390e
add esp, 0x1c
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x1ec]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x3be], ax
test ax, ax
jne 0x410e50
mov edx, ebx
mov esi, ebx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x410e70
lea edi, [ebp - 0x3bc]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410e86
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x3bc]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410eb0
mov ecx, 8
lea eax, [ebp - 0x3bc]
mov esi, str.OpenWithProgids
rep movsd dword es:[edi], dword [esi]
push eax
push str.OpenWithProgids__s
movsw word es:[edi], word [esi]
call fcn.0043390e
add esp, 8
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x1ec]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x2b6], ax
test ax, ax
jne 0x410ee0
mov edx, ebx
mov esi, ebx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x410f00
lea edi, [ebp - 0x2b4]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410f16
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2b4]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x410f40
mov eax, dword [str.UserChoice]
mov dword [ecx], eax
mov eax, dword [0x579c28]
mov dword [ecx + 4], eax
mov eax, dword [0x579c2c]
mov dword [ecx + 8], eax
mov eax, dword [0x579c30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x579c34]
mov dword [ecx + 0x10], eax
mov eax, dword [0x579c38]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x2b4]
push eax
push str.UserChoice__s
call fcn.0043390e
add esp, 8
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x1ec]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x486], ax
test ax, ax
jne 0x410f91
mov edx, ebx
mov esi, ebx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x410fb0
lea edi, [ebp - 0x484]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410fc6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x484]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410ff0
lea eax, [ebp - 0x484]
mov ecx, 7
push eax
mov esi, str.OpenWithList
rep movsd dword es:[edi], dword [esi]
push str.OpenWithList__s
call fcn.0043390e
mov edx, ebx
add esp, 8
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411020
lea edi, [ebp - 0x1ec]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411036
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push str.sFileExts__s
call fcn.0043390e
mov edx, dword [ebp - 0x19d8]
lea esi, [ebp - 0x9ac]
add esp, 8
mov edx, dword [edx]
mov ecx, edx
sub esi, edx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x411070
lea edi, [ebp - 0x9ac]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411090
mov ecx, 9
mov esi, str.SoftwareClasses_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4110b0
lea edi, [ebp - 0x9ac]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4110c6
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x9ac]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xcce], ax
test ax, ax
jne 0x4110e2
lea edi, [ebp - 0xccc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411103
mov ecx, 8
mov esi, str.OpenWithProgids
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x614]
sub ecx, edx
movsw word es:[edi], word [esi]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x411125
lea edi, [ebp - 0x614]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411140
mov ecx, 9
lea edx, [ebp - 0x124]
mov esi, str.SoftwareClasses_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x411162
lea edi, [ebp - 0x614]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411180
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x614]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x19c6], ax
test ax, ax
jne 0x4111a0
lea edi, [ebp - 0x19c4]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4111c1
mov ecx, 6
mov esi, str.DefaultIcon
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
nop dword [eax]
movzx eax, word [ebp + ecx - 0x614]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xe5e], ax
test ax, ax
jne 0x4111e0
lea edi, [ebp - 0xe5c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411201
mov ecx, 0xa
mov esi, str._shellopencommand
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x614]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xb3e], ax
test ax, ax
jne 0x411220
lea edi, [ebp - 0xb3c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411241
mov ecx, 0xf
mov esi, str._shellexContextMenuHandlers_
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0x614]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xfee], ax
test ax, ax
jne 0x411260
lea edi, [ebp - 0xfec]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x411281
mov ecx, 0xa
mov esi, str._shellexDropHandler
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp byte [ebp + 0x24], al
je 0x41199c
mov edx, dword [ebp - 0x19c8]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4112b0
lea edi, [ebp - 0xb3c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4112c6
mov ecx, edx
mov ebx, dword [ebp - 0x19d8]
shr ecx, 2
lea eax, [ebp - 0x124]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
lea eax, [ebp - 0x2b4]
and ecx, 3
push str.ProgId
rep movsb byte es:[edi], byte [esi]
push eax
push reloc.WS2_32.dll_accept
mov ecx, ebx
call fcn.0040e8d0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test al, al
je 0x411455
lea eax, [ebp - 0x19e8]
mov dword [ebp - 0x19d4], 0
push eax
push 0
lea eax, [ebp - 0x19d4]
mov dword [ebp - 0x19e8], 0
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x3bc]
push eax
push reloc.WS2_32.dll_accept
call edi
test eax, eax
jne 0x411455
lea eax, [ebp - 0x124]
mov ecx, ebx
push eax
push 0x5d78a0
lea eax, [ebp - 0x9ac]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.0040e8d0
test al, al
je 0x411455
lea eax, [ebp - 0x19d4]
mov dword [ebp - 0x19e8], 0
push eax
push 0
lea eax, [ebp - 0x19e8]
mov dword [ebp - 0x19d4], 0
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xccc]
push eax
push reloc.WS2_32.dll_closesocket
call edi
test eax, eax
jne 0x411455
push dword [ebp - 0x19e0]
lea eax, [ebp - 0x19c4]
mov ecx, ebx
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call fcn.0040e8d0
test al, al
je 0x411455
push dword [ebp - 0x19d0]
lea eax, [ebp - 0xe5c]
mov ecx, ebx
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call fcn.0040e8d0
test al, al
je 0x411455
push 0
push 0
lea eax, [ebp - 0xb3c]
mov ecx, ebx
push eax
push reloc.WS2_32.dll_closesocket
call fcn.0040e890
test al, al
je 0x411455
push dword [ebp - 0x19c8]
lea eax, [ebp - 0xfec]
mov ecx, ebx
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call fcn.0040e8d0
test al, al
je 0x411455
mov eax, dword [ebp - 0x19ec]
push str.check_faild
mov byte [eax], 0
call fcn.0043390e
jmp 0x411b5c
mov eax, dword [ebp - 0x19ec]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [eax], 1
lea eax, [ebp - 0x2b4]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x3bc]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x484]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 0x19dc]
mov dword [ebp - 0x19d8], 1
push eax
push 0
lea eax, [ebp - 0x19d8]
mov dword [ebp - 0x19dc], 0
push eax
push 0x5d78a0
push dword [ebp - 0x19cc]
push accept
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x411602
push dword [ebp - 0x19dc]
call fcn.00442e26
push dword [ebp - 0x19dc]
mov ebx, eax
push 0
push ebx
call fcn.0043fcd0
add esp, 0x10
mov dword [ebp - 0x19d8], 1
lea eax, [ebp - 0x19dc]
push eax
push ebx
lea eax, [ebp - 0x19d8]
push eax
push 0x5d78a0
push dword [ebp - 0x19cc]
push accept
call edi
test ebx, ebx
je 0x411604
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411550
sub ecx, edx
sar ecx, 1
je 0x411604
lea ecx, [ebp - 0x124]
mov eax, ebx
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411596
test dx, dx
je 0x411592
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411596
add eax, 4
add ecx, 4
test dx, dx
jne 0x411570
xor eax, eax
jmp 0x41159b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411604
push 0x208
lea eax, [ebp - 0x81c]
push 0
push eax
call fcn.0043fcd0
push dword [ebp - 0x19e4]
lea eax, [ebp - 0x81c]
push str._sBackup
push eax
call fcn.00413e30
mov ecx, ebx
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4115d1
mov edi, dword [ebp - 0x19cc]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
lea eax, [ebp - 0x81c]
push eax
push edi
push accept
call esi
jmp 0x41160a
xor ebx, ebx
mov edi, dword [ebp - 0x19cc]
lea ecx, [ebp - 0x124]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411613
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push 1
push 0x5d78a0
lea eax, [ebp - 0x9ac]
push eax
push reloc.WS2_32.dll_closesocket
call esi
push 0
push 0
push 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xccc]
push eax
push reloc.WS2_32.dll_closesocket
call esi
mov ecx, dword [ebp - 0x19e0]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411670
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x19e0]
lea eax, [ebp - 0x19c4]
push 1
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call esi
mov ecx, dword [ebp - 0x19d0]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x19d0]
lea eax, [ebp - 0xe5c]
push 1
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call esi
push 0
push 0
push 1
push 0
lea eax, [ebp - 0xb3c]
push eax
push reloc.WS2_32.dll_closesocket
call esi
mov ecx, dword [ebp - 0x19c8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411701
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x19c8]
lea eax, [ebp - 0xfec]
push 1
push 0x5d78a0
push eax
push reloc.WS2_32.dll_closesocket
call esi
push 0
push 0
push 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x3bc]
push eax
push reloc.WS2_32.dll_accept
call esi
lea ecx, [ebp - 0x124]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411757
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push 1
push str.ProgId
lea eax, [ebp - 0x2b4]
push eax
push reloc.WS2_32.dll_accept
call esi
push 0x110
lea eax, [ebp - 0x594]
push 0
push eax
call fcn.0043fcd0
add esp, 0xc
mov dword [ebp - 0x598], 0x114
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x594], 6
jb 0x41195b
cmp dword [ebp - 0x590], 2
jb 0x411b52
push 0x40
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x2f4]
movq qword [ebp - 0x13], xmm0
push 0
push eax
movups xmmword [ebp - 0x23], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.0043fcd0
push 0x208
lea eax, [ebp - 0x11f4]
push 0
push eax
call fcn.0043fcd0
push 0x208
lea eax, [ebp - 0x81c]
push 0
push eax
call fcn.0043fcd0
add esp, 0x24
lea eax, [ebp - 0x81c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x81c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411850
sub ecx, edx
sar ecx, 1
jne 0x411885
call fcn.0040f910
mov ecx, eax
call fcn.0042c99d
lea edx, [ebp - 0x81c]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [eax + edx - 2], cx
test cx, cx
jne 0x411875
lea eax, [ebp - 0x81c]
push 0x5c
push eax
call fcn.0043f264
add esp, 8
test eax, eax
je 0x4118a0
xor ecx, ecx
mov word [eax + 2], cx
push str.JiKeAss.dll
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x11f4]
push str._s_s
push eax
call fcn.00413e30
add esp, 0x10
lea eax, [ebp - 0x11f4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4118f2
push str.HashAssociation
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4118f2
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push edi
call eax
add esp, 0xc
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4118f8
sub ecx, edx
je 0x411b52
lea eax, [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004356b3
lea ecx, [ebp - 0x124]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411923
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2f4]
push eax
push 1
push str.Hash
lea eax, [ebp - 0x2b4]
push eax
push reloc.WS2_32.dll_accept
call esi
jmp 0x411b52
lea ecx, [ebp - 0x124]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411964
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x124]
push eax
push 1
push 0x5d78a0
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_closesocket
call esi
jmp 0x411b52
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x2b4]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x3bc]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x484]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_accept
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 0x1ec]
push eax
push reloc.WS2_32.dll_accept
call esi
lea eax, [ebp - 0x124]
push eax
push accept
call esi
push 0x208
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x19d0], 1
push 0
push eax
mov dword [ebp - 0x19c8], 0
call fcn.0043fcd0
push dword [ebp - 0x19e4]
lea eax, [ebp - 0x81c]
push str._sBackup
push eax
call fcn.00413e30
mov edi, dword [ebp - 0x19cc]
lea eax, [ebp - 0x19c8]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x18
push eax
push 0
lea eax, [ebp - 0x19d0]
push eax
lea eax, [ebp - 0x81c]
push eax
push edi
push accept
call esi
test eax, eax
jne 0x411b5f
push dword [ebp - 0x19c8]
call fcn.00442e26
push dword [ebp - 0x19c8]
mov ebx, eax
push 0
push ebx
call fcn.0043fcd0
add esp, 0x10
mov dword [ebp - 0x19d0], 1
lea eax, [ebp - 0x19c8]
push eax
push ebx
lea eax, [ebp - 0x19d0]
push eax
lea eax, [ebp - 0x81c]
push eax
push edi
push accept
call esi
test ebx, ebx
je 0x411b5f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411ac3
sub ecx, edx
sar ecx, 1
je 0x411b52
lea ecx, [ebp - 0x124]
mov eax, ebx
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411b06
test dx, dx
je 0x411b02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411b06
add eax, 4
add ecx, 4
test dx, dx
jne 0x411ae0
xor eax, eax
jmp 0x411b0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x411b3f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411b14
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0x5d78a0
push edi
push accept
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x81c]
push eax
push edi
push accept
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test ebx, ebx
je 0x411b5f
push ebx
call fcn.00442e21
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004273c3
mov esp, ebp
pop ebp
ret 0x24