Function at 0x43f0b0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7b0c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
push 0x34
mov dword [edi], 0
mov dword [ebx], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 0
test eax, eax
je 0x43f123
push esi
push dword [esp + 0x14]
mov ecx, eax
call fcn.004477e0
mov esi, eax
jmp 0x43f125
xor esi, esi
mov dword [esp + 0x58], 0xffffffff
test esi, esi
jne 0x43f14c
mov dword [edi], 0x60001
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x43f1f2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x14], eax
mov ecx, 0x5064f0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5064f0]
call dword [eax + 8]
mov ebx, dword [ebp + 0x24]
cmp ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
je 0x43f1bf
cmp dword [ebx + 0x14], 0x10
jb 0x43f19e
push dword [ebx]
call eax
add esp, 4
push dword [esp + 0x10]
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
call fcn.0040f430
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x30], 0x10
jb 0x43f1cf
push dword [esp + 0x1c]
call eax
add esp, 4
push ecx
mov ecx, esi
mov dword [edi], 0x10002
call fcn.0043e610
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
mov ecx, esi
call fcn.00447990
test eax, eax
jne 0x43f258
mov eax, dword [esi + 0x14]
mov ecx, 0x5064f0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5064f0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040d050
cmp dword [esp + 0x30], 0x10
jb 0x43f235
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ecx
mov ecx, esi
mov dword [edi], 0x50003
call fcn.0043e610
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
mov eax, 2
mov word [esi + 4], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [esp + 0x10]
mov word [esi + 6], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 8], eax
push dword [ebp + 8]
call fcn.004478d0
test eax, eax
jne 0x43f2da
mov eax, dword [esi + 0x14]
mov ecx, 0x5064f0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5064f0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040d050
lea ecx, [esp + 0x1c]
call fcn.0040fbb0
push ecx
mov ecx, esi
mov dword [edi], 0x30005
call fcn.0043e610
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.00447910
test eax, eax
jne 0x43f338
mov eax, dword [esi + 0x14]
mov ecx, 0x5064f0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [0x5064f0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040d050
lea ecx, [esp + 0x34]
call fcn.0040fbb0
push ecx
mov ecx, esi
mov dword [edi], 0x40006
call fcn.0043e610
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, esi
mov dword [edi], 7
call fcn.0043e610
mov dword [edi], 8
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret