Function at 0x4877d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0xb50
lea eax, [esp + 0x2b0]
push eax
call fcn.004813c0
push 0x1230
call fcn.0041ed90
add esp, 8
test eax, eax
je 0x48780a
lea ecx, [esp + 0x2b0]
push ecx
mov ecx, eax
call fcn.00487340
mov dword [0x4df12c], eax
jmp 0x487814
mov dword [0x4df12c], 0
lea edx, [esp + 0x120]
push ebx
mov ebx, dword [esp + 0xb58]
push edx
push 0x202
mov dword [0x4df130], ebx
call sub.WSOCK32.dll_WSAStartup
mov eax, dword [esp + 0xb5c]
test eax, eax
jne 0x487859
mov ecx, dword [0x4df12c]
push ebx
call fcn.00487a80
test eax, eax
jne 0x487859
pop ebx
add esp, 0xb50
ret 0x10
mov eax, dword [esp + 0xb60]
mov ecx, dword [esp + 0xb64]
push eax
push ecx
mov ecx, dword [0x4df12c]
push ebx
call fcn.00487b10
test eax, eax
jne 0x487883
pop ebx
add esp, 0xb50
ret 0x10
mov edx, dword [0x4df12c]
push ebp
push esi
push edi
mov eax, dword [edx + 0x11e4]
test eax, eax
jne 0x4879c0
lea eax, [esp + 0x130]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x130]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2d]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x2c], 0x22
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.___1
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x34]
and ecx, 3
push eax
push str.ShockwaveFlash.ShockwaveFlash_shellopencommand
push 0x80000000
rep movsb byte es:[edi], byte [esi]
call fcn.00487690
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d6df0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea eax, [esp + 0x44]
push 1
push eax
push str.ShockwaveFlash.ShockwaveFlashDefaultIcon
push 0x80000000
call fcn.00487690
push 0
push 1
push str.ShockwaveFlash.ShockwaveFlash
push str..swf
push 0x80000000
call fcn.00487690
push 0
push 1
push str.ShockwaveFlash.ShockwaveFlash
push str..spl
push 0x80000000
call fcn.00487690
add esp, 0x50
push 0x25a
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
mov esi, eax
call edi
test eax, eax
je 0x487a35
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [0x4df12c]
mov eax, dword [edx + 0x122c]
test eax, eax
jne 0x487a12
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call ebx
test eax, eax
jne 0x487a24
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call edi
test eax, eax
jne 0x4879f1
mov esi, dword [0x4df12c]
test esi, esi
je 0x487a4f
mov ecx, esi
call fcn.004873b0
push esi
call fcn.0041eda0
add esp, 4
lea edx, [esp + 0x2c0]
mov dword [0x4df12c], 0
push edx
call fcn.00481490
add esp, 4
call sub.WSOCK32.dll_WSACleanup
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb50
ret 0x10