Function at 0x42aa8c
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x35]
lea esi, [ebp + 0x2be]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
push esi
stosb byte es:[edi], al
call fcn.00453ab0
add esp, 8
test eax, eax
je 0x42a86e
lea esi, [eax + 1]
push 0x3a
push esi
call fcn.00453ab0
add esp, 8
test eax, eax
jne 0x42a8a0
push 0x7f
lea eax, [esp + 0x58]
push esi
push eax
call fcn.00454650
add esp, 0xc
xor eax, eax
mov cl, byte [eax + str.1234]
mov byte [esp + eax + 0x34], cl
inc eax
test cl, cl
jne 0x42a88f
jmp 0x42a8d1
mov ecx, eax
sub ecx, esi
cmp ecx, 0x7f
jb 0x42a8ae
mov ecx, 0x7f
mov edx, ecx
lea edi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x1f
and ecx, 3
inc eax
push eax
lea eax, [esp + 0x3c]
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00454650
add esp, 0xc
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x53]
lea ecx, [esp + 0x54]
cmp eax, ecx
jbe 0x42a8fc
cmp byte [eax], 0x20
jg 0x42a8fc
mov byte [eax], 0
dec eax
lea edx, [esp + 0x54]
cmp eax, edx
ja 0x42a8eb
mov al, byte [esp + 0x54]
lea ecx, [esp + 0x54]
test al, al
mov dword [esp + 0x10], ecx
je 0x42a91c
cmp al, 0x20
jg 0x42a918
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x42a90c
mov dword [esp + 0x10], ecx
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x33]
lea ecx, [esp + 0x34]
cmp eax, ecx
jbe 0x42a947
cmp byte [eax], 0x20
jg 0x42a947
mov byte [eax], 0
dec eax
lea edx, [esp + 0x34]
cmp eax, edx
ja 0x42a936
mov al, byte [esp + 0x34]
lea ebx, [esp + 0x34]
test al, al
je 0x42a95f
cmp al, 0x20
jg 0x42a95f
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x42a953
lea eax, [esp + 0xd4]
push 0xff
push eax
call fcn.005037f3
nop
lea ecx, [esp + 0xd4]
push ecx
call fcn.00534dfb
nop
test eax, eax
je 0x42a98f
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov esi, dword [eax]
test esi, esi
jne 0x42a9a9
push str.open_udp_failed__no_localip_find
call fcn.0043d4d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
push 0x11
push 2
push 2
call fcn.004f606b
nop
cmp eax, 0xffffffff
mov dword [ebp + 0x430], eax
jne 0x42a9da
push str.create_socket_failed
call fcn.0043d4d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
mov edi, dword [0x498748]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0xffff
push eax
mov dword [esp + 0x28], 1
call edi
xor edx, edx
mov dword [esp + 0x1c], edx
mov word [esp + 0x1c], 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
push edx
mov dword [esp + 0x2c], edx
call fcn.0053b162
nop
push ebx
mov dword [esp + 0x24], esi
call fcn.0045454f
add esp, 4
push eax
call fcn.004ea612
nop
mov ecx, dword [ebp + 0x430]
mov word [esp + 0x1e], ax
lea eax, [esp + 0x1c]
push 0x10
push eax
push ecx
call fcn.005435a9
nop
test eax, eax
je 0x42aa64
push str.bind_net_address__port_failed
call fcn.0043d4d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.0052d853
nop
mov ecx, dword [ebp + 0x430]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 8
push eax
push 0xc
push 0
push ecx
mov dword [esp + 0x44], esi
call edi
push 0
push 0
push 0
push 0
call fcn.00554ac6
nop
mov edx, dword [ebp + 0x430]
push 1
push eax
push edx
mov dword [ebp + 0x434], eax
call fcn.004f31d6
nop
lea esi, [ebp + 0x220]
push 0x20
push 0x20000
mov ecx, esi
call fcn.00428720
push 0x300000
mov ecx, esi
call fcn.00429230
push 0
push 0
push 0x7fffff
push 0xffffffffffffffff
mov ecx, esi
call fcn.004296e0
lea eax, [esp + 0x18]
mov dword [ebp + 0x2b4], 2
push eax
push 0
push ebp
push 0x42b5a0
push 0
push 0
mov dword [esp + 0x30], 0
call fcn.00454b93
add esp, 0x18
mov dword [ebp + 0x438], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret