Function at 0x437400
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x220
push 0xfffffffffffffffe
push 0x48a840
push 0x441f50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48e050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x21c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp], ax
push 0x21a
xor ebx, ebx
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.004416b0
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0xf003f
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str.exefile_shellopencommand
push bind
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call esi
test eax, eax
jne 0x437538
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHGetValue_SZ_EXEFILE_REGPATH:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], edi
jne 0x4374cf
push str.__1___
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x437538
push str.__1___
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4374f0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHSetValue_SZ_EXEFILE_REGPATH:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push edi
push ebx
push str.exefile_shellopencommand
push bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x437538
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str..exe_shellopencommand
push bind
call esi
test eax, eax
jne 0x4375f8
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHGetValue_SZ_EXE_REGPATH:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], edi
jne 0x43758e
push str.__1___
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4375f8
push str.__1___
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4375b0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHSetValue_SZ_EXE_REGPATH:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push edi
push ebx
push str..exe_shellopencommand
push bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x4375f8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x208
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str..exe
push bind
call esi
test eax, eax
jne 0x4376b8
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHGetValue_.exe:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], edi
jne 0x43764e
push str.exefile
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4376b8
push str.exefile
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437670
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SHSetValue_.exe:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push edi
push ebx
push str..exe
push bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x4376b8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
call fcn.00406500
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x4379a0
lea edx, [ebp - 0x2c]
push edx
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
cmp dword [ebp - 0x2c], ebx
je 0x4379a0
call fcn.00420be0
test eax, eax
je 0x4376f3
mov dword [ebp - 0x30], 0xf013f
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.exe
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4379a0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0x208
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str.Progid
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x4377dc
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_RegQueryValueEx_SZ_PROGID_VALUE:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], 1
jne 0x43776f
push str.exefile
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4377dc
push str.exefile
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437790
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_RegSetValueEx_SZ_PROGID_VALUE:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push 1
push ebx
push str.Progid
mov edx, dword [ebp - 0x24]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call esi
test eax, eax
je 0x4377e2
mov dword [ebp - 0x28], ebx
jmp 0x4377e2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4377f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
push str.SoftwareClasses.exe_shellopencommand
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4379a0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x208
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push eax
call edi
test eax, eax
jne 0x4378c1
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_SZ_SOFTWARE_CLASSES_EXE:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], 1
jne 0x437866
push str.__1___
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4378c1
push str.__1___
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437881
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_RegSetValueEx_SZ_SOFTWARE_CLASSES_EXE:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push 1
push ebx
push ebx
mov edx, dword [ebp - 0x24]
push edx
call esi
test eax, eax
je 0x4378c1
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4378cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push ebx
push str.SoftwareClassesexefile_shellopencommand
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4379a0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x208
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp]
push edx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push eax
call edi
test eax, eax
jne 0x4379a0
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_RegQueryValueEx_SZ_SOFTWARE_CLASSES_EXEFILE:__s
call fcn.00404c20
add esp, 8
cmp dword [ebp - 0x20], 1
jne 0x437945
push str.__1___
lea eax, [ebp]
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x4379a0
push str.__1___
push 0x479110
lea edx, [ebp]
call fcn.004047d0
add esp, 8
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437960
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp]
push edx
push str.RestoreAssociationKey_RegSetValueEx_SZ_SOFTWARE_CLASSES_EXEFILE:__s
call fcn.00404c20
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp]
push ecx
push 1
push ebx
push ebx
mov edx, dword [ebp - 0x24]
push edx
call esi
test eax, eax
je 0x4379a0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.004379d6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.0043e4c7
add ebp, 0x220
mov esp, ebp
pop ebp
ret