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

Disassembly:
mov eax, 0x20d8
call fcn.005d9990
call fcn.00533c00
lea eax, [esp + 0x1070]
push 0x1068
push eax
call fcn.00423310
add esp, 8
push eax
lea ecx, [esp + 0x1074]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x53409c
lea edx, [esp + 0x1070]
push 0
push edx
call fcn.005f296a
add esp, 8
test eax, eax
jne 0x53409c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.Software
mov edi, reloc.WSOCK32.dll_accept
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x533ebb
mov ecx, dword [esp + 0x10]
push ecx
call ebp
jmp 0x533ec0
mov edi, reloc.WSOCK32.dll_bind
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0x5fa8d0
push 0
push str.SoftwareClassesirc
push edi
call ebx
test eax, eax
jne 0x534098
lea ecx, [esp + 0x18]
push str.URL:IRC_Protocol
push ecx
call fcn.005d9929
lea eax, [esp + 0x20]
add esp, 8
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x533f10
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 1
push 0
push 0
push eax
call esi
test eax, eax
jne 0x534098
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x18]
push ecx
push 3
push eax
push str.EditFlags
push edx
mov dword [esp + 0x2c], 2
call esi
test eax, eax
jne 0x534098
lea eax, [esp + 0x18]
push 0x5fa8d0
push eax
call fcn.005d9929
lea eax, [esp + 0x20]
add esp, 8
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x533f80
sub eax, edx
mov edx, dword [esp + 0x10]
inc eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0
push str.URL_Protocol
push edx
call esi
test eax, eax
jne 0x534098
mov eax, dword [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x20006
push 0
push 0x5fa8d0
push 0
push str.SoftwareClassesircDefaultIcon
push edi
call ebx
test eax, eax
jne 0x534098
lea eax, [esp + 0x1080]
push eax
lea ecx, [esp + 0x1c]
push 0x5f6118
push ecx
call fcn.005d9929
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534000
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 1
push 0
push 0
push eax
call esi
test eax, eax
jne 0x534098
mov ecx, dword [esp + 0x10]
push ecx
call ebp
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0x5fa8d0
push 0
push str.SoftwareClassesircShellopencommand
push edi
call ebx
test eax, eax
jne 0x534098
lea ecx, [esp + 0x1080]
push ecx
lea edx, [esp + 0x1c]
push str.__s____1
push edx
call fcn.005d9929
lea eax, [esp + 0x24]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x534070
mov ecx, dword [esp + 0x10]
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push 0
push ecx
call esi
test eax, eax
jne 0x534098
mov edx, dword [esp + 0x10]
push edx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20d8
ret