Function at 0x421360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa08
mov dword [esp + 0xc0], 0x1f731975
mov dword [esp + 0xc4], 0x63d61da9
mov dword [esp + 0xc8], 0x67ca61c9
mov dword [esp + 0xcc], 0x6bde65cd
mov dword [esp + 0xd0], 0x6f0369d1
mov dword [esp + 0xd4], 0x73c76ddb
mov dword [esp + 0xd8], 0x771b71d6
mov dword [esp + 0xdc], 0x7bc375c0
mov dword [esp + 0xe0], 0x7fdb79c8
mov dword [esp + 0xe4], 0x43f07d01
mov dword [esp + 0xe8], 0x47f241e5
mov dword [esp + 0xec], 0x4bf945ff
mov dword [esp + 0xf0], 0x4fe149fe
mov dword [esp + 0xf4], 0x53ff4d3e
mov dword [esp + 0xf8], 0x57f851e3
mov dword [esp + 0xfc], 0x5bf755e7
mov dword [esp + 0x100], 0x5f0c592a
mov dword [esp + 0x104], 0xa3165df9
mov dword [esp + 0x108], 0xa715a11b
mov dword [esp + 0x10c], 0xab05a512
mov dword [esp + 0x110], 0xaf0ba9ff
mov dword [esp + 0x114], 0xb308ad1a
mov dword [esp + 0x118], 0xb711b119
mov dword [esp + 0x11c], 0xbbbab511
mov byte [esp + 0x122], 0
mov word [esp + 0x120], 0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x120]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0xba
xor dl, byte [esp + ecx + 0xc0]
add dl, 0x5e
mov byte [esp + ecx + 0xc0], dl
inc ecx
cmp ecx, 0x63
jne 0x4214a0
lea edi, [esp + 0x60]
lea edx, [esp + 0xc0]
mov ecx, 0x18
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc0]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc0], 0x1c1d1a1b
mov byte [esp + 0xc4], 0
mov eax, 0xd8258f3a
movzx ecx, byte [esp + eax + 0x27da7186]
mov esi, eax
and esi, ecx
mov edi, esi
and edi, 0x7d
mov edx, esi
or edx, 0xfffffffd
inc edx
imul edx, edi
mov edi, esi
and edi, 2
or esi, 2
imul esi, edi
add edx, ecx
sub edx, esi
add edx, eax
mov esi, edx
and esi, 0x5d
xor edx, 0xdc
lea edx, [edx + esi*2]
add ecx, eax
and ecx, 1
or edx, 1
sub edx, ecx
inc dl
mov byte [esp + eax + 0x27da7186], dl
inc eax
cmp eax, 0xd8258f3f
jne 0x421500
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x44fd60]
test ecx, ecx
mov edi, dword [ebp + 0x14]
je 0x4215a4
xor edx, edx
mov esi, dword [0x44fd64]
cmp dword [esi + edx*8], 0xc85f7986
je 0x421580
inc edx
cmp ecx, edx
jne 0x421570
jmp 0x4215a4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4215a4
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x44fd68]
push ecx
call fcn.004407f0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x421660
push dword [esp + 0x28]
call fcn.0043da20
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc0], 0x1c1d1a1b
mov byte [esp + 0xc4], 0
mov eax, 0xd8258f3a
nop
movzx edx, byte [esp + eax + 0x27da7186]
mov edi, eax
and edi, edx
mov ecx, edi
and ecx, 0x7d
mov esi, edi
or esi, 0xfffffffd
inc esi
imul esi, ecx
mov ecx, edi
and ecx, 2
or edi, 2
imul edi, ecx
add esi, edx
sub esi, edi
add esi, eax
mov ecx, esi
and ecx, 0x5d
xor esi, 0xdc
lea ecx, [esi + ecx*2]
add edx, eax
and edx, 1
or ecx, 1
sub ecx, edx
inc cl
mov byte [esp + eax + 0x27da7186], cl
inc eax
cmp eax, 0xd8258f3f
jne 0x4215e0
mov eax, dword [esp + 0xc0]
mov edx, dword [0x44fd60]
test edx, edx
je 0x421690
xor esi, esi
mov edi, dword [0x44fd64]
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42166b
inc esi
cmp edx, esi
jne 0x421650
jmp 0x421690
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x421c6b
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x421690
push 0
push dword [esp + 0x10]
push dword [esp + 0x28]
push 5
push 4
push dword [0x44fd68]
push edx
call fcn.004407f0
add esp, 0x1c
test eax, eax
mov edi, dword [ebp + 0x14]
js 0x421c3b
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
jmp 0x4216cd
mov edi, dword [ebp + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x421c53
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
movzx edi, word [ebx + eax]
test dx, dx
je 0x4216f5
add eax, 2
cmp dx, di
je 0x4216e0
cmp dx, di
jne 0x4216c0
mov eax, dword [esi + 0x44]
mov edi, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xc], eax
mov ecx, edi
push 0x410
call fcn.0043dda0
test eax, eax
js 0x4216c3
mov dword [esp + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc0], 0x1c1d1a1b
mov byte [esp + 0xc4], 0
mov ecx, 0xd8258f3a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x27da7186]
mov eax, ecx
and eax, edx
mov ebx, eax
and ebx, 0x7d
mov edi, eax
or edi, 0xfffffffd
inc edi
imul edi, ebx
mov ebx, eax
and ebx, 2
or eax, 2
imul eax, ebx
add edi, edx
sub edi, eax
add edi, ecx
mov eax, edi
and eax, 0x5d
xor edi, 0xdc
lea eax, [edi + eax*2]
add edx, ecx
and edx, 1
or eax, 1
sub eax, edx
inc al
mov byte [esp + ecx + 0x27da7186], al
inc ecx
cmp ecx, 0xd8258f3f
jne 0x421750
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x44fd60]
test ecx, ecx
je 0x421800
xor edx, edx
mov edi, dword [0x44fd64]
nop
nop
cmp dword [edi + edx*8], 0x62429966
je 0x4217d0
inc edx
cmp ecx, edx
jne 0x4217c0
jmp 0x421800
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x421800
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x24]
push 5
push dword [0x44fd68]
push ecx
call fcn.004407f0
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
mov edi, dword [ebp + 0x14]
jne 0x4218e0
mov eax, dword [esp + 0x24]
add eax, 2
push eax
call fcn.0043da20
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 4], eax
mov dword [esp + 0xc0], 0x1c1d1a1b
mov byte [esp + 0xc4], 0
mov edx, 0xd8258f3a
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx + 0x27da7186]
mov eax, edx
and eax, edi
mov ebx, eax
and ebx, 0x7d
mov ecx, eax
or ecx, 0xfffffffd
inc ecx
imul ecx, ebx
mov ebx, eax
and ebx, 2
or eax, 2
imul eax, ebx
add ecx, edi
sub ecx, eax
add ecx, edx
mov eax, ecx
and eax, 0x5d
xor ecx, 0xdc
lea eax, [ecx + eax*2]
lea ecx, [edx + edi]
and ecx, 1
or eax, 1
sub eax, ecx
inc al
mov byte [esp + edx + 0x27da7186], al
inc edx
cmp edx, 0xd8258f3f
jne 0x421850
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x44fd60]
test ecx, ecx
je 0x42190e
mov ebx, dword [esp + 0x10]
add ebx, 2
xor edx, edx
mov edi, dword [0x44fd64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x62429966
je 0x4218e8
inc edx
cmp ecx, edx
jne 0x4218d0
jmp 0x42190e
mov ebx, dword [ebp + 8]
jmp 0x421a8e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x42190e
push 0
push ebx
push dword [esp + 0x1c]
push 0x2b
push dword [esp + 0x14]
push 5
push dword [0x44fd68]
push ecx
call fcn.004407f0
add esp, 0x20
test eax, eax
mov edi, dword [ebp + 0x14]
js 0x421a34
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, edx
je 0x42194b
movzx edi, word [ecx + edx*2]
mov ebx, dword [ebp + 0xc]
cmp word [ebx + edx*2], di
jne 0x421a7c
inc edx
test di, di
jne 0x421930
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.0043e440
cmp eax, 2
mov ebx, dword [ebp + 8]
jne 0x421a82
mov ecx, edi
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043e270
test eax, eax
js 0x421a82
mov ecx, edi
push 0
push 0
push 0x28
lea eax, [esp + 0x684]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0043e770
test eax, eax
js 0x421a82
mov ecx, edi
push 0
push 0
push 0x80
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x6ac]
push dword [esp + 0x6ac]
call fcn.0043e770
test eax, eax
js 0x421a82
movzx eax, word [esp + 0x132]
push eax
call fcn.0043da20
add esp, 4
movzx edx, word [esp + 0x132]
mov ecx, edi
push 0
push 0
push edx
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.0043e770
test eax, eax
js 0x421c29
movzx edi, word [esp + 0x60]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
test di, di
je 0x421aaf
lea edx, [esp + 0x60]
mov eax, dword [esp + 8]
mov ecx, eax
mov dword [esp + 4], eax
jmp 0x421a48
mov ebx, dword [ebp + 8]
jmp 0x421a82
movzx edi, word [edx]
test di, di
je 0x421aaf
movzx eax, word [ecx]
test ax, ax
je 0x421c26
add ecx, 2
add edx, 2
mov dword [esp + 0x10], edx
mov edx, dword [esp + 4]
add edx, 2
cmp ax, di
je 0x421a70
mov dword [esp + 4], edx
mov ecx, edx
mov edx, dword [esp + 0x10]
je 0x421a40
lea edx, [esp + 0x60]
jmp 0x421a40
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
push dword [esp + 0x14]
call fcn.0043dac0
add esp, 4
mov eax, dword [esp + 0xc]
or eax, dword [esp + 0x1c]
je 0x421aa3
cmp dword [esp + 0x18], 0
jne 0x421c53
mov ecx, edi
call fcn.0043df20
jmp 0x4216c3
cmp dword [esp + 4], 0
je 0x421c26
mov edi, dword [ebp + 0x14]
mov ecx, edi
push 0
push 0
push 0x20
lea eax, [esp + 0x62c]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043e770
test eax, eax
js 0x421c29
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x694]
add eax, 0x10
mov dword [esp + 4], eax
adc ecx, 0
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x630]
mov edx, dword [esp + 0x634]
mov dword [esp + 0x504], edx
mov dword [esp + 0x500], eax
jmp 0x421b59
cmp cx, dx
je 0x421bfc
push edi
call fcn.0043dac0
add esp, 4
mov eax, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
mov ecx, edx
xor ecx, dword [esp + 0x2c]
mov edi, eax
xor edi, dword [esp + 4]
or edi, ecx
mov edi, dword [ebp + 0x14]
je 0x421c29
mov dword [esp + 0x10], eax
mov ecx, edi
push 0
push 0
push 0x68
lea eax, [esp + 0x50c]
push eax
push edx
push dword [esp + 0x24]
call fcn.0043e770
test eax, eax
js 0x421c29
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043da20
add esp, 4
mov ecx, edi
mov edi, eax
movzx eax, word [esp + 0x55a]
push 0
push 0
push eax
push edi
push dword [esp + 0x574]
push dword [esp + 0x574]
call fcn.0043e770
test eax, eax
js 0x421b2b
xor eax, eax
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x421bd3
or ecx, 0x20
movzx edx, word [edi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x421be3
or edx, 0x20
test cx, cx
mov ebx, dword [ebp + 8]
je 0x421b22
add eax, 2
cmp cx, dx
je 0x421bc0
jmp 0x421b22
mov eax, dword [esp + 0x530]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x534]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x540]
mov dword [esp + 0x18], eax
push edi
call fcn.0043dac0
add esp, 4
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 8]
push eax
call fcn.0043dac0
add esp, 4
jmp 0x421a82
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
push dword [esp + 0x20]
call fcn.0043dac0
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, edi
call fcn.0043df10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret