Function at 0x10003ee0
Capabilities:
Create thread
Receive data
Receive data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001f873
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x10937664]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x10937664]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov eax, dword [0x109398dc]
mov dword [esp + 0x40], eax
mov ebx, 0xf
mov edi, edi
push 0x400
xor esi, esi
lea ecx, [esp + 0x88]
push esi
push ecx
call fcn.1000c150
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x1a0]
add esp, 0xc
push esi
push 0x400
lea edx, [esp + 0x8c]
push edx
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x100044fb
cmp eax, esi
jle 0x10003f30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x10003fb0
push esi
push 4
lea edx, [esp + 0x4c]
push edx
push 0xce6180
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 5
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push str._eof_
mov byte [ecx], 0
call fcn.10001c50
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4d0], esi
lea eax, [esp + 0xbc]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
mov dword [esp + 0x4c], esp
mov byte [ecx], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003ff1
sub eax, edi
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10001c50
lea ecx, [esp + 0x68]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.10003560
add esp, 0x38
mov dword [esp + 0x498], 1
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x10], esi
je 0x100044a5
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x14]
cmp dword [edi + edx + 0x10], 1
lea eax, [edi + edx]
jbe 0x1000447b
push 0xffffffffffffffff
push esi
mov edi, 0xf
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], esi
mov byte [esp + 0x74], 0
call fcn.10001d50
sub esp, 0x1c
mov byte [esp + 0x4b4], 2
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push 0x1093392c
mov byte [ecx], 0
call fcn.10001c50
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x4d0], 3
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
push esi
lea eax, [esp + 0xa8]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.10001d50
lea ecx, [esp + 0x50]
mov byte [esp + 0x4d0], 2
call fcn.10003560
add esp, 0x38
mov byte [esp + 0x498], 4
mov ebx, dword [esp + 0x18]
mov edi, dword [ebx + 0x10]
mov eax, edi
cmp edi, 2
jb 0x1000410d
mov eax, 2
cmp dword [ebx + 0x14], 0x10
jb 0x10004117
mov edx, dword [ebx]
jmp 0x10004119
mov edx, ebx
mov ecx, 0x10933808
call fcn.10002b70
cmp eax, esi
jne 0x1000413b
cmp edi, 2
jae 0x10004131
or eax, 0xffffffff
jmp 0x10004139
xor eax, eax
cmp edi, 2
setne al
cmp eax, esi
sete al
test al, al
jne 0x100043eb
mov edi, dword [ebx + 0x10]
mov eax, edi
cmp edi, 4
jb 0x10004155
mov eax, 4
cmp dword [ebx + 0x14], 0x10
jb 0x1000415f
mov edx, dword [ebx]
jmp 0x10004161
mov edx, ebx
mov ecx, str.FILE
call fcn.10002b70
test eax, eax
jne 0x10004183
cmp edi, 4
jae 0x10004179
or eax, 0xffffffff
jmp 0x10004181
xor eax, eax
cmp edi, 4
setne al
test eax, eax
sete al
test al, al
jne 0x100043eb
mov edi, dword [ebx + 0x10]
mov eax, edi
cmp edi, 4
jb 0x1000419d
mov eax, 4
cmp dword [ebx + 0x14], 0x10
jb 0x100041a7
mov edx, dword [ebx]
jmp 0x100041a9
mov edx, ebx
mov ecx, str.PROG
call fcn.10002b70
xor esi, esi
cmp eax, esi
jne 0x100041cd
cmp edi, 4
jae 0x100041c3
or eax, 0xffffffff
jmp 0x100041cb
xor eax, eax
cmp edi, 4
setne al
cmp eax, esi
sete al
test al, al
je 0x100042aa
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 1
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push 0x10933940
mov byte [ecx], 0
call fcn.10001c50
sub esp, 0x1c
mov byte [esp + 0x4d0], 5
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
add eax, 0x1c
push esi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.10001d50
lea ecx, [esp + 0x80]
mov byte [esp + 0x4d0], 4
call fcn.10003560
add esp, 0x38
mov edi, eax
cmp edi, 0x1093a3e4
je 0x10004273
mov ebx, 0x1093a3e4
call fcn.10006340
mov ecx, dword [edi]
mov dword [0x1093a3e4], ecx
mov edx, dword [edi + 4]
mov dword [0x1093a3e8], edx
mov eax, dword [edi + 8]
mov dword [0x1093a3ec], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ebx, [esp + 0x48]
call fcn.10006340
cmp byte [0x109398e5], 0
jne 0x100043e7
push 0
push 0
push 0
push 0x10003c10
push 0
push 0
mov byte [0x109398e5], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x100043e7
mov edi, dword [ebx + 0x10]
mov eax, edi
cmp edi, 3
jb 0x100042b9
mov eax, 3
cmp dword [ebx + 0x14], 0x10
jb 0x100042c3
mov edx, dword [ebx]
jmp 0x100042c5
mov edx, ebx
mov ecx, 0x10933944
call fcn.10002b70
cmp eax, esi
jne 0x100042e7
cmp edi, 3
jae 0x100042dd
or eax, 0xffffffff
jmp 0x100042e5
xor eax, eax
cmp edi, 3
setne al
cmp eax, esi
sete al
test al, al
je 0x100043bd
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 1
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push 0x10933940
mov byte [ecx], 0
call fcn.10001c50
sub esp, 0x1c
mov byte [esp + 0x4d0], 7
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
add eax, 0x1c
push esi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push eax
mov byte [ecx], 0
call fcn.10001d50
lea ecx, [esp + 0x90]
mov byte [esp + 0x4d0], 4
call fcn.10003560
add esp, 0x38
mov edi, eax
cmp edi, 0x1093a3f4
je 0x1000438d
mov ebx, 0x1093a3f4
call fcn.10006340
mov ecx, dword [edi]
mov dword [0x1093a3f4], ecx
mov edx, dword [edi + 4]
mov dword [0x1093a3f8], edx
mov eax, dword [edi + 8]
mov dword [0x1093a3fc], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ebx, [esp + 0x58]
call fcn.10006340
cmp byte [0x109398db], 0
jne 0x100043e7
push 0
push 0
push 0
push 0x10003be0
push 0
push 0
mov byte [0x109398db], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x100043e7
mov ecx, str.KILL
mov edi, ebx
call fcn.10008760
test al, al
je 0x100043e7
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 9
call esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
xor edi, edi
cmp ebx, edi
je 0x10004438
mov esi, dword [esp + 0x1c]
mov edi, ebx
cmp ebx, esi
je 0x1000442d
jmp 0x10004400
cmp dword [edi + 0x14], 0x10
jb 0x10004411
mov eax, dword [edi]
push eax
call fcn.10009c10
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
add edi, 0x1c
cmp edi, esi
jne 0x10004400
mov ebx, dword [esp + 0x18]
push ebx
call fcn.10009c10
add esp, 4
xor edi, edi
mov byte [esp + 0x498], 1
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jb 0x10004460
mov ecx, dword [esp + 0x68]
push ecx
call fcn.10009c10
add esp, 4
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x7c], 0xf
mov byte [esp + 0x68], 0
xor esi, esi
inc dword [esp + 0x10]
add dword [esp + 0x14], 0x1c
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x10004057
mov dword [esp + 0x498], 0xffffffff
cmp edi, esi
je 0x100044ea
cmp edi, ebx
je 0x100044e1
cmp dword [edi + 0x14], 0x10
jb 0x100044c9
mov ecx, dword [edi]
push ecx
call fcn.10009c10
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], esi
mov byte [edi], 0
add edi, 0x1c
cmp edi, ebx
jne 0x100044b8
mov edi, dword [esp + 0x30]
push edi
call fcn.10009c10
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
jmp 0x10003f29
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10003f30