Function at 0x4034b6
Capabilities:
Create udp socket
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0xab5f75b7
push 7
push 0x4123a0
mov byte [ebp - 5], 0
call fcn.00408397
push eax
mov eax, dword [ebp + 8]
call fcn.0040f6a0
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x403810
push ebx
push 0x97de58c1
push 0xa
push 0x4123a8
call fcn.00408397
push eax
mov eax, esi
call fcn.0040f6a0
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x403810
push ebx
push 0xbf301792
push 7
push 0x4123b4
call fcn.00408397
push eax
mov eax, esi
call fcn.0040f6a0
add esp, 0x14
call fcn.0040f75c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
cmp eax, ebx
jne 0x40354a
or dword [ebp - 0x1c], 0xffffffff
push ebx
push ecx
push dword [ebp + 0xc]
mov eax, esi
call fcn.0040f6a0
pop ecx
mov edi, eax
call fcn.0040f7c3
pop ecx
push eax
call fcn.00408eb2
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x403810
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00403a0e
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x403808
push dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_CharLowerBuffA]
push eax
call esi
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.004080d7
add esp, 0xc
push ebx
push 0x83139b5d
push 4
push 0x4123bc
call fcn.00408397
movzx ecx, byte [ebp - 0x54]
push ecx
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.0040978d
add esp, 0x1c
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call esi
push ebx
push 0x278e5287
push 4
push 0x4123c4
call fcn.00408397
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040f6a0
add esp, 0x14
call fcn.0040f75c
movzx ecx, ax
xor eax, eax
lea edi, [ebp - 0x32]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
pop esi
stosw word es:[edi], ax
mov eax, esi
push ecx
mov word [ebp - 0x34], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x11
push esi
push esi
mov word [ebp - 0x32], ax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x403800
push ebx
push 0x77a78d9e
push esi
push 0x4123cc
call fcn.00408397
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040f6a0
add esp, 0x14
mov dword [ebp - 0x3c], eax
call fcn.0040f643
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jbe 0x4037f7
jmp 0x403667
xor ebx, ebx
push ebx
push 0x798e71f5
push 0xb
push 0x4123d0
call fcn.00408397
add esp, 0x10
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
call fcn.0040f66a
pop ecx
mov edi, eax
call fcn.0040f7c3
mov ecx, eax
call fcn.004098eb
mov al, byte [ebp - 0x44]
call fcn.00409ccb
mov esi, eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00409c89
mov ebx, eax
and ebx, esi
not esi
or esi, ebx
mov dword [ebp - 0xc], esi
add esp, 0x14
xor edi, edi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 1], bl
cmp bl, byte [ebp - 0xc]
ja 0x4037e8
mov byte [ebp - 2], bh
cmp bh, byte [ebp - 0xb]
ja 0x4037d3
mov al, byte [ebp - 0x22]
jmp 0x4037b2
mov al, byte [ebp - 0x21]
jmp 0x40379d
mov eax, edi
inc edi
cmp eax, dword [ebp - 0x1c]
jne 0x40370f
push 0x3e8
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 1]
push dword [ebp + 8]
mov byte [ebp - 0x30], al
mov al, byte [ebp - 2]
mov byte [ebp - 0x2f], al
mov al, byte [ebp - 4]
mov byte [ebp - 0x2e], al
mov al, byte [ebp - 3]
mov byte [ebp - 0x2d], al
call fcn.0040410d
pop ecx
test al, al
je 0x403774
push dword [ebp - 0x30]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push 0
push 0x49af98ff
push 0x13
push 0x4123dc
mov esi, eax
call fcn.00408397
push dword [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, dword [ebp - 0x10]
jne 0x403794
mov byte [ebp - 5], 1
mov al, byte [ebp - 3]
cmp al, 0xff
je 0x4037a9
inc al
mov byte [ebp - 3], al
cmp al, byte [ebp - 9]
jbe 0x4036fa
mov al, byte [ebp - 4]
cmp al, 0xff
je 0x4037be
inc al
mov byte [ebp - 4], al
cmp al, byte [ebp - 0xa]
jbe 0x4036f2
cmp byte [ebp - 2], 0xff
je 0x4037d3
inc byte [ebp - 2]
mov al, byte [ebp - 2]
cmp al, byte [ebp - 0xb]
jbe 0x4036ea
cmp byte [ebp - 1], 0xff
je 0x4037e8
inc byte [ebp - 1]
mov al, byte [ebp - 1]
cmp al, byte [ebp - 0xc]
jbe 0x4036de
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x40]
jb 0x403665
push dword [ebp - 0x20]
call fcn.00409cb4
pop ecx
mov esi, dword [ebp - 0x18]
call fcn.004060d7
mov esi, dword [ebp - 0x38]
call fcn.004060d7
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret