Function at 0x422660
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44baa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
push 0xc
mov eax, dword [ebp + 4]
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov cl, byte [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], cl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dl, byte [esp + 0x74]
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x38], dl
call fcn.00401ff0
mov al, byte [esp + 0x74]
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
mov byte [esp + 0x58], al
call fcn.00401ff0
lea esi, [ebp + 0xb]
push 0x456448
push esi
mov byte [esp + 0x74], 2
call fcn.0043ab40
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x42279c
mov cl, byte [esp + 0x74]
push ebx
mov byte [esp + 0x48], cl
lea ecx, [esp + 0x48]
call fcn.00401ff0
mov edx, edi
lea ecx, [esp + 0x44]
sub edx, ebp
sub edx, 0xb
push edx
push esi
call fcn.004050e0
mov eax, dword [0x44e274]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 3
call fcn.004025b0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 2
call fcn.00401ff0
mov dl, byte [esp + 0x74]
push ebx
lea ecx, [esp + 0x48]
lea ebp, [edi + 1]
mov byte [esp + 0x48], dl
call fcn.00401ff0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x4c]
call fcn.004050e0
mov eax, dword [0x44e274]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 4
call fcn.004025b0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 2
call fcn.00401ff0
jmp 0x4227b3
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.004050e0
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x4227c0
mov eax, 0x44e270
push 0x100
push ebx
push eax
call fcn.004396ea
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4228c4
mov eax, dword [esp + 0x3c]
lea edi, [eax - 1]
cmp eax, edi
jb 0x4227fb
cmp dword [esp + 0x38], ebx
je 0x4227fb
lea ecx, [esp + 0x34]
call fcn.00405050
mov edx, dword [esp + 0x38]
lea eax, [edx + edi]
jmp 0x422800
mov eax, 0x44e270
cmp byte [eax], 0x5c
jne 0x422874
mov al, byte [esp + 0x54]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.00401ff0
mov ecx, dword [0x44e274]
lea edx, [esp + 0x64]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.004025b0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
mov byte [esp + 0x80], 5
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0x5c]
call fcn.00423ac0
push eax
mov ecx, esi
call fcn.00404f90
mov byte [esp + 0x90], 2
call fcn.00434a80
add esp, 0x24
jmp 0x422945
mov dl, byte [esp + 0x74]
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00401ff0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.004050e0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x44]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 6
call fcn.00423b30
mov byte [esp + 0x6c], 2
push 1
lea ecx, [esp + 0x48]
jmp 0x422940
push eax
call fcn.004399fc
mov dl, byte [esp + 0x78]
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], dl
push ebx
call fcn.00401ff0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x48]
push ebp
call fcn.00402180
test al, al
je 0x42291b
mov edi, dword [esp + 0x48]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call fcn.00402160
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
push ecx
push 1
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 7
call fcn.00423b30
mov byte [esp + 0x6c], 2
push 1
lea ecx, [esp + 0x48]
call fcn.00401ff0
lea eax, [esp + 0x24]
mov byte [esp + 0x20], bl
push eax
push ebx
push 0x433620
call fcn.0043a873
mov ecx, dword [0x45f2ec]
add esp, 0xc
or esi, 0xffffffff
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x78]
push ebx
lea edx, [esp + 0x1c]
push 0xc
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
mov byte [esp + 0x6c], 1
push 1
lea ecx, [esp + 0x58]
jg 0x4229e4
call fcn.00401ff0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], bl
call fcn.00401ff0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x28]
cmp esi, edi
je 0x4229c6
push ebx
mov ecx, esi
call fcn.00423f60
add esi, 0x10
cmp esi, edi
jne 0x4229b3
mov esi, dword [esp + 0x28]
push esi
call fcn.00439308
add esp, 4
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
call fcn.00401ff0
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x422a0e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x422a05
cmp al, 0xff
je 0x422a05
dec al
mov byte [ecx], al
jmp 0x422a0e
push ecx
call fcn.00439308
add esp, 4
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp esi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x422a3d
push ebx
mov ecx, esi
call fcn.00423f60
add esi, 0x10
cmp esi, edi
jne 0x422a2a
mov esi, dword [esp + 0x28]
push esi
call fcn.00439308
mov ecx, dword [esp + 0x68]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret