Function at 0x40cdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x3c], 0x5392c66e
mov dword [ebp - 0x60], 0x731157c3
mov dword [ebp - 8], 0x3d2f99a9
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x34b1b9a1
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
cmp edx, ecx
jle 0x40ce11
mov ecx, dword [ebp - 0x60]
xor ecx, 0xb7df5d3e
or ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
jmp 0x40ce2a
mov edx, dword [ebp - 0x60]
xor edx, 0x534fa534
imul edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], 0x77ba8bd4
mov dword [ebp - 0x74], 0x7995f9f6
mov ecx, 0x5895eca7
sub ecx, dword [ebp - 0x74]
and ecx, dword [ebp - 0x74]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
xor edx, 0x387584e4
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], 0xf266d3d0
jmp 0x40ce6c
mov dword [ebp - 0x68], 0x8cee0cf1
mov dword [ebp - 0x70], 0x58d87e6b
mov ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x70]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], 0xd1053df4
mov dword [ebp - 0xc], 0xeeb845
mov dword [ebp - 0x6c], 0x7049b2a5
mov dword [ebp - 4], 0xedda02e5
mov eax, dword [ebp - 4]
imul eax, eax, 0xe26498a0
mov ecx, dword [ebp - 0xc]
sub ecx, 0x4a4094e9
xor edx, edx
cmp ecx, 0xd020b6b6
setge dl
or eax, edx
je 0x40ced6
mov eax, dword [ebp - 4]
or eax, 0xb2827725
mov dword [ebp - 4], eax
jmp 0x40cf01
mov ecx, dword [ebp - 0x6c]
sar ecx, 2
xor edx, edx
cmp dword [ebp - 0xc], 0xd91f3cd5
setge dl
and edx, 0x936cda64
or ecx, edx
je 0x40cf01
mov eax, dword [ebp - 0xc]
or eax, 0x2a2e1dc9
imul eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
movups xmm0, xmmword [0x440004]
mov dword [ebp - 0x54], 0xd224b72
mov dword [ebp - 0x4c], 0x862b910d
mov dword [ebp - 0x64], 0x7fe27624
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
and edx, dword [ebp - 0x64]
xor edx, dword [ebp - 0x54]
xor edx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
xor eax, eax
cmp dword [ebp - 0x4c], 0x3533fba
setg al
xor eax, 0xc1c27208
je 0x40d0b3
mov ecx, dword [ebp - 0x4c]
sub ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0xfc818009
add eax, 0x4654203a
xor ecx, ecx
cmp eax, dword [ebp - 0x4c]
setle cl
or ecx, 0xb3d77a96
je 0x40d0a2
mov edx, dword [ebp - 0x4c]
imul edx, edx, 0xc0cd525
xor eax, eax
cmp edx, 0x8d884
setl al
or eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
sub ecx, 1
mov dword [ebp - 0x64], ecx
test eax, eax
je 0x40d0a0
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
imul eax, eax, 0x8458e69d
mov ecx, dword [ebp - 0x4c]
shl ecx, 4
mov edx, dword [ebp - 0x64]
sub edx, 0x7dcfb088
sub edx, ecx
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp edx, eax
jge 0x40d086
mov edx, dword [ebp - 0x54]
sub edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
xor ecx, ecx
cmp eax, dword [ebp - 0x4c]
setg cl
xor ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
test ecx, ecx
je 0x40d063
mov eax, dword [ebp - 0x64]
xor ecx, ecx
cmp eax, dword [ebp - 0x54]
setle cl
mov edx, dword [ebp - 0x64]
sar edx, 6
or ecx, edx
je 0x40d049
mov eax, dword [ebp - 0x54]
sub eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
imul ecx, ecx, 0xe3c2e77
cmp ecx, 0x8205cad
jge 0x40d047
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
sub eax, 0x620d3f50
imul eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
jmp 0x40d061
mov ecx, dword [ebp - 0x4c]
add ecx, 0xe62ef2d
and ecx, dword [ebp - 0x64]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
jmp 0x40d084
mov eax, dword [ebp - 0x4c]
sub eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
imul ecx, dword [ebp - 0x64]
cmp ecx, 0xdd282f18
jle 0x40d084
mov edx, dword [ebp - 0x64]
or edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
jmp 0x40d0a0
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, 0xab7d0f9d
sub ecx, dword [ebp - 0x64]
xor ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
jmp 0x40d0ae
mov edx, dword [ebp - 0x64]
xor edx, 0xb5821065
mov dword [ebp - 0x64], edx
jmp 0x40d163
mov eax, dword [ebp - 0x64]
xor ecx, ecx
cmp eax, dword [ebp - 0x54]
setle cl
and ecx, 0xc071180c
xor ecx, 0xf98b9558
je 0x40d0d7
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
jmp 0x40d163
mov eax, dword [ebp - 0x64]
imul eax, eax, 0x1d4090e1
xor ecx, ecx
cmp eax, 0x50c03cc6
setne cl
and ecx, 0x8c1db26b
xor ecx, 0x55a989b0
je 0x40d133
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x4c]
shl eax, 9
imul eax, eax, 0x5d3d5b6c
xor ecx, ecx
cmp eax, dword [ebp - 0x54]
setl cl
xor ecx, dword [ebp - 0x64]
je 0x40d131
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
or eax, 0xd0289136
and eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
jmp 0x40d163
xor ecx, ecx
je 0x40d148
mov edx, dword [ebp - 0x4c]
or edx, 0x91533d6
xor edx, dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
jmp 0x40d163
cmp dword [ebp - 0x64], 0x79eebacd
jne 0x40d163
mov eax, dword [ebp - 0x54]
and eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x38], 0x52394fe7
mov edx, dword [ebp - 0x38]
imul edx, edx, 0xb22d87eb
and edx, 0x2f73c23a
imul edx, dword [ebp - 0x38]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
sub eax, 0x3b73c197
mov dword [ebp - 0x38], eax
movups xmm1, xmmword [0x440014]
mov dword [ebp - 0x20], 0xaeb5749d
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0xa93b2596
xor ecx, 1
je 0x40d1bb
mov edx, dword [ebp - 0x20]
sar edx, 6
xor edx, 0x81851bfa
or edx, dword [ebp - 0x20]
mov dword [ebp - 0x20], edx
jmp 0x40d210
mov eax, 1
test eax, eax
je 0x40d1d5
mov ecx, dword [ebp - 0x20]
add ecx, 0x2273395f
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
jmp 0x40d210
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 0x48fbc44e
cmp dword [ebp - 0x20], eax
jge 0x40d210
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0x66169486
mov eax, dword [ebp - 0x20]
shl eax, 2
cmp eax, edx
jne 0x40d210
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x5c], 0x9675fb24
mov dword [ebp - 0x10], 0x7a2b2ead
mov dword [ebp - 0x30], 0x7724e801
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x30]
imul edx, edx, 0xb6468d6c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
cmp eax, edx
jg 0x40d25e
mov dword [ebp - 0x78], 1
jmp 0x40d265
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x78]
and edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
sub eax, 1
mov dword [ebp - 0x5c], eax
test edx, edx
je 0x40d41a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x30]
imul edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
imul eax, eax, 0xbfdff8e5
add eax, dword [ebp - 0x5c]
cmp eax, edx
je 0x40d40c
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
sub edx, 1
mov dword [ebp - 0x5c], edx
cmp ecx, 0xff8dd3c4
jne 0x40d2bd
mov dword [ebp - 0x7c], 1
jmp 0x40d2c4
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x5c]
sar eax, 6
sub eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x7c]
xor eax, 0xe68737fa
je 0x40d396
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x5c]
sar edx, 8
sub edx, 0x13df32a4
xor eax, eax
cmp edx, 0xf4a80ff1
setle al
and eax, dword [ebp - 0x10]
je 0x40d394
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
cmp ecx, edx
jl 0x40d323
mov dword [ebp - 0x80], 1
jmp 0x40d32a
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x80]
and ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
test ecx, ecx
je 0x40d37e
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x5c]
imul edx, dword [ebp - 0x30]
sub edx, 0x41d332cf
xor eax, eax
cmp edx, dword [ebp - 0x10]
sete al
xor eax, 0xf61d1cdd
or eax, 0x93e709a8
je 0x40d37c
mov ecx, dword [ebp - 0x10]
xor ecx, 0xc2098a06
mov dword [ebp - 0x10], ecx
jmp 0x40d394
mov edx, dword [ebp - 0x5c]
imul edx, edx, 0x53817afb
xor edx, 0x846b439f
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40d40a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp eax, 0x3c9be5d1
je 0x40d3b5
mov dword [ebp - 0x84], 1
jmp 0x40d3bf
mov dword [ebp - 0x84], 0
mov edx, 0x2cc46555
sub edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x84]
je 0x40d3dc
mov eax, dword [ebp - 0x5c]
xor eax, 0x93f67e16
mov dword [ebp - 0x5c], eax
jmp 0x40d40a
mov ecx, dword [ebp - 0x5c]
add ecx, 0x7609e73b
xor edx, edx
cmp dword [ebp - 0x10], ecx
setle dl
or edx, dword [ebp - 0x30]
je 0x40d40a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
or ecx, 0x40d07392
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
jmp 0x40d418
mov edx, dword [ebp - 0x30]
add edx, 0x686c09cc
mov dword [ebp - 0x30], edx
jmp 0x40d431
mov eax, dword [ebp - 0x5c]
and eax, 0x562326c4
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 1
mov dword [ebp - 0x5c], ecx
rcpss xmm0, xmm1
mov dword [ebp - 0x58], 0x4f2258a5
mov dword [ebp - 0x48], 0xc66bb2f2
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
mov eax, 0xdb477fd9
sub eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x48]
sub ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
imul edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
sub eax, 0x1a26ec6c
cmp eax, edx
jne 0x40d485
mov ecx, dword [ebp - 0x58]
and ecx, 0x30fda23e
mov dword [ebp - 0x58], ecx
jmp 0x40d4fe
mov edx, dword [ebp - 0x58]
sub edx, 0x10740bd5
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x3076b1d
mov ecx, dword [ebp - 0x58]
sub ecx, eax
mov eax, dword [ebp - 0x58]
sub eax, 1
mov dword [ebp - 0x58], eax
cmp ecx, edx
je 0x40d4b5
mov dword [ebp - 0x88], 1
jmp 0x40d4bf
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 0x88]
xor ecx, 0xf55c7e34
je 0x40d4ed
mov edx, dword [ebp - 0x58]
and edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x58]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
jmp 0x40d4fe
mov edx, 0x5dd82205
sub edx, dword [ebp - 0x48]
xor edx, 0x54b33fe2
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x2c], 0x29159a1
mov eax, dword [ebp - 0x2c]
sub eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x89e0d70
jg 0x40d55f
mov ecx, dword [ebp - 0x2c]
imul ecx, ecx, 0x6cbf13c7
mov edx, 0xb619e314
sub edx, ecx
mov eax, dword [ebp - 0x2c]
shl eax, 1
imul eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp eax, edx
jge 0x40d55f
mov edx, dword [ebp - 0x2c]
and edx, 1
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
test edx, edx
je 0x40d55f
mov ecx, dword [ebp - 0x2c]
or ecx, 0xf013c837
and ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
movups xmmword [0x440004], xmm0
mov dword [ebp - 0x34], 0xe5c75ad6
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, 0x726dafa5
xor ecx, ecx
cmp dword [ebp - 0x34], eax
setl cl
xor ecx, dword [ebp - 0x34]
je 0x40d5a1
mov edx, 0x6a6a1c2e
sub edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
sar eax, 8
add edx, eax
and edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x50], 0x83e2b6ee
mov dword [ebp - 0x28], 0x240c30f7
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
xor edx, edx
cmp dword [ebp - 0x28], 0xc51297ff
setl dl
mov eax, dword [ebp - 0x28]
and eax, 0xb87ab3ad
xor eax, edx
je 0x40d5f5
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
add edx, 0x43ac6557
cmp edx, 0x701b427d
jle 0x40d5f3
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
jmp 0x40d651
mov ecx, dword [ebp - 0x50]
sub ecx, 0x3313e1c5
xor edx, edx
cmp dword [ebp - 0x50], ecx
setle dl
xor edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
test edx, edx
je 0x40d651
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x28]
xor eax, eax
cmp edx, dword [ebp - 0x28]
setge al
and eax, 0xd16fe111
and eax, dword [ebp - 0x50]
je 0x40d642
mov ecx, dword [ebp - 0x28]
add ecx, 0xe9f0162
mov dword [ebp - 0x28], ecx
jmp 0x40d651
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [0x440004]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0xe549cd06
mov edx, dword [ebp - 0x1c]
shl edx, 9
imul edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], 0xcc61134
mov dword [ebp - 0x18], 0x2f3e6b16
mov dword [ebp - 0x24], 0xca8001ba
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x40]
lea edx, [ecx*4 + 0x7f0d5ac8]
xor eax, eax
cmp dword [ebp - 0x18], edx
setge al
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x40d6d6
mov edx, dword [ebp - 0x18]
and edx, 0x58fed1cd
mov dword [ebp - 0x18], edx
jmp 0x40d706
mov eax, dword [ebp - 0x24]
sar eax, 8
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0xb086447b
sub ecx, eax
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp ecx, 0x11506e93
jne 0x40d706
outsb dx, byte [esi]
push eax
adc dword [ebp + 0xe], esi
mov eax, dword [ebp - 0x24]
xor eax, 0x833591b1
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x14]
inc ebp
wait
dec esp
pop es
mov bl, 0x65
leave
push 0x54
rcl byte [edx + 5], 0xdb
pop eax
jno 0x40d6f3
mov esi, 0xa235e099
or ebp, dword [eax]
ret 0x76ef