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

Disassembly:
push 0xffffffffffffffff
push 0x5db7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push ebp
lea eax, [esp + 8]
push esi
push eax
push 0x657378
push OleUIAddVerbMenuA
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
je 0x480ea1
push 0
push 0x657380
push 1
push 0x657378
push OleUIAddVerbMenuA
call esi
test eax, eax
jne 0x48113b
jmp 0x480ea8
mov ecx, dword [esp + 0xc]
push ecx
call ebp
lea edx, [esp + 0xc]
push edx
push 0x657380
push OleUIAddVerbMenuA
call ebx
test eax, eax
je 0x481134
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0x5ecdf0
mov dword [esp + 0x30], 0x5ecde8
call fcn.004018e0
push 0
lea ecx, [esp + 0x30]
call fcn.00401950
push 0
lea ecx, [esp + 0x34]
call fcn.00401a40
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x2c], 0x5ecdd4
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea ecx, [eax - 0xc]
mov dword [esp + eax + 0x28], ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
mov dword [esp + 0x60], 0
call fcn.00495af0
mov eax, dword [eax]
mov byte [esp + 0x5c], 1
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x30]
call fcn.0048f9c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.0059d7fd
mov edx, dword [esp + 0x2c]
push str.envsetup.exe
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x30]
call fcn.0048fc00
push 0
push 0x660c4c
push 1
push 0x657380
push OleUIAddVerbMenuA
call esi
test eax, eax
je 0x480f9a
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004019c0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x30]
call fcn.0048fe30
lea ecx, [esp + 0x14]
call fcn.0059d7fd
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov ecx, dword [0x677e28]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + edx + 0x30]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call fcn.0059d986
push 0x6537c4
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 3
call fcn.0059d86b
lea edx, [esp + 0x10]
mov byte [esp + 0x5c], 4
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0059da2c
push 0x6537c8
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x68], 5
call fcn.0059da92
mov eax, dword [eax]
push 0
push eax
push 1
push 0x653764
push OleUIAddVerbMenuA
call esi
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.0059d7fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 4
call fcn.0059d7fd
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.0059d7fd
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call fcn.0059d7fd
test bl, bl
je 0x4810ce
lea edx, [esp + 0x38]
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 9
call fcn.0059d7fd
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 8
call fcn.0059d7fd
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 7
call fcn.0059d7fd
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 6
call fcn.0059d7fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0059d7fd
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
lea eax, [esp + 0x38]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 0xd
call fcn.0059d7fd
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 0xc
call fcn.0059d7fd
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 0xb
call fcn.0059d7fd
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0xa
call fcn.0059d7fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0059d7fd
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret
mov ecx, dword [esp + 0xc]
push ecx
call ebp
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret