Function at 0x40d500
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x440380
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454654]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, str.233.123.112.211
mov dword [esp + 0x44], 2
mov dword [esp + 0x20], 0
call fcn.00403530
mov byte [esp + 0x40], 3
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esp + 0x4c]
mov byte [esp + 0x44], 4
call fcn.00410110
add esp, 4
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x24]
push ecx
mov ebx, eax
mov byte [esp + 0x48], 5
call fcn.00410050
add esp, 8
mov byte [esp + 0x40], 6
mov ebx, dword [eax]
lea eax, [esp + 0x18]
call fcn.00403a10
lea esi, [esp + 0x20]
mov byte [esp + 0x40], 5
call fcn.004015c0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d5cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 4
lea esi, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.004015c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d5fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
cmp dword [ebp - 4], 1
mov esi, dword [ebp - 0xc]
jle 0x40d61c
mov ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403b20
mov ebp, dword [esp + 0x18]
xor eax, eax
mov ecx, esi
mov edx, ebp
test esi, esi
jle 0x40d64a
movzx edi, byte [edx]
mov esi, eax
shr esi, 8
xor esi, edi
shl eax, 8
and esi, 0xff
xor ax, word [esi*2 + 0x45a1b8]
dec ecx
inc edx
movzx eax, ax
test ecx, ecx
jg 0x40d626
mov ecx, dword [esp + 0x14]
not eax
movzx eax, ax
push eax
call fcn.00415ac0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
call fcn.00401750
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x28]
push eax
call fcn.00409bf0
mov byte [esp + 0x48], 7
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.00415c50
add esp, 0x10
lea esi, [esp + 0x24]
mov byte [esp + 0x40], bl
call fcn.004015c0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d6bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
xor esi, esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00416040
add esp, 0x14
cmp dword [esp + 0x2c], ebx
jne 0x40d708
push 0x32
call edi
inc esi
cmp esi, 0x3e8
jl 0x40d6d2
jmp 0x40d736
cmp dword [esp + 0x30], ebx
je 0x40d732
call fcn.00415f80
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x54]
cdq
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00401020
mov dword [esp + 0x1c], 1
jmp 0x40d736
mov dword [esp + 0x1c], ebx
lea eax, [ebp - 0x10]
mov byte [esp + 0x40], 3
mov esi, dword [eax]
cmp dword [eax + 4], ebx
je 0x40d786
cmp dword [eax + 0xc], ebx
lea ecx, [eax + 0xc]
jge 0x40d764
cmp dword [ebp - 8], ebx
jge 0x40d75c
push 0x80070057
call fcn.00401960
mov dword [ebp - 0xc], ebx
mov byte [ebp], bl
jmp 0x40d786
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d77a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ebp, [eax + 0x10]
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x40d805
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x40d7df
cmp dword [ecx - 8], ebx
jge 0x40d7cd
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], ebx
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [esp + 0x14]
jmp 0x40d805
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d7f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x14], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x40d884
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x40d85e
cmp dword [ecx - 8], ebx
jge 0x40d84c
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], ebx
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [esp + 0x48]
jmp 0x40d884
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d874
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x48], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], bl
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx - 0x10]
cmp dword [ecx - 0xc], ebx
lea eax, [ecx - 0x10]
je 0x40d902
cmp dword [eax + 0xc], ebx
lea edx, [eax + 0xc]
jge 0x40d8dc
cmp dword [ecx - 8], ebx
jge 0x40d8ca
push 0x80070057
call fcn.00401960
mov dword [ecx - 0xc], ebx
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [esp + 0x4c]
jmp 0x40d902
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d8f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x4c], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d91e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x50]
mov esi, dword [eax - 0x10]
cmp dword [eax - 0xc], ebx
lea edx, [eax - 0x10]
je 0x40d984
cmp dword [edx + 0xc], ebx
lea ecx, [edx + 0xc]
jge 0x40d95e
cmp dword [eax - 8], ebx
jge 0x40d94c
push 0x80070057
call fcn.00401960
mov dword [eax - 0xc], ebx
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov word [edx], cx
mov eax, dword [esp + 0x50]
jmp 0x40d984
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d974
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0x10
mov dword [esp + 0x50], eax
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret