Function at 0x43c2c0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c450c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x503040]
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 0x43c333
push esi
push dword [esp + 0x14]
mov ecx, eax
call fcn.00444a00
mov esi, eax
jmp 0x43c335
xor esi, esi
mov dword [esp + 0x58], 0xffffffff
test esi, esi
jne 0x43c35c
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 0x43c402
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x14], eax
mov ecx, 0x5034c0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5034c0]
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 0x43c3cf
cmp dword [ebx + 0x14], 0x10
jb 0x43c3ae
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.0040f220
mov eax, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x30], 0x10
jb 0x43c3df
push dword [esp + 0x1c]
call eax
add esp, 4
push ecx
mov ecx, esi
mov dword [edi], 0x10002
call fcn.0043b7a0
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.00444bb0
test eax, eax
jne 0x43c468
mov eax, dword [esi + 0x14]
mov ecx, 0x5034c0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5034c0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040ce40
cmp dword [esp + 0x30], 0x10
jb 0x43c445
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.0043b7a0
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.00444af0
test eax, eax
jne 0x43c4ea
mov eax, dword [esi + 0x14]
mov ecx, 0x5034c0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5034c0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040ce40
lea ecx, [esp + 0x1c]
call fcn.0040f9a0
push ecx
mov ecx, esi
mov dword [edi], 0x30005
call fcn.0043b7a0
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.00444b30
test eax, eax
jne 0x43c548
mov eax, dword [esi + 0x14]
mov ecx, 0x5034c0
push eax
mov dword [ebx], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [0x5034c0]
call dword [eax + 8]
mov ecx, dword [ebp + 0x24]
push eax
call fcn.0040ce40
lea ecx, [esp + 0x34]
call fcn.0040f9a0
push ecx
mov ecx, esi
mov dword [edi], 0x40006
call fcn.0043b7a0
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.0043b7a0
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