Function at 0x5a638337
Capabilities:
Check os version
Create thread
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2420
call fcn.5a639f20
mov eax, dword [0x5a63e034]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x8dd
lea edi, [ebp - 0x240c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x240c]
push eax
call fcn.5a637269
mov eax, dword [ebx + 0xc]
push 4
pop ecx
mov edi, 0x5a631354
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x5a63838e
mov dword [ebp - 0x23d4], 6
jmp 0x5a6383af
push 4
mov esi, eax
pop ecx
mov edi, 0x5a631344
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x5a6383a5
or dword [ebp - 0x23d8], 0xffffffff
mov dword [ebp - 0x23d4], 2
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5a6383df
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5a63843d
mov eax, dword [0x5a63e4a0]
test ax, ax
mov dword [ebp - 0x2250], 1
mov esi, 0x101
jne 0x5a638411
cmp dword [ebp - 0x23d4], 6
jne 0x5a63840e
cmp dword [ebp - 0x88], 2
je 0x5a63840e
mov eax, esi
jmp 0x5a638411
push 2
pop eax
mov edi, 0x5a63e4a0
push edi
push eax
call sub.WSOCK32.dll_WSAStartup
cmp eax, 0x276c
mov dword [ebp - 0x241c], eax
jne 0x5a638437
push edi
push esi
call sub.WSOCK32.dll_WSAStartup
mov dword [ebp - 0x241c], eax
xor esi, esi
cmp eax, esi
je 0x5a638447
mov eax, 0x80004005
jmp 0x5a6386fc
cmp byte [0x5a63e4a0], 2
movzx eax, word [0x5a63e628]
mov dword [ebp - 0x2330], eax
jb 0x5a638462
call fcn.5a63475d
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
mov dword [ebp - 0x23c0], eax
lea eax, [ebp - 0x240c]
push eax
call fcn.5a637667
mov edi, eax
cmp edi, esi
jl 0x5a6386d4
push esi
lea eax, [ebp - 0x241c]
push eax
push esi
push esi
push 2
lea eax, [ebp - 0x2414]
push eax
lea eax, [ebp - 0x240c]
push eax
call fcn.5a638710
test eax, eax
jge 0x5a6384b1
mov edi, 0x887700fa
jmp 0x5a6386d4
cmp byte [0x5a63e4a0], 2
jb 0x5a6384e6
lea eax, [ebp - 0x2330]
push eax
push dword [ebp - 0x2414]
call fcn.5a634cc6
mov edi, eax
cmp edi, esi
jge 0x5a6384e6
mov ax, word [0x5a63e628]
cmp ax, si
je 0x5a638503
movzx eax, ax
mov dword [ebp - 0x2330], eax
cmp dword [ebp - 0x23d4], 6
jne 0x5a638516
push dword [ebp - 0x2414]
call fcn.5a6376de
test eax, eax
jge 0x5a638516
mov edi, 0x887700fa
push 1
push esi
push dword [ebp - 0x2414]
call fcn.5a638a56
jmp 0x5a6386d4
push 1
push esi
push dword [ebp - 0x2414]
call fcn.5a638a56
mov eax, dword [ebx]
mov dword [eax + 0x20], 0x5a6368ad
mov eax, dword [ebx]
mov dword [eax + 0x28], 0x5a637bbc
mov eax, dword [ebx]
mov dword [eax + 0x10], 0x5a637f91
mov eax, dword [ebx]
mov dword [eax + 8], 0x5a6381d3
mov eax, dword [ebx]
mov dword [eax + 0xc], 0x5a637ba4
mov eax, dword [ebx]
mov dword [eax + 0x48], 0x5a638026
mov eax, dword [ebx]
mov dword [eax + 0x30], 0x5a637392
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x5a6380c6
mov eax, dword [ebx]
mov dword [eax + 0x44], fcn.5a637475
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x5a636532
cmp byte [0x5a63e4a0], 2
jb 0x5a638599
mov eax, dword [ebx]
mov dword [eax + 0x50], 0x5a637eac
mov eax, dword [ebx]
mov dword [eax + 0x5c], 0x5a636da2
mov ecx, dword [ebx + 0x20]
cmp ecx, esi
mov dword [ebx + 0x18], 0x14
mov dword [ebx + 0x24], 0x60000
je 0x5a6385c7
mov eax, dword [ebx + 4]
mov edx, dword [eax]
lea edi, [ebp - 0x240c]
push edi
push ecx
push dword [ebx + 0x1c]
push 0x5a6375c4
push eax
call dword [edx + 0x14]
cmp dword [ebp - 0x23d4], 2
jne 0x5a6385df
push dword [ebx + 0xc]
lea eax, [ebp - 0x240c]
push eax
call fcn.5a633b48
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 edi, eax
cmp edi, esi
jl 0x5a6386d4
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 edi, eax
cmp edi, esi
jl 0x5a6386d4
cmp byte [0x5a63e4a0], 2
jb 0x5a6386bd
push dword [ebp - 0x2410]
call fcn.5a637144
mov edi, eax
cmp edi, esi
jl 0x5a6386d4
push esi
push esi
push esi
push esi
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], esi
je 0x5a6386d4
xor ebx, ebx
inc ebx
mov dword [eax + 0x15c], ebx
lea eax, [ebp - 0x2418]
push eax
push esi
push dword [ebp - 0x2410]
push 0x5a634f8f
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebp - 0x2418], eax
jne 0x5a6386a9
mov eax, dword [ebp - 0x2410]
mov dword [eax + 0x15c], esi
jmp 0x5a6386d4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 0x2418]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5a63e658], esi
je 0x5a6386f3
push dword [ebp - 0x2410]
call fcn.5a631df0
test eax, eax
jne 0x5a6386f3
lea eax, [ebp - 0x240c]
push eax
call fcn.5a637269
call sub.WSOCK32.dll_WSACleanup
cmp eax, 0xffffffff
jne 0x5a6386ef
call sub.WSOCK32.dll_WSAGetLastError
mov eax, edi
jmp 0x5a6386fc
mov eax, dword [sym.imp.DPLAYX.dll_gdwDPlaySPRefCount]
inc dword [eax]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.5a639a99
leave
ret 4