Function at 0x415250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x449fd8]
push ebx
push esi
push edi
add eax, 0x31f7879c
mov edi, ecx
mov dword [ebp - 4], edi
cmp eax, 0xb079975c
jl 0x415295
mov eax, dword [0x43bf84]
dec dword [0x43bf84]
or eax, 0xe945d9cb
cmp eax, 0x697ecdb1
jl 0x415295
imul eax, dword [0x4365c4], 0x7f11de6a
mov dword [0x4365c4], eax
movsx ecx, word [0x4506be]
mov eax, dword [0x442678]
xor ecx, 0x769a600f
inc word [0x4506be]
xor eax, 0xa88420cd
cmp eax, ecx
jne 0x4152c1
or dword [0x441738], 0xc6a67e54
mov eax, dword [0x44b99c]
sar eax, 2
xor eax, 0x62e80555
cmp eax, 0x410002e8
jge 0x4152fb
mov eax, dword [0x44bab8]
or eax, dword [0x436b50]
or eax, 0x65eae51e
cmp eax, 0xbe94cc32
jne 0x4152fb
imul eax, dword [0x44706c], 0x607d7aa2
mov dword [0x44706c], eax
mov eax, dword [0x437870]
not eax
cmp eax, 0x8d0c009
jle 0x415313
xor dword [0x44cabc], 0xa5ad02df
add dword [0x43c34c], 0x62bfd0b2
mov eax, dword [edi]
mov ecx, dword [0x435a78]
mov dword [ebp - 0xc], eax
add ecx, 0x3335ab8d
mov eax, dword [0x43c4cc]
or ecx, 0x25c843a8
not eax
imul eax, eax, 0x11b9ca23
cmp ecx, eax
jle 0x415368
dec dword [0x4388d0]
mov eax, dword [0x4388d0]
add eax, 0x8608a4f0
and eax, 0xa95ddb1f
imul eax, dword [0x439a78]
mov dword [0x439a78], eax
jmp 0x415394
mov eax, dword [0x440b34]
add eax, eax
cmp dword [0x43cd68], eax
jle 0x415394
movsx eax, word [0x458430]
sub eax, 0x2f2164f8
xor eax, 0x7b8e5a2d
mov dword [0x4374fc], eax
dec word [0x458430]
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
and dword [0x435158], 0x114ed919
mov ecx, dword [0x43eb40]
movzx eax, word [0x453900]
xor ecx, 0xbe570ae6
mov edx, dword [edi]
or eax, ecx
mov word [0x453900], ax
inc dword [0x43eb40]
xor dword [0x43dea8], 0x21e14614
imul eax, dword [0x446334], 0x80040457
shr edx, 3
and edx, 0x3f
mov dword [0x446334], eax
movzx eax, word [0x45260e]
sub eax, 0x426e943c
mov word [0x45260e], ax
cmp edx, 0x38
jge 0x415431
mov ecx, dword [0x43c2c8]
mov eax, dword [0x446a5c]
or ecx, 0xc3607b7b
imul eax, ecx
mov ecx, 0x38
sub ecx, edx
mov dword [0x446a5c], eax
movzx eax, word [0x4545e8]
xor eax, 0xb7032d37
mov word [0x4545e8], ax
jmp 0x415451
add dword [0x4465fc], 0xe08327c4
mov ecx, 0x78
sub ecx, edx
imul eax, dword [0x44a980], 0x805985f7
mov dword [0x44a980], eax
add dword [0x43d0dc], 0xe9f2fe56
lea eax, [edi + 0x68]
push ecx
push eax
mov ecx, edi
call fcn.004167d0
add dword [0x435a8c], 0xfff7d180
lea esi, [edi + 0x1a]
movsx eax, word [0x4573b6]
mov ecx, 0xf43dfbcb
sub ecx, eax
xor ebx, ebx
and dword [0x43901c], ecx
mov edi, 0x4a58
dec word [0x4573b6]
movzx eax, word [0x4513dc]
imul eax, eax, 0xbbffcefb
mov word [0x4513dc], ax
lea esp, [esp]
movsx eax, word [0x4547b4]
lea esi, [esi + 4]
or eax, 0x5ec6450c
add dword [0x43abb0], eax
mov ecx, dword [0x438030]
mov eax, dword [0x439188]
movzx edx, byte [esi - 3]
shl ecx, 0xa
or ecx, 0x933c2aa0
shl edx, 0x18
imul eax, ecx
mov dword [0x439188], eax
dec dword [0x43bd28]
mov eax, dword [0x43bd28]
or eax, 0x3df49f46
and eax, dword [0x43fd94]
mov dword [0x43fd94], eax
mov dword [ebp + ebx*4 - 0x44], edx
mov word [0x455dee], di
movzx eax, word [0x44e208]
movzx ecx, word [0x45900c]
movzx edx, byte [esi - 4]
cwde
or ecx, eax
shl edx, 0x10
mov word [0x44e208], cx
mov eax, dword [0x44c978]
imul eax, eax, 0x135a1742
add dword [0x436630], eax
or dword [ebp + ebx*4 - 0x44], edx
dec dword [0x438ec0]
mov eax, dword [0x438ec0]
mov ecx, dword [0x44be68]
sub ecx, eax
mov eax, dword [0x4446dc]
imul eax, ecx
mov dword [0x4446dc], eax
mov eax, 0x2f284590
dec dword [0x44be68]
movsx ecx, word [0x45095e]
movzx edx, byte [esi - 5]
shl ecx, 9
sub eax, ecx
shl edx, 8
add dword [0x43707c], eax
or dword [0x44af94], 0x2c6abec5
movzx eax, word [0x453e84]
xor eax, 0x86db9d9c
mov word [0x453e84], ax
movzx eax, byte [esi - 6]
or eax, edx
or dword [ebp + ebx*4 - 0x44], eax
inc ebx
mov eax, dword [0x441ec4]
imul eax, eax, 0xa7f9b9b9
xor dword [0x43f72c], eax
movzx eax, word [0x450ac6]
mov ecx, dword [0x443120]
cwde
add ecx, eax
mov word [0x450ac6], cx
add dword [0x447fa8], 0xf7efcffd
cmp ebx, 0xe
jb 0x4154b0
mov eax, dword [0x440a2c]
mov edi, dword [ebp - 4]
mov ecx, edi
sar eax, 0xa
xor dword [0x43de14], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00401fd0
add dword [0x4416ec], 0x1a8f1758
mov eax, dword [0x44b54c]
mov dword [0x443358], eax
dec word [0x450f0e]
mov ax, word [0x450f0e]
cwde
cmp eax, 0x17f98538
jge 0x415654
mov eax, dword [0x441808]
movzx ecx, word [0x452f04]
imul eax, eax, 0xe4efdc2f
or ecx, eax
or ecx, 0x93a100c6
mov word [0x452f04], cx
dec dword [0x441808]
lea esi, [edi + 0x59]
mov ebx, 4
add edi, 8
nop
add dword [0x443168], 0x70500377
mov eax, dword [edi]
add dword [0x43889c], 0x23604150
mov byte [esi - 1], al
mov ecx, dword [0x449ee0]
and ecx, 0xffd5e84b
shl ecx, 9
sub dword [0x43b2d0], ecx
dec word [0x4574e6]
mov cx, word [0x4574e6]
movsx edx, word [0x458ca6]
sar edx, 0xa
and edx, 0xed3faf5d
movsx ecx, cx
or edx, 0xc42ca558
add ecx, 0x76124f95
cmp ecx, edx
je 0x4156cf
imul ecx, dword [0x449288], 0xee3ac5ec
mov dword [0x449288], ecx
xor dword [0x4418a4], 0xa316de42
shr eax, 8
mov byte [esi], al
mov ecx, dword [0x43e8fc]
mov edx, dword [0x447488]
imul ecx, ecx, 0xb81ac290
or edx, ecx
cmp edx, 0x206812e1
jle 0x415720
movsx ecx, word [0x456fc0]
mov edx, 0x6a18e3b6
sub edx, ecx
movzx ecx, word [0x454a34]
xor edx, 0x7db9a2cc
add ecx, edx
mov word [0x454a34], cx
jmp 0x415748
inc dword [0x446e24]
mov ecx, dword [0x446e24]
mov edx, dword [0x4431a8]
add edx, ecx
or edx, 0xdaa8010b
cmp edx, 0x2da338cb
jle 0x415748
mov ecx, dword [0x436aa8]
mov ecx, dword [0x44ccd8]
not ecx
xor ecx, 0x3aac7f7a
cmp ecx, 0x5349d0fe
je 0x415768
xor dword [0x43bd0c], 0xcef21916
shr eax, 8
mov dword [0x4479f0], 0x26a03f8f
mov byte [esi + 1], al
cmp dword [0x445a6c], 0xa326051e
jg 0x41578e
and dword [0x440c68], 0x2084378
and dword [0x436b0c], 0xc5213027
movsx ecx, word [0x45091e]
not ecx
shr eax, 8
xor ecx, 0xb2d6b7cf
cmp ecx, 0xfbb7bbfb
jle 0x4157f4
dec dword [0x43f2e0]
mov ecx, dword [0x43f2e0]
imul ecx, ecx, 0x7fde6b8
add ecx, 0x47c71e0a
cmp ecx, 0xf2ddc676
jne 0x4157e8
movsx ecx, word [0x4570a6]
mov dword [0x4390a8], ecx
inc word [0x4570a6]
jmp 0x41581d
and dword [0x43eb2c], 0xa6f986f7
jmp 0x41581d
inc dword [0x43f06c]
mov ecx, dword [0x43f06c]
movsx edx, word [0x458bee]
imul ecx, edx
add ecx, 0x8abcd338
or dword [0x43a8ec], ecx
dec word [0x458bee]
mov byte [esi + 2], al
add edi, 4
inc dword [0x438418]
add esi, 4
mov eax, dword [0x438418]
imul eax, eax, 0xeca3151d
xor eax, dword [0x4382fc]
mov dword [0x4382fc], eax
mov eax, dword [0x435090]
mov ecx, dword [0x43ea80]
or eax, 0x1e8b8bf4
shl eax, 2
imul ecx, eax
mov dword [0x43ea80], ecx
movzx eax, word [0x452e2e]
imul eax, eax, 0xaf6b503d
mov word [0x452e2e], ax
xor dword [0x44ca94], 0xfb0328a7
dec ebx
jne 0x415660
inc dword [0x439530]
mov ecx, dword [0x439530]
dec dword [0x437fa4]
or ecx, 0x2db0062e
mov eax, dword [0x437fa4]
pop edi
add eax, 0x2d81ff76
pop esi
pop ebx
cmp ecx, eax
jne 0x4158d7
imul eax, dword [0x447d28], 0x5aea1bc8
cmp eax, 0x8357f24a
jne 0x4158d2
movzx eax, word [0x455a02]
xor eax, 0xc053f608
mov word [0x455a02], ax
mov esp, ebp
pop ebp
ret
mov eax, dword [0x43ce28]
mov esp, ebp
pop ebp
ret