Function at 0x4251e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x424f70
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x424f80
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x424fa0
mov eax, 0xffffffff
jmp 0x424fa9
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.0040c9f0
add esp, 4
mov esi, eax
mov dword [esp + 0x48], 0x39a13b9e
mov dword [esp + 0x4c], 0x258d27a5
mov dword [esp + 0x50], 0x216f23ba
mov dword [esp + 0x54], 0x2dbc2fb1
mov dword [esp + 0x58], 0x29812bb0
mov dword [esp + 0x5c], 0x158a17b0
mov dword [esp + 0x60], 0x11be13a3
mov dword [esp + 0x64], 0x1d421f53
mov dword [esp + 0x68], 0x195d1b42
mov dword [esp + 0x6c], 0x5410744
mov dword [esp + 0x70], 0x15b035e
mov dword [esp + 0x74], 0xd490f5e
mov dword [esp + 0x78], 0x9ae0b57
mov dword [esp + 0x7c], 0x75da779f
mov dword [esp + 0x80], 0x717273da
mov word [esp + 0x84], 0
mov byte [esp + 0x86], 0
mov eax, 0x33ebc30b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x33ebc2c3]
xor ecx, eax
mov edx, ecx
and edx, 0x48
xor ecx, 0xc8
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x33ebc2c3], cl
inc eax
cmp eax, 0x33ebc34a
jne 0x425050
mov dword [esp], 0x21ab2780
mov dword [esp + 4], 0x3d9323ac
mov dword [esp + 8], 0x399d3f8e
mov dword [esp + 0xc], 0x35853b81
mov dword [esp + 0x10], 0x318a3790
mov dword [esp + 0x14], 0xd8c338f
mov dword [esp + 0x18], 0x9810faf
mov dword [esp + 0x1c], 0x5860bbc
mov dword [esp + 0x20], 0x1b107a0
mov dword [esp + 0x24], 0x1d8803b1
mov dword [esp + 0x28], 0x19a11feb
mov dword [esp + 0x2c], 0x15961b90
mov dword [esp + 0x30], 0x11a017ab
mov dword [esp + 0x34], 0xeda9139d
mov dword [esp + 0x38], 0xe958ef5d
mov dword [esp + 0x3c], 0xe51feb1d
mov dword [esp + 0x40], 0xe1e6e711
mov word [esp + 0x44], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x49
xor cl, byte [esp + eax]
add cl, 0x93
mov byte [esp + eax], cl
inc eax
cmp eax, 0x46
jne 0x425110
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x425151
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x425140
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x425181
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x425170
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x4251b1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x4251a0
mov word [eax], 0
movzx ecx, word [esp + 0x48]
test cx, cx
je 0x4251e1
lea edx, [esp + 0x4a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4251d0
mov word [eax], 0
mov ebx, dword [edi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x4251f0
sar eax, 1
mov edx, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x425210
sar ecx, 1
lea edi, [eax + ecx]
lea edx, [eax + ecx]
add edx, 0xa
lea ecx, [edi*2 + 0x14]
and ecx, 2
mov edi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x425240
xor edx, 1
add ecx, edx
sar eax, 1
add eax, ecx
jns 0x42525d
mov eax, 0xffffffff
jmp 0x42525f
add eax, eax
push eax
call fcn.0040c9f0
add esp, 4
mov edi, eax
mov dword [esp], 0xb16d8f75
mov dword [esp + 4], 0xb55eb35c
mov dword [esp + 8], 0xb922b753
mov dword [esp + 0xc], 0xbd6bbb2d
mov word [esp + 0x10], 0xbfbc
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
mov eax, 0x94b5ba5d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6b4a45a3]
lea ecx, [edx + edx]
not ecx
add ecx, edx
not edx
and edx, eax
or ecx, eax
not ecx
or ecx, edx
add cl, 0x2f
mov byte [esp + eax + 0x6b4a45a3], cl
inc eax
cmp eax, 0x94b5ba75
jne 0x4252b0
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x425301
lea edx, [esp + 2]
mov eax, edi
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4252f0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x425331
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x425320
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp]
movzx edx, word [ecx]
test dx, dx
je 0x425361
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x425350
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test dx, dx
je 0x425391
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x425380
mov word [eax], 0
mov dword [esp], 0x919e9fc6
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x870ce25
nop
nop
movzx ecx, byte [esp + eax - 0x870ce25]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x44
mov ebx, ecx
and ebx, 2
mov ebp, ebx
xor ebp, 2
imul ebp, edx
or edx, 2
imul edx, ebx
xor ecx, 0x46
add ecx, ebp
add ecx, edx
inc cl
mov byte [esp + eax - 0x870ce25], cl
inc eax
cmp eax, 0x870ce2c
jne 0x4253b0
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb4]
call fcn.00425690
add esp, 0x1c
mov ebx, eax
jmp dword [0x44cf7c]