Function at 0x403860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffffeb
mov eax, dword [0x41023d]
mov ecx, dword [0xdc17d010]
dec eax
push esi
cmp eax, ecx
push edi
jge 0x403a7a
mov esi, dword [ebp + 8]
xor ebx, ebx
mov ecx, edx
jnp 0x4038e3
retf 0x5e7b
or al, 0x3b
ret
mov edx, dword [edi]
push 1
jae 0x4038f1
push edx
call fcn.00408db0
cmp ecx, dword [edi + 0x68500e74]
sub al, ch
inc eax
add al, ch
adc esp, ebp
into
jg 0x403882
je 0x403901
push eax
push str.socket_nonblock
call 0x800f1e11
add esp, 8
les ecx, [eax]
mov eax, dword [0x410275]
mov bl, 0xd2
push ecx
push eax
mov eax, dword [edi]
xor eax, dword [eax + 0x50]
call 0xb9408db0
cmp eax, ebx
je 0x40392e
cmp eax, 0xc101009f
je 0x40392e
push eax
push 0x58ad14
call fcn.00401e36
add esp, 8
leave
or eax, 0xfb10be
xchg esp, eax
pop ss
push ecx
push 0x80
call 0xb5b46f
cmp eax, ebx
je 0x40395b
cmp eax, 0x11187
je 0x40391e
push eax
das
cld
hlt
call 0xa3404a00
or eax, 0x4156f4
mov dword [edx], eax
push edi
or eax, dword [ecx]
mov edx, dword [edi]
mov dword [esi + 0x830], eax
mov eax, dword [0xbf410ba4]
add byte [ebx + 0x30868917], cl
or byte [eax], al
add byte [ecx - 0x40bef45c], ah
mov eax, ebx
xor al, 8
inc esi
add ah, bh
or eax, 0x4117d6
push ecx
push edx
call fcn.00406840
mov ebx, eax
jb 0x40396a
setnp al
add byte [esi], dh
add byte [ebp + 0x7b75f1fb], ch
add byte [edi], cl
test byte [ebp - 0x7e2c0000], al
sti
mov ah, 0x23
or eax, dword [eax]
je 0x4039e9
les edx, [0x4117f8]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x2a6501
push ecx
push edx
mov dword [ebp - 8], eax
call 0x556200
mov eax, dword [edi]
push eax
pop ebp
inc ebx
add dh, ch
mov edi, dword [0x4102c8]
mov eax, dword [0x8902b8]
inc edi
mov ecx, eax
inc eax
cmp ecx, 0xffffffbd
mov dword [0x4102c4], edi
mov dword [0x417bb8], eax
jle 0x403a0f
add byte [esi + 0x23], bh
mov edx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push 0x4657d8
xor dword [ebx + 0x6ffc240], 0xffffff80
rol dword [eax], 0x53
push 0xb6d227
call int.00401e40
pop edi
les edx, [eax]
push esi
mov dword [esi + 8], 0
cmp eax, dword [eax + ebx*2 + 0xe]
or byte [eax], al
add byte [eax], al
add byte [ebx], bh
inc esp
pop eax
push cs
dec ebp
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
pop ebx
movsd dword es:[edi], dword [esi]
in eax, 0x5d
jno 0x403a12
nop
nop
nop
nop
nop
nop
stc
mov esp, 0x90900490
nop
nop
push ebp
mov ebp, esp
sub esp, 0xffffffd3
push esi
mov esi, dword [ebp - 0x76]
push edi
mov eax, dword [esi + 0xc]
test eax, eax
dec ebp
out 0x8b, al
xchg byte [eax + ecx], ah
add byte [eax], al
test eax, eax
je 0x403ac6
mov eax, dword [0x4102b4]
test eax, eax
mov byte [0x1734f], al
add byte [eax - 0x5d], cl
mov ah, 2
push eax
add byte [ecx], cl
popal
add dword [eax], eax
add byte [ebx + 0x4102b43d], al
mov ah, 2
inc ecx
add byte [ecx], al
jne 0x403ad7
mov eax, dword [esi + 0x10]
mov dword [0x63f4d0], eax
jmp 0x403afb
mov ecx, dword [esi - 0x21]
mov eax, dword [0x41028c]
fbld tbyte [ecx + 0x41028c]
sub al, byte [eax]
cmp dword [eax], ebx
pushal
or eax, 0xd8ecb8
mov eax, dword [0x4102c0]
inc ecx
inc eax
mov dword [0x64410246], ecx
int1
rol byte [edx], 0x41
test al, 0xa1
lodsb al, byte [esi]
add bl, cl
add byte [ebx + 0x68d0100d], cl
add byte [ebx], bh
ror dword [edi], 0x8d
and eax, 0x8b001e01
jmp 0x403ad9
mov eax, dword [0xd902ac]
mov ecx, dword [0x68d010]
cmp eax, ecx
jge 0x5e3c33
mov ebp, ebx
enter 0x41cc, 0
mov edi, eax
inc ecx
fild word [0xa340a803]
lodsb al, byte [esi]
add al, byte [ecx]
call 0x6f406b00
mov dword [0x410b61], eax
mov esi, edi
movsb byte es:[edi], byte [esi]
or eax, dword [ecx + 0x7a]
or al, 0x86
push eax
mov ch, 0
add byte [ebx + 0x410b7fcc], cl
add byte [ebx + 0x83086], cl
add byte [ecx + 0x85496], cl
mov ah, 0x89
pop es
mov ebp, edx
xor al, 0xd4
add byte [eax], al
mov dword [edi - 0x42], ecx
mov ecx, dword [esi + 0x838]
mov eax, dword [esi + 0x78000830]
mov edx, dword [esi - 0x56fff7cc]
sub ecx, eax
mov eax, dword [esi + 0x83c]
cmpsd dword [esi], dword es:[edi]
sbb dword [ebp - 0x39f5804a], eax
add al, 0x85
leave
cmpsb byte [esi], byte es:[edi]
add al, 0xfb
leave
xor eax, eax
mov dword [ebx + edx*2 - 0x77], esi
inc edi
adc al, 0x8b
mov ds, word [edi]
or byte [ebp], dl
mov eax, dword [esi + 0x42000830]
mov edx, dword [esi + 0x1000834]
sub ecx, eax
mov eax, dword [esi - 0x4afff73f]
sbb eax, edx
xor eax, 0x7c0a5a84
test dword [bx + di + 0x73], ebx
add al, 0x33
leave
xor eax, eax
mov edi, ebx
sbb byte [ecx - 0x7174e327], cl
hlt