Function at 0x403620
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ad1d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5a5014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.udpSend__I64u
call fcn.004557e0
push eax
call fcn.00456d70
add esp, 0x10
mov edx, dword [ebp - 0x18]
add edx, 0x7c
push edx
lea ecx, [ebp - 0x48]
call fcn.00456640
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.0041d3d0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.0041d460
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413c50
movzx eax, al
test eax, eax
je 0x4036c6
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004566c0
mov al, byte [ebp - 0xd]
jmp 0x403a10
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov ecx, dword [eax + 8]
cmp dword [ecx + 8], 4
je 0x4037b9
cmp dword [ebp + 0x14], 0
jle 0x40379e
push 0x2c
call fcn.004a10a5
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x403715
push 0x2c
push 0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00505a60
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
call fcn.00404c50
mov dword [ebp - 0x34], eax
jmp 0x40371c
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00505bc0
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
call fcn.00420840
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x20
call fcn.00420800
push eax
call fcn.00505bc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov ecx, dword [eax + 8]
add ecx, 0x5c
call fcn.00420730
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.udpSend__I64u_packet_pended
call fcn.004557e0
push eax
call fcn.00456d70
add esp, 0x10
mov byte [ebp - 0xe], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004566c0
mov al, byte [ebp - 0xe]
jmp 0x403a10
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403a30
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
cmp dword [ebp + 0x14], 0
jle 0x403904
mov eax, dword [ebp + 0x18]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x403880
mov edx, dword [ebp + 0x14]
add edx, 0xa
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420840
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420800
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + 0x94]
mov word [eax], dx
mov eax, dword [ebp - 0x24]
mov byte [eax + 2], 0
mov ecx, dword [ebp - 0x24]
mov byte [ecx + 3], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov cx, word [eax + 2]
mov word [edx + 8], cx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420800
push eax
call fcn.00505bc0
add esp, 0xc
jmp 0x403904
mov ecx, dword [ebp + 0x14]
add ecx, 0x16
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420840
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420800
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 0x94]
mov word [edx], cx
mov edx, dword [ebp - 0x28]
mov byte [edx + 2], 0
mov eax, dword [ebp - 0x28]
mov byte [eax + 3], 4
push 0x10
mov ecx, dword [ebp + 0x18]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x28]
add edx, 4
push edx
call fcn.00505bc0
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x18]
mov dx, word [ecx + 2]
mov word [eax + 0x14], dx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x16
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420800
push eax
call fcn.00505bc0
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420800
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420820
mov dword [ebp - 0x50], eax
push 0
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x28]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov edx, dword [eax + 8]
add edx, 0xc
push edx
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
je 0x4039c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3e5
je 0x4039c7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x44
call fcn.00420460
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00402c30
movzx eax, al
test eax, eax
jne 0x4039af
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403af0
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004566c0
mov al, byte [ebp - 0xf]
jmp 0x403a10
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov edx, dword [eax + 8]
movzx eax, byte [edx + 0x64]
test eax, eax
jne 0x4039ff
lea ecx, [ebp - 0x1c]
call fcn.0041d320
mov ecx, dword [eax + 8]
mov byte [ecx + 0x64], 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004566c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18