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

Disassembly:
sub esp, 0x138
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
mov esi, dword [esp + 0x140]
push edi
mov edi, dword [esi + 0x20]
cmp edi, 5
ja case.default.0x402759
jmp dword [edi*4 + 0x4029e0]
mov eax, dword [section..data]
mov ecx, dword [0x4104b0]
push eax
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [0x4104b0]
push 0x64
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00401fd0
mov eax, dword [0x4104b0]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x3eb
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov ecx, dword [0x4104b0]
push 0
push 0x3ed
push ecx
call esi
push eax
call edi
mov edx, dword [0x4104b0]
push 0
push 0
push 0x402
push 0x3ee
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp case.default.0x402759
mov eax, dword [0x40d004]
mov ecx, dword [0x4104b0]
push eax
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [0x4104b0]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3eb
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [0x4104b0]
push 1
push 0x3ed
push eax
call esi
push eax
call edi
mov ecx, dword [0x4104b0]
push 0
push 0x3e8
push 0x64
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x402759
mov edx, dword [0x40d008]
mov eax, dword [0x4104b0]
push edx
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [esp + 0x38]
push 0x104
push ecx
call entry0
add esp, 8
test eax, eax
je 0x402885
lea edx, [esp + 0x38]
push edx
push esi
call fcn.004025f0
add esp, 8
test eax, eax
jne case.default.0x402759
push 0x40a4ec
push esi
call fcn.00402a30
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0040332a
add esp, 0x138
ret
mov edi, dword [esi + 0x18]
lea eax, [esp + 0x18]
push eax
shl edi, 9
push edi
call fcn.00401260
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.00401260
lea eax, [esp + 0x38]
mov ecx, edi
sub ecx, dword [esi + 4]
push eax
push ecx
call fcn.00401260
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 0x18]
imul eax, eax, 0x64
xor edx, edx
div dword [esi + 0x14]
lea ecx, [esp + 0x38]
push ecx
mov dword [esi + 4], edi
mov edx, dword [0x40d00c]
push eax
push edx
lea eax, [esp + 0x64]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x4104b0]
add esp, 0x34
lea ecx, [esp + 0x38]
push ecx
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
add dword [esi + 8], 0xffffffff
jne case.default.0x402759
mov ecx, dword [esi + 0x48]
push 0x10
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x24]
push 0
add ecx, 4
push ecx
lea edx, [esi + 0x4c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esi + 8], 5
jmp case.default.0x402759
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x40298a
push esi
call fcn.00401f60
add esp, 4
cmp edi, 4
jne 0x4029bd
mov ecx, dword [0x40d010]
mov edx, dword [0x4104b0]
push ecx
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x4029bd
cmp eax, 5
jbe 0x4029bd
cmp edi, 4
jne 0x402998
push 1
jmp 0x40299a
push 0
push esi
call fcn.00402a00
mov eax, dword [0x4104b0]
add esp, 8
push 0
push 0
push 0x402
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
add dword [esi + 0x48], 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040332a
add esp, 0x138
ret