Function at 0x4d8cd0
Capabilities:
Initialize winsock library
Persist via default file association registry key
Set registry value

Disassembly:
sub esp, 0xc68
push ebx
lea eax, [esp + 0x3bc]
push esi
push eax
call fcn.004cfc60
push 0xcd0
call fcn.00439320
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x4d8d0e
lea ecx, [esp + 0x3c0]
push ecx
mov ecx, eax
call fcn.004d7670
mov dword [0x5616a8], eax
jmp 0x4d8d14
mov dword [0x5616a8], ebx
mov esi, dword [esp + 0xc74]
lea edx, [esp + 0x230]
push edx
push 0x202
mov dword [0x5616ac], esi
call sub.WSOCK32.dll_WSAStartup
cmp dword [esp + 0xc78], ebx
jne 0x4d8d4c
mov ecx, dword [0x5616a8]
push esi
call fcn.004d8c40
test eax, eax
je 0x4d8d6c
mov eax, dword [esp + 0xc7c]
mov ecx, dword [esp + 0xc80]
push eax
push ecx
mov ecx, dword [0x5616a8]
push esi
call fcn.004d7e80
test eax, eax
jne 0x4d8d79
pop esi
xor eax, eax
pop ebx
add esp, 0xc68
ret 0x10
mov edx, dword [0x5616a8]
cmp dword [edx + 0xc84], ebx
push edi
jne 0x4d8e89
push 0x104
lea eax, [esp + 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [esp + 0x2c], 0x22
xor eax, eax
jmp 0x4d8db0
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x2d], cl
inc eax
test cl, cl
jne 0x4d8db0
lea edi, [esp + 0x2c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4d8dc5
mov ecx, dword [str.___1]
mov dl, byte [0x545f44]
mov byte [esp + 0x234], al
lea eax, [esp + 0x2c]
mov dword [edi], ecx
push eax
mov byte [edi + 4], dl
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [esp + 0x30]
push ecx
push 1
push str.ShockwaveFlash.ShockwaveFlash_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
xor eax, eax
mov cl, byte [esp + eax + 0x130]
mov byte [esp + eax + 0x2c], cl
inc eax
test cl, cl
jne 0x4d8e12
lea edi, [esp + 0x2c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4d8e27
mov dx, word [0x545f08]
mov al, byte [0x545f0a]
push ebx
push 1
lea ecx, [esp + 0x34]
push ecx
mov word [edi], dx
push str.ShockwaveFlash.ShockwaveFlashDefaultIcon
push 0x80000000
mov byte [edi + 2], al
call fcn.004d71b0
push ebx
push 1
push str.ShockwaveFlash.ShockwaveFlash
push 0x53bba4
push 0x80000000
call fcn.004d71b0
push ebx
push 1
push str.ShockwaveFlash.ShockwaveFlash
push str..spl
push 0x80000000
call fcn.004d71b0
add esp, 0x3c
push 0x25a
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
mov esi, eax
call edi
test eax, eax
je 0x4d8f06
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
jmp 0x4d8ec0
mov eax, dword [0x5616a8]
mov ecx, dword [eax + 0xccc]
test ecx, ecx
jne 0x4d8ee0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
call ebp
test eax, eax
jne 0x4d8ef2
lea eax, [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call edi
test eax, eax
jne 0x4d8ec0
xor ebx, ebx
pop ebp
mov esi, dword [0x5616a8]
cmp esi, ebx
pop edi
je 0x4d8f58
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0xc90]
push eax
push ecx
call fcn.004d1f30
mov ax, word [esi + 0xc88]
add esp, 8
cmp ax, bx
je 0x4d8f48
mov edx, dword [esi + 0xcc0]
movzx eax, ax
push edx
push eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov word [esi + 0xc88], bx
mov ecx, esi
call fcn.004d2800
push esi
call fcn.00527b30
add esp, 4
lea ecx, [esp + 0x3c0]
push ecx
mov dword [0x5616a8], ebx
call fcn.004cfa30
add esp, 4
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esp + 0x14]
pop esi
pop ebx
add esp, 0xc68
ret 0x10