Function at 0x428320
Capabilities:
Check for time delay via gettickcount
Create directory
Create raw socket
Create tcp socket
Create udp 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 0x4797d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x54a8
call fcn.00457d20
push ebx
push esi
mov esi, ecx
mov ebx, 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 ebx
push edi
mov ecx, esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x14ac], 1
mov dword [ebp - 0x14], 0xe
call fcn.0041c300
test eax, eax
je 0x4295c3
mov eax, dword [ebp - 0x14a4]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
push 8
lea eax, [ebp - 0x149c]
push edx
push eax
push ebx
push edi
mov ecx, esi
call fcn.0041c300
test eax, eax
je 0x4295c3
lea ecx, [ebp - 0x1478]
lea edx, [ebp - 0x3a0]
push ecx
push 0x48f57c
push edx
call fcn.00457c43
lea eax, [ebp - 0x3a0]
push str.Host:
push eax
call fcn.00457ca0
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4295c3
mov edi, str.Host:
or ecx, 0xffffffff
xor eax, eax
push 0x48e470
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x24], 0x6db
add ebx, ecx
push ebx
call fcn.00457ca0
add esp, 8
test eax, eax
je 0x42842f
mov byte [eax], 0
inc eax
push eax
call fcn.004584b2
add esp, 4
mov dword [ebp - 0x24], eax
mov cl, byte [0x493b50]
xor eax, eax
mov byte [ebp - 0x2cb0], cl
mov ecx, 0x400
lea edi, [ebp - 0x2caf]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x24]
cmp eax, 0xffffffff
je 0x428488
mov edx, dword [esi + 4]
lea eax, [eax + eax*2]
shl eax, 6
mov edx, dword [edx + 0x275c8]
add eax, edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x2cb0]
push str._s__s_MMS
push ecx
call fcn.00457c43
add esp, 0x10
jmp 0x4284a4
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [ebp - 0x2cb0]
push str._s_unknown_MMS
push edx
call fcn.00457c43
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xa558]
test ecx, ecx
je 0x428515
mov cl, byte [0x493b50]
xor eax, eax
mov byte [ebp - 0x3cb4], cl
mov ecx, 0x400
lea edi, [ebp - 0x3cb3]
push ebx
lea edx, [ebp - 0x3cb4]
push 0x48d48c
rep stosd dword es:[edi], eax
push edx
call fcn.00457c43
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 - 0x18]
lea eax, [ebp - 0x2cb0]
push eax
call fcn.00430470
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add esp, 4
push 1
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edx
push ebx
mov ecx, esi
call fcn.00425b50
test eax, eax
je 0x4295c3
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14ac]
add eax, 0x10
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041c1d0
test eax, eax
je 0x4295c3
xor esi, esi
push 0x494070
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x493f48
push esi
push str.FileIndex
push 0x48f548
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dl, byte [0x493b50]
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 0x48d2ec
push eax
call fcn.00457c43
add esp, 0xc
lea ecx, [ebp - 0x54b8]
push 0x493f48
push ecx
push str.FileIndex
push 0x48f548
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x494070
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x240c4]
test ecx, ecx
je 0x428653
push 0x493e40
lea ecx, [ebp - 0x4a8]
push str._smms
push ecx
call fcn.00457c43
add esp, 0xc
xor edi, edi
lea edx, [ebp - 0x4a8]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push 0x493e40
lea eax, [ebp - 0x4a8]
push str._smmsmms__d.wmv
push eax
call fcn.00457c43
lea ecx, [ebp - 0x4a8]
push 0x48d4cc
push ecx
call fcn.00458414
add esp, 0x18
mov dword [ebp - 0x28], eax
jmp 0x428655
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x24], edi
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1c], 2
jne 0x428c5f
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 8]
test eax, eax
je 0x428c5f
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x1a0], ecx
cmp eax, ecx
jae 0x42869c
cmp dword [ebp + eax*4 - 0x19c], ebx
je 0x42869a
inc eax
jmp 0x42868a
cmp eax, ecx
jne 0x4286b7
cmp ecx, 0x40
jae 0x4286b7
mov dword [ebp + eax*4 - 0x19c], ebx
mov ecx, dword [ebp - 0x1a0]
inc ecx
mov dword [ebp - 0x1a0], ecx
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp eax, ecx
jae 0x4286ce
cmp dword [ebp + eax*4 - 0x19c], esi
je 0x4286cc
inc eax
jmp 0x4286bc
cmp eax, ecx
jne 0x4286e9
cmp ecx, 0x40
jae 0x4286e9
mov dword [ebp + eax*4 - 0x19c], esi
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
push ecx
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_select]
lea edx, [ebp - 0x1a0]
push edx
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428ea6
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 0x14ac]
push eax
push ecx
push edx
push esi
mov ecx, edi
mov dword [ebp - 0x14], 0x10
call fcn.0041c300
test eax, eax
je 0x4295c3
mov eax, dword [ebp - 0x14a4]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 0x149c]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.0041c300
test eax, eax
je 0x4295c3
lea eax, [ebp - 0x1470]
lea ecx, [ebp - 0x3a0]
push eax
push 0x48f57c
push ecx
call fcn.00457c43
push 2
lea edx, [ebp - 0x3a0]
push 0x48f528
push edx
call fcn.00459d50
add esp, 0x18
test eax, eax
jne 0x428e72
mov dl, byte [0x493b50]
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 0x48d954
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.00457ca0
add esp, 8
test eax, eax
jne 0x428830
lea edx, [ebp - 0x94]
push 0x4869b0
push edx
mov dword [ebp - 0x94], 0xffffffff
call fcn.0045985d
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 0x48d954
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.00457ca0
add esp, 8
test eax, eax
jne 0x42888c
lea edx, [ebp - 0x9c]
push 0x4869b0
push edx
mov dword [ebp - 0x9c], 0xffffffff
call fcn.0045985d
mov byte [eax], 0
inc eax
push eax
call fcn.004584b2
lea eax, [ebp - 0x18ac]
push 0x48f524
push eax
call fcn.0045c970
add esp, 0xc
test eax, eax
jne 0x428a75
push eax
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push 0
mov dword [ebp - 0x2c], 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], 0
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 si, ax
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push edx
push eax
push ebx
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]
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.00457c43
push 0xc
call fcn.0046e679
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x20], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x428997
lea ecx, [ebp - 0x3a0]
mov dword [esi + 4], 0
push ecx
mov dword [esi + 8], 1
call fcn.0046421c
test eax, eax
mov dword [esi], eax
jne 0x428993
lea edx, [ebp - 0x3a0]
test edx, edx
je 0x428993
push 0x8007000e
call fcn.004641d0
mov ebx, esi
jmp 0x428999
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], ebx
jne 0x4289ae
push 0x8007000e
call fcn.004641d0
test ebx, ebx
mov byte [ebp - 4], 2
je 0x4289df
mov eax, dword [ebx]
test eax, eax
je 0x4289df
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 0x4289e1
push 0x8007000e
call fcn.004641d0
jmp 0x4289e1
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 - 0x1c]
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 - 0x18]
push edx
call fcn.0041c1d0
test eax, eax
jne 0x428a3a
lea eax, [ebp - 0x78]
push 0x4869b0
push eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.0045985d
test ebx, ebx
mov byte [ebp - 4], 0
je 0x428c5f
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x428c5f
mov eax, dword [ebx]
test eax, eax
je 0x428a65
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x428c56
jmp 0x428c4d
lea edx, [ebp - 0x18ac]
push 0x48f514
push edx
call fcn.0045c970
add esp, 8
test eax, eax
jne 0x428e72
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x428cf9
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
push 0
mov dword [ebp - 0x2c], 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], 0
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]
lea edx, [ebp - 0x48]
push ecx
mov si, ax
push edx
push ebx
and esi, 0xffff
call edi
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x1cac]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push esi
push 0x48f524
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.00457c43
push 0xc
call fcn.0046e679
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x20], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x428b80
lea edx, [ebp - 0x3a0]
mov dword [esi + 4], 0
push edx
mov dword [esi + 8], 1
call fcn.0046421c
test eax, eax
mov dword [esi], eax
jne 0x428b7c
lea eax, [ebp - 0x3a0]
test eax, eax
je 0x428b7c
push 0x8007000e
call fcn.004641d0
mov ebx, esi
jmp 0x428b82
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], ebx
jne 0x428b97
push 0x8007000e
call fcn.004641d0
test ebx, ebx
mov byte [ebp - 4], 4
je 0x428bc8
mov eax, dword [ebx]
test eax, eax
je 0x428bc8
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 0x428bca
push 0x8007000e
call fcn.004641d0
jmp 0x428bca
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 - 0x1c]
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 - 0x18]
push edx
call fcn.0041c1d0
test eax, eax
jne 0x428c23
lea eax, [ebp - 0x58]
push 0x4869b0
push eax
mov dword [ebp - 0x58], 0xffffffff
call fcn.0045985d
test ebx, ebx
mov byte [ebp - 4], 0
je 0x428c5f
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x428c5f
mov eax, dword [ebx]
test eax, eax
je 0x428c46
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x428c56
push eax
call fcn.0046e6a2
add esp, 4
push ebx
call fcn.0046e6a2
add esp, 4
xor esi, esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov eax, dword [eax + 0x24]
cmp eax, 0xffffffff
je 0x428cb9
mov ecx, dword [ebp - 0x18]
lea eax, [eax + eax*2]
shl eax, 6
mov esi, dword [ecx + 4]
mov ecx, dword [esi + 0x275c8]
mov esi, dword [esi + 0x209fc]
mov edx, dword [ecx + eax + 0x7c]
mov edi, dword [ecx + eax + 0x80]
add edx, edi
cmp esi, 1
mov dword [ebp - 0x1c], edx
jne 0x428cad
mov edx, edi
mov dword [ebp - 0x1c], edx
cmp esi, 2
jne 0x428cb9
mov eax, dword [ecx + eax + 0x7c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x1c], 2
jne 0x429428
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 8]
test eax, eax
je 0x429428
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x1a0], eax
xor ecx, ecx
cmp ecx, eax
jae 0x428f6f
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x428f6d
inc ecx
jmp 0x428ce1
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x48]
push edx
push eax
push ebx
mov dword [ebp - 0x2c], 0
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [ebp - 0x46]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
mov edi, dword [ebp - 0x44]
lea edx, [ebp - 0x1cac]
mov si, ax
push edx
and esi, 0xffff
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.00457c43
push 0xc
call fcn.0046e679
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x20], esi
test esi, esi
mov byte [ebp - 4], 5
je 0x428da2
lea edx, [ebp - 0x3a0]
mov dword [esi + 4], 0
push edx
mov dword [esi + 8], 1
call fcn.0046421c
test eax, eax
mov dword [esi], eax
jne 0x428d9e
lea eax, [ebp - 0x3a0]
test eax, eax
je 0x428d9e
push 0x8007000e
call fcn.004641d0
mov ebx, esi
jmp 0x428da4
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x20], ebx
jne 0x428db9
push 0x8007000e
call fcn.004641d0
test ebx, ebx
mov byte [ebp - 4], 6
je 0x428dea
mov eax, dword [ebx]
test eax, eax
je 0x428dea
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 0x428dec
push 0x8007000e
call fcn.004641d0
jmp 0x428dec
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 - 0x1c]
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 - 0x18]
push edx
call fcn.0041c1d0
test eax, eax
jne 0x428e45
lea eax, [ebp - 0x80]
push 0x4869b0
push eax
mov dword [ebp - 0x80], 0xffffffff
call fcn.0045985d
test ebx, ebx
mov byte [ebp - 4], 0
je 0x428c5f
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x428c5f
mov eax, dword [ebx]
test eax, eax
je 0x428a65
jmp 0x428a5e
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add edx, 0x10
lea eax, [ebp - 0x14ac]
push edx
push eax
push ebx
call fcn.0041c1d0
test eax, eax
jne 0x428665
lea ecx, [ebp - 0x60]
push 0x4869b0
push ecx
mov dword [ebp - 0x60], 0xffffffff
call fcn.0045985d
lea edx, [ebp - 0x1a0]
push edx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428665
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 0x14ac]
push eax
push ecx
push edx
push ebx
mov ecx, edi
mov dword [ebp - 0x14], 0x10
call fcn.0041c300
test eax, eax
je 0x4295c3
mov eax, dword [ebp - 0x14a4]
mov edx, dword [ebp + 8]
mov edi, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 8
lea ecx, [ebp - 0x149c]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push ebx
call fcn.0041c300
test eax, eax
je 0x4295c3
mov ecx, dword [ebp - 0x18]
add edi, 0x10
lea eax, [ebp - 0x14ac]
push edi
push eax
push esi
call fcn.0041c1d0
test eax, eax
jne 0x428f43
lea ecx, [ebp - 0x84]
push 0x4869b0
push ecx
mov dword [ebp - 0x84], 0xffffffff
call fcn.0045985d
push 2
lea edx, [ebp - 0x1494]
push 0x48f510
push edx
call fcn.00458090
add esp, 0xc
test eax, eax
jne 0x428665
mov dword [ebp - 0x24], 1
jmp 0x428665
cmp ecx, eax
jne 0x428f8a
cmp eax, 0x40
jae 0x428f8a
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 0x428fa1
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x428f9f
inc ecx
jmp 0x428f8f
cmp ecx, eax
jne 0x428fbc
cmp eax, 0x40
jae 0x428fbc
mov dword [ebp + ecx*4 - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x428ff2
xor ecx, ecx
cmp ecx, eax
jae 0x428fd7
cmp dword [ebp + ecx*4 - 0x19c], edx
je 0x428fd5
inc ecx
jmp 0x428fc5
cmp ecx, eax
jne 0x428ff2
cmp eax, 0x40
jae 0x428ff2
mov dword [ebp + ecx*4 - 0x19c], edx
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x1a0]
push ecx
push 0
push 0
or esi, 0xffffffff
push edx
push esi
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x429040
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xa9b8]
cmp eax, esi
je 0x428cb9
mov ecx, dword [ebp - 0x24]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x24], ecx
jle 0x428cb9
lea ecx, [ebp - 0x68]
push 0x4869b0
push ecx
mov dword [ebp - 0x68], esi
call fcn.0045985d
test eax, eax
mov dword [ebp - 0x24], 0
jge 0x429062
lea edx, [ebp - 0x8c]
push 0x4869b0
push edx
mov dword [ebp - 0x8c], esi
call fcn.0045985d
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x429151
mov ecx, dword [ebp - 0x18]
lea eax, [eax + eax*2]
shl eax, 6
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x275c8]
mov edx, dword [ecx + eax + 0x70]
cmp edx, 0xffffffff
jle 0x429151
test edx, edx
jne 0x4290a5
lea eax, [ebp - 0x74]
push 0x4869b0
push eax
mov dword [ebp - 0x74], 0xffffffff
call fcn.0045985d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [edx + 0x24]
mov ebx, dword [eax + 0x275c8]
mov eax, dword [eax + 0x209fc]
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x20], ebx
shl ecx, 6
mov esi, dword [ebx + ecx + 0x80]
mov edi, dword [ebx + ecx + 0x7c]
add esi, edi
cmp eax, 1
jne 0x4290e8
mov esi, dword [ebx + ecx + 0x80]
cmp eax, 2
jne 0x4290f1
mov esi, dword [ebx + ecx + 0x7c]
cmp esi, dword [ebp - 0x1c]
jae 0x4290fd
mov dword [ebp - 0x1c], 0
lea eax, [esi + esi*4]
xor edx, edx
lea edi, [eax + eax*4]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
lea edi, [edi + edi*4]
shl edi, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
sub edi, eax
mov eax, edi
div dword [ebx + ecx + 0x70]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x34]
sub edx, ebx
cmp edx, eax
jae 0x429151
mov eax, edi
mov edi, dword [ebp - 0x20]
xor edx, edx
div dword [edi + ecx + 0x70]
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 - 0x1c], esi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x1a0]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x42922a
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
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.0041c300
test eax, eax
jne 0x4291c8
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4291b3
lea eax, [ebp - 0x7c]
push 0x4869b0
push eax
mov dword [ebp - 0x7c], 0xffffffff
call fcn.0045985d
lea ecx, [ebp - 0x50]
push 0x4869b0
push ecx
mov dword [ebp - 0x50], 0xffffffff
call fcn.0045985d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jle 0x429204
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14ac]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041c1d0
test eax, eax
jne 0x429201
lea ecx, [ebp - 0x90]
push 0x4869b0
push ecx
mov dword [ebp - 0x90], 0xffffffff
call fcn.0045985d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x428cb9
mov edx, dword [ebp - 0x18]
push 0
push ecx
push eax
mov ecx, dword [edx + 4]
add ecx, 0x241e0
call fcn.00406430
jmp 0x428cb9
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1a0]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x429306
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 - 0x18]
mov dword [ebp - 0x14], 0x1000
mov ecx, esi
mov byte [ebp - 0x14ac], 0
call fcn.0041c300
test eax, eax
jne 0x4292ad
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x429292
lea eax, [ebp - 0x88]
push 0x4869b0
push eax
mov dword [ebp - 0x88], 0xffffffff
call fcn.0045985d
lea ecx, [ebp - 0x98]
push 0x4869b0
push ecx
mov dword [ebp - 0x98], 0xffffffff
call fcn.0045985d
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jle 0x4292e0
lea edx, [ebp - 0x14ac]
push ecx
push edx
push edi
mov ecx, esi
call fcn.0041c1d0
test eax, eax
jne 0x4292dd
lea eax, [ebp - 0x54]
push 0x4869b0
push eax
mov dword [ebp - 0x54], 0xffffffff
call fcn.0045985d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
je 0x428cb9
push 1
push ecx
mov ecx, dword [ebp - 0x18]
push eax
mov ecx, dword [ecx + 4]
add ecx, 0x241e0
call fcn.00406430
jmp 0x428cb9
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x428cb9
lea edx, [ebp - 0x1a0]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x428cb9
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x2c]
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 - 0x20], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
mov dword [ebp - 0x14], eax
jle 0x428cb9
mov esi, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14ac]
push edx
push eax
mov ecx, esi
call fcn.0041c1d0
test eax, eax
jne 0x429395
lea ecx, [ebp - 0x5c]
push 0x4869b0
push ecx
mov dword [ebp - 0x5c], 0xffffffff
call fcn.0045985d
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x14ac]
push edx
push eax
mov ecx, esi
call fcn.00419520
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
cmp eax, 0xffffffff
je 0x4293c7
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push 0
push edx
push eax
add ecx, 0x241e0
call fcn.00406430
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x240c4]
test ecx, ecx
je 0x428cb9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x428cb9
mov esi, eax
push esi
call fcn.004581a7
add esp, 4
test eax, eax
push esi
push 1
jne 0x429410
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x14a4]
add ecx, 0xfffffff8
push ecx
push edx
call fcn.004585a6
add esp, 0x10
jmp 0x428cb9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14ac]
push eax
push ecx
call fcn.004585a6
add esp, 0x10
jmp 0x428cb9
lea edx, [ebp - 0x64]
push 0x4869b0
push edx
mov dword [ebp - 0x64], 0xffffffff
call fcn.0045985d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42944b
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4295bd
push eax
call fcn.004580c8
lea eax, [ebp - 0x4a8]
push 0x48d248
push eax
call fcn.00458414
mov esi, eax
push 2
push 0
push esi
call fcn.0045832a
push esi
call fcn.004581a7
mov edi, eax
push edi
mov dword [ebp + 8], edi
call fcn.0046e679
push 0
push 0
push esi
mov ebx, eax
call fcn.0045832a
push esi
push 1
push edi
push ebx
call fcn.004586df
push esi
call fcn.004580c8
add esp, 0x40
lea ecx, [ebp - 0x4a8]
push 0x48d4cc
push ecx
call fcn.00458414
add esp, 8
mov dword [ebp - 0x28], 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 0x4294db
mov edi, dword [ebp + 8]
mov edx, esi
sub edx, ebx
cmp edx, edi
jge 0x4295ab
mov ecx, ebx
lea eax, [ebp - 0x34]
sub ecx, esi
push 5
add ecx, edi
push eax
push ecx
push esi
call fcn.004295e0
add esp, 0x10
cmp eax, 0xffffffff
je 0x429595
lea edx, [eax + esi - 7]
mov ecx, 0x5e7
xor eax, eax
lea edi, [ebp - 0x44b4]
rep stosd dword es:[edi], eax
mov dword [ebp + 0x10], edx
stosw word es:[edi], ax
mov ecx, dword [ebp + 8]
mov eax, esi
sub eax, ebx
cmp eax, ecx
jge 0x4294d8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, ebx
push 4
sub edx, esi
push ecx
add edx, eax
push edx
push esi
call fcn.004295e0
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x42958c
mov eax, dword [ebp - 0x28]
lea ecx, [edi - 1]
push eax
push 1
push ecx
push esi
call fcn.004585a6
mov al, byte [edi + esi - 1]
add esp, 0x10
test al, al
jne 0x429569
lea esi, [edi + esi + 7]
jmp 0x42951e
mov edx, dword [ebp - 0x28]
mov eax, 0x1e07
push edx
sub eax, edi
push 1
lea ecx, [ebp - 0x44b4]
push eax
push ecx
call fcn.004585a6
add esp, 0x10
lea esi, [edi + esi + 7]
jmp 0x42951e
mov byte [ebp - 0x31], 9
jmp 0x4294d8
mov edx, dword [ebp - 0x28]
mov eax, ebx
sub eax, esi
push edx
add eax, edi
push 1
push eax
push esi
call fcn.004585a6
add esp, 0x10
push ebx
call fcn.0046e6a2
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004580c8
add esp, 8
mov eax, 0x4295c3
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