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

Disassembly:
sub esp, 0xb0
mov ecx, dword [esp + 0xb4]
mov eax, dword [0x10042278]
push ebx
push esi
push edi
push ecx
lea edx, [esp + 0x10]
push 0x10041f48
push edx
mov dword [esp + 0x18], eax
call fcn.1000e6e2
add esp, 0xc
xor esi, esi
mov edx, 0x1006ccfc
mov ecx, 0x1006e2a8
mov eax, 0x1006cd04
cmp dword [eax], 1
jne 0x100026fc
cmp dword [ecx], 2
jne 0x100026fc
cmp byte [edx], 0
je 0x10002712
add eax, 0x15a4
inc esi
add ecx, 0x144
add edx, 0x65
cmp eax, 0x1006e2a8
jl 0x100026ed
test esi, esi
je 0x1000272d
lea ecx, [esp + 0xc]
call fcn.10012c61
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xb0
ret 4
mov eax, dword [0x10042278]
push 0x1006e960
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push 0x10041f48
push eax
call fcn.1000e6e2
push 0x1006e994
lea ecx, [esp + 0x3c]
push 0x10041f48
push ecx
call fcn.1000e6e2
mov edx, dword [esp + 0x3c]
add esp, 0x18
mov eax, dword [edx - 8]
test eax, eax
jle 0x1000277b
push 0x10042040
jmp 0x10002780
push 0x1006eb14
lea ecx, [esp + 0x24]
call fcn.10012d9e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
mov eax, dword [0x1006e9c8]
cmp ecx, eax
jl 0x1000299b
lea edx, [esp + 0x28]
push 1
push edx
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x10041f60
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
je 0x10002929
lea eax, [esp + 0x10]
push 3
push eax
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x1004203c
push eax
call fcn.100049f9
add esp, 8
test eax, eax
je 0x10002891
lea ecx, [esp + 0x28]
push 3
push ecx
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x10042038
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
jne 0x10002891
lea edx, [esp + 0x1c]
push 3
push edx
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x10042034
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
jne 0x10002891
lea eax, [esp + 0x18]
push 3
push eax
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x10042030
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
je 0x10002893
mov bl, 1
lea ecx, [esp + 0x10]
call fcn.10012c61
test bl, bl
je 0x100028d3
mov eax, dword [0x1006e534]
test eax, eax
jne 0x100028d3
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
dec eax
push eax
push edx
call fcn.1000e246
push eax
lea ecx, [esp + 0x10]
call fcn.10012d4e
lea ecx, [esp + 0x10]
call fcn.10012c61
lea eax, [esp + 0xc]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.10012e03
lea edx, [esp + 0x20]
push eax
push edx
call fcn.10012e03
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10012e03
push eax
lea ecx, [esp + 0x10]
call fcn.10012d4e
lea ecx, [esp + 0x10]
call fcn.10012c61
lea ecx, [esp + 0x18]
call fcn.10012c61
lea ecx, [esp + 0x1c]
jmp 0x10002996
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.1000e2c2
mov eax, dword [eax]
push 0x10041f5c
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10012c61
test bl, bl
je 0x1000299b
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.10012e03
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10012e03
push eax
lea ecx, [esp + 0x10]
call fcn.10012d4e
lea ecx, [esp + 0x10]
call fcn.10012c61
lea ecx, [esp + 0x18]
call fcn.10012c61
push 0x1006eb14
lea ecx, [esp + 0x18]
call fcn.10012ccf
xor esi, esi
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x10002b1e
push 1
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.1000e1b0
mov eax, dword [eax]
push 0x10041f60
push eax
call fcn.100049f9
add esp, 8
test eax, eax
jl 0x10002a16
push 1
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.1000e1b0
mov eax, dword [eax]
push 0x10041f5c
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setle bl
call fcn.10012c61
test bl, bl
je 0x10002a16
mov bl, 1
jmp 0x10002a18
xor bl, bl
lea ecx, [esp + 0x18]
call fcn.10012c61
test bl, bl
push 1
push esi
je 0x10002a62
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.1000e1b0
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.10012e03
push eax
lea ecx, [esp + 0x18]
call fcn.10012d4e
lea ecx, [esp + 0x1c]
call fcn.10012c61
lea ecx, [esp + 0x28]
jmp 0x10002b0b
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.1000e1b0
mov eax, dword [eax]
push 0x1004202c
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
je 0x10002ab6
lea edx, [esp + 0x14]
push 0x1004202c
lea eax, [esp + 0x40]
push edx
push eax
call fcn.10012e69
push eax
lea ecx, [esp + 0x18]
call fcn.10012d4e
lea ecx, [esp + 0x3c]
jmp 0x10002b0b
push 1
lea ecx, [esp + 0x38]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.1000e1b0
mov eax, dword [eax]
push 0x10042028
push eax
call fcn.100049f9
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete bl
call fcn.10012c61
test bl, bl
je 0x10002b10
lea edx, [esp + 0x14]
push 0x10042028
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.10012e69
push eax
lea ecx, [esp + 0x18]
call fcn.10012d4e
lea ecx, [esp + 0x38]
call fcn.10012c61
mov ecx, dword [esp + 0xc]
inc esi
cmp esi, dword [ecx - 8]
jl 0x100029ba
mov esi, dword [esp + 0x14]
mov ecx, 0x19
xor eax, eax
mov edi, 0x1006e2bc
mov dword [0x1006e2a8], 2
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esi - 8]
mov edi, 0x1006e2bc
mov edx, ecx
mov eax, dword [0x1006ea30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 7
and ecx, 3
push 0x489
rep movsb byte es:[edi], byte [esi]
push eax
mov byte [0x1006e3e8], 1
mov byte [0x1006ca70], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x19
xor eax, eax
mov edi, 0x1006e4d0
push eax
rep stosd dword es:[edi], eax
call fcn.10002cb0
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov byte [0x1006ccfc], 0x64
push ecx
push edx
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], eax
call fcn.10004aa8
add esp, 0xc
push 0x1006ea18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x1006ca7c
cmp dword [esi + 0x10], 1
jne 0x10002be6
mov ecx, dword [0x1006ca68]
push 0x10
push esi
push 0
lea eax, [esp + 0x4c]
push 0x7c
push eax
push ecx
call sub.WSOCK32.dll_sendto
add esi, 0x20
cmp esi, 0x1006cbfc
jl 0x10002bc8
push 0x1006ea18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
call fcn.10012c61
lea ecx, [esp + 0x20]
call fcn.10012c61
lea ecx, [esp + 0x2c]
call fcn.10012c61
lea ecx, [esp + 0x24]
call fcn.10012c61
lea ecx, [esp + 0xc]
call fcn.10012c61
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0xb0
ret 4