Function at 0x5df07c92
Capabilities:
Check os version
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2420
call fcn.5df09a10
mov eax, dword [0x5df0b004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5df0b001], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x5df07ccb
push 0x5df01374
call sub.ntdll.dll_Ordinal_1
mov byte [0x5df0b001], 0
push 0x2374
lea eax, [ebp - 0x240c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x240c]
push eax
call fcn.5df067e4
mov eax, dword [ebx + 0xc]
push 4
pop ecx
mov edi, 0x5df01354
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x5df07d0c
mov dword [ebp - 0x23d4], 6
jmp 0x5df07d2d
push 4
mov esi, eax
pop ecx
mov edi, 0x5df01364
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x5df07d23
or dword [ebp - 0x23d8], 0xffffffff
mov dword [ebp - 0x23d4], 2
mov esi, 0x94
push esi
xor edi, edi
lea eax, [ebp - 0x98]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5df07d6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x5df08085
mov ax, word [0x5df0b3c0]
mov dword [ebp - 0x2250], 1
cmp ax, di
je 0x5df07d86
movzx eax, ax
jmp 0x5df07da2
cmp dword [ebp - 0x23d4], 6
jne 0x5df07d9f
cmp dword [ebp - 0x88], 2
je 0x5df07d9f
mov eax, 0x101
jmp 0x5df07da2
push 2
pop eax
mov esi, 0x5df0b3c0
push esi
push eax
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x241c], eax
cmp eax, 0x276c
jne 0x5df07dcc
push esi
push 0x101
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x241c], eax
cmp eax, edi
jne 0x5df07d62
cmp byte [0x5df0b3c0], 2
movzx eax, word [0x5df0b548]
mov dword [ebp - 0x2330], eax
jb 0x5df07deb
call fcn.5df03fe1
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
mov dword [ebp - 0x23c0], eax
lea eax, [ebp - 0x240c]
push eax
call fcn.5df06be6
mov esi, eax
cmp esi, edi
jl 0x5df0805d
push edi
lea eax, [ebp - 0x241c]
push eax
push edi
push edi
push 2
lea eax, [ebp - 0x2414]
push eax
lea eax, [ebp - 0x240c]
push eax
call fcn.5df13db1
test eax, eax
jge 0x5df07e3a
mov esi, 0x887700fa
jmp 0x5df0805d
cmp byte [0x5df0b3c0], 2
jb 0x5df07e6f
lea eax, [ebp - 0x2330]
push eax
push dword [ebp - 0x2414]
call fcn.5df0454a
mov esi, eax
cmp esi, edi
jge 0x5df07e6f
mov ax, word [0x5df0b548]
cmp ax, di
je 0x5df07e8c
movzx eax, ax
mov dword [ebp - 0x2330], eax
cmp dword [ebp - 0x23d4], 6
jne 0x5df07e9f
push dword [ebp - 0x2414]
call fcn.5df06c5d
test eax, eax
jge 0x5df07e9f
mov esi, 0x887700fa
push 1
push edi
push dword [ebp - 0x2414]
call fcn.5df083fc
jmp 0x5df0805d
push 1
push edi
push dword [ebp - 0x2414]
call fcn.5df083fc
mov eax, dword [ebx]
mov dword [eax + 0x20], 0x5df05e1d
mov eax, dword [ebx]
mov dword [eax + 0x28], 0x5df0750f
mov eax, dword [ebx]
mov dword [eax + 0x10], 0x5df078df
mov eax, dword [ebx]
mov dword [eax + 8], 0x5df07b29
mov eax, dword [ebx]
mov dword [eax + 0xc], 0x5df074f7
mov eax, dword [ebx]
mov dword [eax + 0x48], 0x5df07976
mov eax, dword [ebx]
mov dword [eax + 0x30], 0x5df06911
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x5df07a16
mov eax, dword [ebx]
mov dword [eax + 0x44], fcn.5df069f5
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x5df07002
cmp byte [0x5df0b3c0], 2
jb 0x5df07f22
mov eax, dword [ebx]
mov dword [eax + 0x50], 0x5df07804
mov eax, dword [ebx]
mov dword [eax + 0x5c], 0x5df06319
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x18], 0x14
mov dword [ebx + 0x24], 0x60000
cmp ecx, edi
je 0x5df07f50
mov eax, dword [ebx + 4]
mov edx, dword [eax]
lea esi, [ebp - 0x240c]
push esi
push ecx
push dword [ebx + 0x1c]
push 0x5df06b46
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x23d4], 2
jne 0x5df07f68
push dword [ebx + 0xc]
lea eax, [ebp - 0x240c]
push eax
call fcn.5df033f6
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
push 1
push 0x2374
lea edx, [ebp - 0x240c]
push edx
push eax
call dword [ecx + 0x34]
mov esi, eax
cmp esi, edi
jl 0x5df0805d
mov ebx, dword [ebx + 4]
mov eax, dword [ebx]
push 1
lea ecx, [ebp - 0x2420]
push ecx
lea ecx, [ebp - 0x2410]
push ecx
push ebx
call dword [eax + 0x30]
mov esi, eax
cmp esi, edi
jl 0x5df0805d
cmp byte [0x5df0b3c0], 2
jb 0x5df08046
push dword [ebp - 0x2410]
call fcn.5df066bf
mov esi, eax
cmp esi, edi
jl 0x5df0805d
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 0x2410]
mov dword [ecx + 0x154], eax
mov eax, dword [ebp - 0x2410]
cmp dword [eax + 0x154], edi
je 0x5df0805d
xor ebx, ebx
inc ebx
mov dword [eax + 0x15c], ebx
lea eax, [ebp - 0x2418]
push eax
push edi
push dword [ebp - 0x2410]
push 0x5df04819
push 0xfa0
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x2418], eax
cmp eax, edi
jne 0x5df08032
mov eax, dword [ebp - 0x2410]
mov dword [eax + 0x15c], edi
jmp 0x5df0805d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x2418]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5df0b578], edi
je 0x5df0807c
push dword [ebp - 0x2410]
call fcn.5df01640
test eax, eax
jne 0x5df0807c
lea eax, [ebp - 0x240c]
push eax
call fcn.5df067e4
call sub.WS2_32.dll_WSACleanup
cmp eax, 0xffffffff
jne 0x5df08078
call sub.WS2_32.dll_WSAGetLastError
mov eax, esi
jmp 0x5df08085
mov eax, dword [sym.imp.DPLAYX.dll_gdwDPlaySPRefCount]
inc dword [eax]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5df099e0
leave
ret 4