Function at 0x42c630
Capabilities:
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490758
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4b8914]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x38], 0xffffffff
jne 0x42ca12
push str.getaddrinfo_start
mov esi, 2
push esi
lea eax, [edi + 0x1c]
push str.statlog_manager
push eax
mov dword [ebp - 0x68], eax
call fcn.0042f500
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
xor ebx, ebx
lea eax, [edi + 0x58]
mov esi, 0x10
add esp, 0x10
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x80], 0x11
cmp dword [eax + 0x14], esi
jb 0x42c6d3
mov eax, dword [eax]
cmp dword [edi + 0x50], esi
lea ecx, [edi + 0x3c]
jb 0x42c6dd
mov ecx, dword [ecx]
lea edx, [ebp - 0x6c]
push edx
lea edx, [ebp - 0x8c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp eax, ebx
je 0x42c79b
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], ebx
call fcn.0042c5a0
push eax
lea ecx, [ebp - 0x48]
push str.getaddrinfo:_Error
push ecx
mov byte [ebp - 4], 1
call fcn.00403f90
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004023a2
cmp dword [ebp - 0x34], esi
jb 0x42c747
mov edx, dword [ebp - 0x48]
push edx
call fcn.00471f65
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], esi
jb 0x42c764
mov eax, dword [ebp - 0x64]
push eax
call fcn.00471f65
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42c76f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x68]
push eax
push 4
push str.statlog_manager
push ecx
call fcn.0042f500
add esp, 0x10
cmp dword [ebp - 0x18], esi
jb 0x42c794
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00471f65
add esp, 4
xor al, al
jmp 0x42ca14
mov ecx, dword [ebp - 0x6c]
xor esi, esi
mov eax, ecx
cmp ecx, ebx
je 0x42c7ae
mov eax, dword [eax + 0x1c]
inc esi
cmp eax, ebx
jne 0x42c7a6
xor edx, edx
cmp esi, 1
jle 0x42c7cf
push ebx
call fcn.00477721
push eax
call fcn.00476928
add esp, 8
call fcn.0047693a
mov ecx, dword [ebp - 0x6c]
cdq
idiv esi
xor eax, eax
mov esi, ecx
cmp ecx, ebx
je 0x42c8dc
jmp 0x42c7e0
cmp eax, edx
je 0x42c7f1
mov esi, dword [esi + 0x1c]
inc eax
cmp esi, ebx
jne 0x42c7e0
jmp 0x42c8dc
cmp dword [esi + 0x10], 0x10
je 0x42c8b6
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [esi + 0x10]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 4], 3
call fcn.0042c520
push eax
lea edx, [ebp - 0x48]
push str.getaddrinfo:_address_len_error_:
push edx
mov byte [ebp - 4], 4
call fcn.00403f90
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004023a2
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x42c85d
mov eax, dword [ebp - 0x48]
push eax
call fcn.00471f65
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], esi
jb 0x42c87b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00471f65
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42c886
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x68]
push eax
push 4
push str.statlog_manager
push edx
call fcn.0042f500
add esp, 0x10
cmp dword [ebp - 0x18], esi
jb 0x42c794
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00471f65
add esp, 4
xor al, al
jmp 0x42ca14
mov esi, dword [esi + 0x18]
mov edx, dword [esi]
mov dword [edi + 0x90], edx
mov eax, dword [esi + 4]
mov dword [edi + 0x94], eax
mov edx, dword [esi + 8]
mov dword [edi + 0x98], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0x9c], eax
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0x68]
push str.getaddrinfo_end
push 2
push str.statlog_manager
push ecx
call fcn.0042f500
add esp, 0x10
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x38], eax
cmp eax, 0xffffffff
jne 0x42ca12
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.0042c4a0
push eax
lea eax, [ebp - 0x48]
push str.socket:_Error
push eax
mov byte [ebp - 4], 7
call fcn.00403f90
add esp, 0x14
mov esi, eax
lea ecx, [ebp - 0x2c]
cmp ecx, esi
je 0x42c9a7
cmp dword [ebp - 0x18], 0x10
jb 0x42c969
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00471f65
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x42c98c
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00471a30
add esp, 0xc
jmp 0x42c993
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x34], 0x10
jb 0x42c9b9
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00471f65
add esp, 4
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 6
jb 0x42c9d8
mov edx, dword [ebp - 0x64]
push edx
call fcn.00471f65
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42c9e4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x68]
push 4
push str.statlog_manager
push eax
call fcn.0042f500
add esp, 0x10
cmp dword [ebp - 0x18], 0x10
jb 0x42c794
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00471f65
add esp, 4
xor al, al
jmp 0x42ca14
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471528
mov esp, ebp
pop ebp
ret