Function at 0x4289b0
Capabilities:
Check for time delay via gettickcount
Create directory
Create raw socket
Get local ipv4 addresses
Get socket information
Get socket status
Read .ini file
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a1c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x54a8
call fcn.00458680
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x14ab]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x14ab], al
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 0x14aa]
push eax
push ecx
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x14ac], 1
mov dword [ebp - 0x14], 0xe
call fcn.0041c7d0
test eax, eax
je 0x429c8e
mov eax, dword [ebp - 0x14a4]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 8
lea eax, [ebp - 0x149c]
push edx
push eax
push esi
push edi
mov ecx, ebx
call fcn.0041c7d0
test eax, eax
je 0x429c8e
lea ecx, [ebp - 0x1478]
lea edx, [ebp - 0x3a0]
push ecx
push 0x4905a4
push edx
call fcn.004585a3
lea eax, [ebp - 0x3a0]
push str.Host:
push eax
call fcn.00458600
add esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x429c8e
mov edi, str.Host:
or ecx, 0xffffffff
xor eax, eax
push 0x48f470
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0x6db
not ecx
dec ecx
add eax, ecx
push eax
mov dword [ebp - 0x1c], eax
call fcn.00458600
add esp, 8
test eax, eax
je 0x428ac6
mov byte [eax], 0
inc eax
push eax
call fcn.00458e12
add esp, 4
mov dword [ebp - 0x28], eax
mov cl, byte [0x494b70]
mov edx, dword [esi + 0x10]
mov byte [ebp - 0x2cb0], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x2caf]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x24]
cmp ecx, 0xffffffff
je 0x428b26
mov eax, dword [ebx + 4]
mov edi, dword [eax + 0x364d8]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
lea eax, [edi + ecx*4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x2cb0]
push str._s__s_MMS
push ecx
call fcn.004585a3
add esp, 0x10
jmp 0x428b42
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [ebp - 0x2cb0]
push str._s_unknown_MMS
push edx
call fcn.004585a3
add esp, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xa558]
test ecx, ecx
je 0x428bb6
mov cl, byte [0x494b70]
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x3cb4], cl
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x3cb3]
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0x3cb4]
push 0x48e48c
push eax
call fcn.004585a3
lea edi, [ebp - 0x3cb4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x2cb0]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2cb0]
push eax
call fcn.00430d10
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
add esp, 4
push 1
push ecx
push edx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, ebx
push esi
call fcn.00426140
test eax, eax
je 0x429c8e
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14ac]
add eax, 0x10
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0041c6a0
test eax, eax
je 0x429c8e
xor esi, esi
push 0x495090
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x494f68
push esi
push str.FileIndex
push 0x490570
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dl, byte [0x494b70]
mov esi, eax
mov ecx, 0x400
xor eax, eax
lea edi, [ebp - 0x54b7]
inc esi
mov byte [ebp - 0x54b8], dl
push esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54b8]
push 0x48e2ec
push eax
call fcn.004585a3
add esp, 0xc
lea ecx, [ebp - 0x54b8]
push 0x494f68
push ecx
push str.FileIndex
push 0x490570
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x495090
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x240c4]
test eax, eax
je 0x428cf1
push 0x494e60
lea eax, [ebp - 0x4a8]
push str._smms
push eax
call fcn.004585a3
add esp, 0xc
xor edi, edi
lea ecx, [ebp - 0x4a8]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push 0x494e60
lea edx, [ebp - 0x4a8]
push str._smmsmms__d.wmv
push edx
call fcn.004585a3
lea eax, [ebp - 0x4a8]
push 0x48e4cc
push eax
call fcn.00458d74
add esp, 0x18
mov dword [ebp - 0x2c], eax
jmp 0x428cf3
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 2
jne 0x4292f1
mov eax, dword [ebx + 8]
test eax, eax
je 0x4292f1
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x1a0], ecx
xor eax, eax
cmp eax, ecx
jae 0x428d3a
cmp dword [ebp + eax*4 - 0x19c], edi
je 0x428d38
inc eax
jmp 0x428d28
cmp eax, ecx
jne 0x428d55
cmp ecx, 0x40
jae 0x428d55
mov dword [ebp + eax*4 - 0x19c], edi
mov ecx, dword [ebp - 0x1a0]
inc ecx
mov dword [ebp - 0x1a0], ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp eax, ecx
jae 0x428d6c
cmp dword [ebp + eax*4 - 0x19c], esi
je 0x428d6a
inc eax
jmp 0x428d5a
cmp eax, ecx
jne 0x428d87
cmp ecx, 0x40
jae 0x428d87
mov dword [ebp + eax*4 - 0x19c], esi
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x1a0]
push edx
push 0
push 0
push eax
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
lea ecx, [ebp - 0x1a0]
push ecx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429549
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x14]
push 8
lea eax, [ebp - 0x14ac]
push edx
push eax
push edi
push esi
mov ecx, ebx
mov dword [ebp - 0x14], 0x10
call fcn.0041c7d0
test eax, eax
je 0x429c8e
mov eax, dword [ebp - 0x14a4]
lea ecx, [ebp - 0x14]
push 8
lea edx, [ebp - 0x149c]
push ecx
push edx
push edi
push esi
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.0041c7d0
test eax, eax
je 0x429c8e
lea eax, [ebp - 0x1470]
lea ecx, [ebp - 0x3a0]
push eax
push 0x4905a4
push ecx
call fcn.004585a3
push 2
lea edx, [ebp - 0x3a0]
push 0x490550
push edx
call fcn.0045a6b0
add esp, 0x18
test eax, eax
jne 0x429513
mov dl, byte [0x494b70]
mov ecx, 0xff
lea edi, [ebp - 0x1cab]
mov byte [ebp - 0x1cac], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x18ab]
mov byte [ebp - 0x18ac], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x39e]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1cac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x48e954
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1cac]
push ecx
call fcn.00458600
add esp, 8
test eax, eax
jne 0x428ecb
lea edx, [ebp - 0x94]
push 0x487a40
push edx
mov dword [ebp - 0x94], 0xffffffff
call fcn.0045a1bd
mov byte [eax], 0
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x18ac]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x48e954
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18ac]
push ecx
call fcn.00458600
add esp, 8
test eax, eax
jne 0x428f27
lea edx, [ebp - 0x9c]
push 0x487a40
push edx
mov dword [ebp - 0x9c], 0xffffffff
call fcn.0045a1bd
mov byte [eax], 0
inc eax
push eax
call fcn.00458e12
lea eax, [ebp - 0x18ac]
push 0x49054c
push eax
call fcn.0045d2f0
add esp, 0xc
test eax, eax
jne 0x42910c
xor ebx, ebx
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x48], 2
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [ebp - 0x48]
push 0x10
push ecx
push esi
mov word [ebp - 0x46], ax
mov dword [ebp - 0x44], ebx
call dword [sym.imp.WS2_32.dll_bind]
mov edi, dword [sym.imp.WS2_32.dll_getsockname]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push edx
push eax
push esi
call edi
mov ecx, dword [ebp - 0x46]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp + 0x10]
mov si, ax
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push edx
push eax
push ecx
and esi, 0xffff
call edi
mov edi, dword [ebp - 0x44]
lea edx, [ebp - 0x1cac]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
lea eax, [ebp - 0x18ac]
push esi
push eax
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x3a0]
push str._s_s_d
push ecx
call fcn.004585a3
push 0xc
call fcn.0046efc9
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x24], esi
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x42902e
lea edx, [ebp - 0x3a0]
mov dword [esi + 4], ebx
push edx
mov dword [esi + 8], 1
call fcn.00464b6c
cmp eax, ebx
mov dword [esi], eax
jne 0x42902a
lea eax, [ebp - 0x3a0]
test eax, eax
je 0x42902a
push 0x8007000e
call fcn.00464b20
mov ebx, esi
jmp 0x429030
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], ebx
jne 0x429045
push 0x8007000e
call fcn.00464b20
test ebx, ebx
mov byte [ebp - 4], 2
je 0x429076
mov eax, dword [ebx]
test eax, eax
je 0x429076
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov esi, eax
test esi, esi
jne 0x429078
push 0x8007000e
call fcn.00464b20
jmp 0x429078
xor esi, esi
lea edi, [ebp - 0x3a0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1470]
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 3
add eax, 0x10
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14ac]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
push edx
call fcn.0041c6a0
test eax, eax
jne 0x4290d1
lea eax, [ebp - 0x78]
push 0x487a40
push eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.0045a1bd
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4292f1
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4292f1
mov eax, dword [ebx]
test eax, eax
je 0x4290fc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4292e8
jmp 0x4292df
lea edx, [ebp - 0x18ac]
push 0x49053c
push edx
call fcn.0045d2f0
add esp, 8
test eax, eax
jne 0x429513
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x42939d
xor ebx, ebx
push ebx
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x48], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x46], ax
lea eax, [ebp - 0x48]
push 0x10
push eax
push esi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.WS2_32.dll_bind]
mov edi, dword [sym.imp.WS2_32.dll_getsockname]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x48]
push ecx
push edx
push esi
call edi
mov eax, dword [ebp - 0x46]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
lea ecx, [ebp - 0x38]
mov si, ax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
and esi, 0xffff
call edi
mov edi, dword [ebp - 0x44]
lea ecx, [ebp - 0x1cac]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
push esi
push 0x49054c
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [ebp - 0x3a0]
push str._s_s_d
push edx
call fcn.004585a3
push 0xc
call fcn.0046efc9
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x24], esi
cmp esi, ebx
mov byte [ebp - 4], 3
je 0x429212
lea eax, [ebp - 0x3a0]
mov dword [esi + 4], ebx
push eax
mov dword [esi + 8], 1
call fcn.00464b6c
cmp eax, ebx
mov dword [esi], eax
jne 0x42920e
lea ecx, [ebp - 0x3a0]
test ecx, ecx
je 0x42920e
push 0x8007000e
call fcn.00464b20
mov ebx, esi
jmp 0x429214
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], ebx
jne 0x429229
push 0x8007000e
call fcn.00464b20
test ebx, ebx
mov byte [ebp - 4], 4
je 0x42925a
mov eax, dword [ebx]
test eax, eax
je 0x42925a
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov edx, dword [ebx]
push eax
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov esi, eax
test esi, esi
jne 0x42925c
push 0x8007000e
call fcn.00464b20
jmp 0x42925c
xor esi, esi
lea edi, [ebp - 0x3a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14ac]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1470]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
call fcn.0041c6a0
test eax, eax
jne 0x4292b5
lea ecx, [ebp - 0x58]
push 0x487a40
push ecx
mov dword [ebp - 0x58], 0xffffffff
call fcn.0045a1bd
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4292f1
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4292f1
mov eax, dword [ebx]
test eax, eax
je 0x4292d8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4292e8
push eax
call fcn.0046eff2
add esp, 4
push ebx
call fcn.0046eff2
add esp, 4
xor esi, esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], esi
mov ecx, dword [edx + 0x24]
cmp ecx, 0xffffffff
je 0x42935d
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
lea eax, [ecx*8]
sub eax, ecx
mov edx, dword [esi + 0x364d8]
mov esi, dword [esi + 0x209fc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
shl eax, 2
mov ecx, dword [edx + eax + 0x16c]
mov edi, dword [edx + eax + 0x170]
add ecx, edi
cmp esi, 1
mov dword [ebp - 0x18], ecx
jne 0x42934e
mov ecx, edi
mov dword [ebp - 0x18], ecx
cmp esi, 2
jne 0x42935d
mov edx, dword [edx + eax + 0x16c]
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 2
jne 0x429af3
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 8]
test eax, eax
je 0x429af3
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x1a0], eax
xor ecx, ecx
cmp ecx, eax
jae 0x429613
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x429611
inc ecx
jmp 0x429385
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x48]
push eax
xor ebx, ebx
push ecx
push edx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp - 0x46]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edi, dword [ebp - 0x44]
lea ecx, [ebp - 0x1cac]
mov si, ax
push ecx
and esi, 0xffff
call dword [sym.imp.WS2_32.dll_inet_addr]
lea edx, [ebp - 0x18ac]
push esi
push edx
push edi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x3a0]
push str._s_s_d
push eax
call fcn.004585a3
push 0xc
call fcn.0046efc9
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x24], esi
cmp esi, ebx
mov byte [ebp - 4], 5
je 0x429443
lea ecx, [ebp - 0x3a0]
mov dword [esi + 4], ebx
push ecx
mov dword [esi + 8], 1
call fcn.00464b6c
cmp eax, ebx
mov dword [esi], eax
jne 0x42943f
lea edx, [ebp - 0x3a0]
test edx, edx
je 0x42943f
push 0x8007000e
call fcn.00464b20
mov ebx, esi
jmp 0x429445
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], ebx
jne 0x42945a
push 0x8007000e
call fcn.00464b20
test ebx, ebx
mov byte [ebp - 4], 6
je 0x42948b
mov eax, dword [ebx]
test eax, eax
je 0x42948b
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov esi, eax
test esi, esi
jne 0x42948d
push 0x8007000e
call fcn.00464b20
jmp 0x42948d
xor esi, esi
lea edi, [ebp - 0x3a0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1470]
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 3
add eax, 0x10
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14ac]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
push edx
call fcn.0041c6a0
test eax, eax
jne 0x4294e6
lea eax, [ebp - 0x80]
push 0x487a40
push eax
mov dword [ebp - 0x80], 0xffffffff
call fcn.0045a1bd
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4292f1
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4292f1
mov eax, dword [ebx]
test eax, eax
je 0x4290fc
jmp 0x4290f5
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
add edx, 0x10
lea eax, [ebp - 0x14ac]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0041c6a0
test eax, eax
jne 0x428d03
lea edx, [ebp - 0x60]
push 0x487a40
push edx
mov dword [ebp - 0x60], 0xffffffff
call fcn.0045a1bd
lea eax, [ebp - 0x1a0]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428d03
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 8
lea edx, [ebp - 0x14ac]
push ecx
push edx
push eax
push edi
mov ecx, ebx
mov dword [ebp - 0x14], 0x10
call fcn.0041c7d0
test eax, eax
je 0x429c8e
mov eax, dword [ebp - 0x14a4]
lea ecx, [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push 8
lea edx, [ebp - 0x149c]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0041c7d0
test eax, eax
je 0x429c8e
add edi, 0x10
lea edx, [ebp - 0x14ac]
push edi
push edx
push esi
mov ecx, ebx
call fcn.0041c6a0
test eax, eax
jne 0x4295e7
lea eax, [ebp - 0x84]
push 0x487a40
push eax
mov dword [ebp - 0x84], 0xffffffff
call fcn.0045a1bd
push 2
lea ecx, [ebp - 0x1494]
push 0x490538
push ecx
call fcn.004589f0
add esp, 0xc
test eax, eax
jne 0x428d03
mov dword [ebp - 0x28], 1
jmp 0x428d03
cmp ecx, eax
jne 0x42962e
cmp eax, 0x40
jae 0x42962e
mov dword [ebp + ecx*4 - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp + 0xc]
xor ecx, ecx
cmp ecx, eax
jae 0x429645
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x429643
inc ecx
jmp 0x429633
cmp ecx, eax
jne 0x429660
cmp eax, 0x40
jae 0x429660
mov dword [ebp + ecx*4 - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x429696
xor ecx, ecx
cmp ecx, eax
jae 0x42967b
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x429679
inc ecx
jmp 0x429669
cmp ecx, eax
jne 0x429696
cmp eax, 0x40
jae 0x429696
mov dword [ebp + ecx*4 - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x1a0]
push eax
push 0
push 0
or esi, 0xffffffff
push ecx
push esi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x4296e4
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xa9b8]
cmp eax, esi
je 0x42935d
mov ecx, dword [ebp - 0x28]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x28], ecx
jle 0x42935d
lea eax, [ebp - 0x68]
push 0x487a40
push eax
mov dword [ebp - 0x68], esi
call fcn.0045a1bd
test eax, eax
mov dword [ebp - 0x28], 0
jge 0x429706
lea ecx, [ebp - 0x8c]
push 0x487a40
push ecx
mov dword [ebp - 0x8c], esi
call fcn.0045a1bd
mov ecx, dword [ebx + 0x24]
cmp ecx, esi
je 0x42981c
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x364d8]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
shl eax, 2
mov ecx, dword [edx + eax + 0x160]
cmp ecx, 0xffffffff
jle 0x42981c
test ecx, ecx
jne 0x429758
lea ecx, [ebp - 0x74]
push 0x487a40
push ecx
mov dword [ebp - 0x74], 0xffffffff
call fcn.0045a1bd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
mov edx, dword [edx + 4]
lea eax, [ecx*8]
mov ebx, dword [edx + 0x364d8]
sub eax, ecx
mov edx, dword [edx + 0x209fc]
mov dword [ebp - 0x24], ebx
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
shl ecx, 2
mov esi, dword [ebx + ecx + 0x170]
mov edi, dword [ebx + ecx + 0x16c]
add esi, edi
cmp edx, 1
jne 0x4297aa
mov esi, dword [ebx + ecx + 0x170]
cmp edx, 2
jne 0x4297b6
mov esi, dword [ebx + ecx + 0x16c]
cmp esi, dword [ebp - 0x18]
jae 0x4297c2
mov dword [ebp - 0x18], 0
lea eax, [esi + esi*4]
lea edi, [eax + eax*4]
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
lea edi, [edi + edi*4]
shl edi, 3
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
sub edi, edx
xor edx, edx
mov eax, edi
div dword [ebx + ecx + 0x160]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x34]
sub edx, ebx
cmp edx, eax
jae 0x42981c
mov eax, edi
mov edi, dword [ebp - 0x24]
xor edx, edx
div dword [edi + ecx + 0x160]
sub eax, dword [ebp - 0x4c]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x1a0]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4298f5
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push 0
lea edx, [ebp - 0x14ac]
push ecx
push edx
push ebx
push edi
mov ecx, esi
mov dword [ebp - 0x14], 0x1000
mov byte [ebp - 0x14ac], 0
call fcn.0041c7d0
test eax, eax
jne 0x429893
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42987e
lea eax, [ebp - 0x7c]
push 0x487a40
push eax
mov dword [ebp - 0x7c], 0xffffffff
call fcn.0045a1bd
lea ecx, [ebp - 0x50]
push 0x487a40
push ecx
mov dword [ebp - 0x50], 0xffffffff
call fcn.0045a1bd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jle 0x4298cf
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14ac]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041c6a0
test eax, eax
jne 0x4298cc
lea ecx, [ebp - 0x90]
push 0x487a40
push ecx
mov dword [ebp - 0x90], 0xffffffff
call fcn.0045a1bd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x42935d
mov edx, dword [ebp - 0x20]
push 0
push ecx
push eax
mov ecx, dword [edx + 4]
add ecx, 0x241e0
call fcn.004066c0
jmp 0x42935d
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1a0]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4299d1
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 0
lea edx, [ebp - 0x14ac]
push ecx
push edx
push ebx
push esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
mov ecx, esi
mov byte [ebp - 0x14ac], 0
call fcn.0041c7d0
test eax, eax
jne 0x429978
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42995d
lea eax, [ebp - 0x88]
push 0x487a40
push eax
mov dword [ebp - 0x88], 0xffffffff
call fcn.0045a1bd
lea ecx, [ebp - 0x98]
push 0x487a40
push ecx
mov dword [ebp - 0x98], 0xffffffff
call fcn.0045a1bd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jle 0x4299ab
lea edx, [ebp - 0x14ac]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041c6a0
test eax, eax
jne 0x4299a8
lea eax, [ebp - 0x54]
push 0x487a40
push eax
mov dword [ebp - 0x54], 0xffffffff
call fcn.0045a1bd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x42935d
push 1
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov ecx, dword [ecx + 4]
add ecx, 0x241e0
call fcn.004066c0
jmp 0x42935d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42935d
lea edx, [ebp - 0x1a0]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42935d
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x14ac]
push 0x1000
push eax
push ecx
mov dword [ebp - 0x14], 0x1000
mov byte [ebp - 0x14ac], 0
mov dword [ebp - 0x24], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
mov dword [ebp - 0x14], eax
jle 0x42935d
mov esi, dword [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14ac]
push edx
push eax
mov ecx, esi
call fcn.0041c6a0
test eax, eax
jne 0x429a60
lea ecx, [ebp - 0x5c]
push 0x487a40
push ecx
mov dword [ebp - 0x5c], 0xffffffff
call fcn.0045a1bd
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x14ac]
push edx
push eax
mov ecx, esi
call fcn.00419940
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
cmp eax, 0xffffffff
je 0x429a92
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push 0
push edx
push eax
add ecx, 0x241e0
call fcn.004066c0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x240c4]
test ecx, ecx
je 0x42935d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42935d
mov esi, eax
push esi
call fcn.00458b07
add esp, 4
test eax, eax
push esi
push 1
jne 0x429adb
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x14a4]
add ecx, 0xfffffff8
push ecx
push edx
call fcn.00458f06
add esp, 0x10
jmp 0x42935d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14ac]
push eax
push ecx
call fcn.00458f06
add esp, 0x10
jmp 0x42935d
lea edx, [ebp - 0x64]
push 0x487a40
push edx
mov dword [ebp - 0x64], 0xffffffff
call fcn.0045a1bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x429b16
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x429c88
push eax
call fcn.00458a28
lea eax, [ebp - 0x4a8]
push 0x48e248
push eax
call fcn.00458d74
mov esi, eax
push 2
push 0
push esi
call fcn.00458c8a
push esi
call fcn.00458b07
mov edi, eax
push edi
mov dword [ebp + 0x10], edi
call fcn.0046efc9
push 0
push 0
push esi
mov ebx, eax
call fcn.00458c8a
push esi
push 1
push edi
push ebx
call fcn.0045903f
push esi
call fcn.00458a28
add esp, 0x40
lea ecx, [ebp - 0x4a8]
push 0x48e4cc
push ecx
call fcn.00458d74
add esp, 8
mov dword [ebp - 0x2c], eax
mov esi, ebx
mov byte [ebp - 0x34], 0x82
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0x11
mov byte [ebp - 0x30], 0x5d
jmp 0x429ba6
mov edi, dword [ebp + 0x10]
mov edx, esi
sub edx, ebx
cmp edx, edi
jge 0x429c76
mov ecx, ebx
lea eax, [ebp - 0x34]
sub ecx, esi
push 5
add ecx, edi
push eax
push ecx
push esi
call fcn.00429cb0
add esp, 0x10
cmp eax, 0xffffffff
je 0x429c60
lea edx, [eax + esi - 7]
mov ecx, 0x5e7
xor eax, eax
lea edi, [ebp - 0x44b4]
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
mov ecx, dword [ebp + 0x10]
mov eax, esi
sub eax, ebx
cmp eax, ecx
jge 0x429ba3
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, ebx
push 4
sub edx, esi
push ecx
add edx, eax
push edx
push esi
call fcn.00429cb0
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x429c57
mov eax, dword [ebp - 0x2c]
lea ecx, [edi - 1]
push eax
push 1
push ecx
push esi
call fcn.00458f06
mov al, byte [edi + esi - 1]
add esp, 0x10
test al, al
jne 0x429c34
lea esi, [edi + esi + 7]
jmp 0x429be9
mov edx, dword [ebp - 0x2c]
mov eax, 0x1e07
push edx
sub eax, edi
push 1
lea ecx, [ebp - 0x44b4]
push eax
push ecx
call fcn.00458f06
add esp, 0x10
lea esi, [edi + esi + 7]
jmp 0x429be9
mov byte [ebp - 0x31], 9
jmp 0x429ba3
mov edx, dword [ebp - 0x2c]
mov eax, ebx
sub eax, esi
push edx
add eax, edi
push 1
push eax
push esi
call fcn.00458f06
add esp, 0x10
push ebx
call fcn.0046eff2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00458a28
add esp, 8
mov eax, 0x429c8e
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10