Function at 0x442090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x240
mov ebx, dword [esp + 0x260]
mov dword [esp + 0x3b], 0xe48040
mov dword [esp + 0x38], 0x4010ec83
mov dword [esp + 0x34], 0x48e78948
mov dword [esp + 0x30], 0xce8948fc
mov dword [esp + 0x23], 0xc3fc8948
mov dword [esp + 0x20], 0x48d2ff41
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xfffffff1
mov dword [esp + 0x14], 0xba49c031
lea ebp, [esp + 0x40]
lea eax, [esp + 0x30]
mov ecx, 3
mov edi, ebp
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x4c]
lea eax, [esp + 0x3c]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x3e]
mov byte [esp + 0x4e], al
mov esi, ebx
cmp ebx, 4
jb 0x442123
mov esi, 4
lea edx, [esp + 0x4f]
test ebx, ebx
je 0x4422d8
xor ebp, ebp
jmp 0x44216a
mov eax, 0x4473c5
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x4473c9
xor ecx, ecx
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
inc ebp
cmp esi, ebp
je 0x4421e9
cmp ebp, 3
ja case.default.0x44216f
jmp dword [ebp*4 + 0x446be0]
mov eax, 0x4473ca
xor ecx, ecx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, 0x4473ca
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov byte [edx + 2], 0xe
add edx, 3
jmp case.default.0x44216f
mov eax, 0x4473c0
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x4473c4
xor ecx, ecx
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
jmp case.default.0x44216f
mov eax, 0x4473ce
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 4
mov eax, 0x4473d2
xor ecx, ecx
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
jmp case.default.0x44216f
cmp ebx, 3
lea ebp, [esp + 0x40]
jbe 0x4422d8
test bl, 1
je 0x44221e
mov eax, 0x4473d7
mov esi, 0x4473d7
mov edi, edx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
add edx, 2
mov word [esp + 0x10], 0x50
mov dword [esp + 0xc], 0x20468b48
mov byte [esp + 8], 0
mov dword [esp + 4], 0x50000000
mov dword [esp], 0x80868b48
lea eax, [ebx*8]
cmp eax, 0x7ffffffe
ja 0x4422c5
dec ebx
cmp ebx, 4
jb 0x4422d4
add eax, 0xfffffff8
mov ebp, esp
jmp 0x44228e
mov dword [esp + 3], eax
mov esi, ebp
mov edi, edx
mov ecx, 2
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add edx, 8
lea esi, [esp + 8]
xor ecx, ecx
mov edi, edx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
dec ebx
add eax, 0xfffffff8
cmp ebx, 3
jbe 0x4422d4
cmp eax, 0x7e
ja 0x442260
mov byte [esp + 0xf], al
lea esi, [esp + 0xc]
mov edi, edx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [edx + 4]
lea esi, [esp + 0x10]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
movzx ecx, byte [esp + 0x10]
mov byte [edx + 4], cl
add edx, 5
jmp 0x442285
mov eax, 0xffffffff
mov edx, 0xffffffff
jmp 0x442539
lea ebp, [esp + 0x40]
mov eax, dword [esp + 0x258]
mov esi, 0x4473bb
mov edi, edx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea esi, [edx + 4]
mov ebx, 0x4473bf
mov edi, esi
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x254]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov edi, esi
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [edx + 0x14]
lea eax, [esp + 0x24]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x26]
mov byte [edx + 0x16], al
mov eax, ebp
neg eax
lea ebx, [edx + eax]
add ebx, 0x17
sub edx, ebp
mov esi, dword [esp + 0x25c]
mov dword [esp + 0xc], 0
add edx, 0x70
mov dword [esp + 0x2c], edx
mov dword [esp], 0x34353637
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x3ae83d0c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3ae83d0c]
xor ecx, eax
add ecx, 0xd976cec3
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax - 0x3ae83d0c], cl
inc eax
cmp eax, 0x3ae83d13
jne 0x442380
mov eax, dword [esp]
mov ecx, dword [0x44f9d8]
test ecx, ecx
je 0x4423fe
xor edx, edx
mov edi, dword [0x44f9dc]
nop
nop
cmp dword [edi + edx*8], 0xf3285e74
je 0x4423d0
inc edx
cmp ecx, edx
jne 0x4423c0
jmp 0x4423fe
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4423fe
lea eax, [esp + 0x2c]
lea edx, [esp + 0xc]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44f9e0]
push ecx
call fcn.00440440
add esp, 0x24
test eax, eax
js 0x442500
mov eax, dword [esp + 0xc]
mov edx, 0x446b85
mov edi, eax
mov ecx, 0x16
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [eax + 0x58]
mov edx, 0x446bdd
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov byte [eax + 0x58], 0x24
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x59]
mov ecx, ebx
shr ecx, 2
lea edx, [esp + 0x40]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea edx, [esp + ecx]
add edx, 0x40
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, edx
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x442478
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x59]
push esi
push ecx
call eax
mov dword [esp + 0x28], 0
mov dword [esp], 0x34353637
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov ecx, 0x3ae83d0c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx - 0x3ae83d0c]
xor ebx, ecx
add ebx, 0xd976cec3
mov esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + ecx - 0x3ae83d0c], bl
inc ecx
cmp ecx, 0x3ae83d13
jne 0x4424b0
mov ecx, dword [0x44f9d8]
test ecx, ecx
je 0x442539
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x44f9dc]
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x442507
inc edi
cmp ecx, edi
jne 0x4424f0
jmp 0x442539
mov edx, eax
sar edx, 0x1f
jmp 0x442539
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x442539
lea esi, [esp + 0x28]
lea edi, [esp + 0xc]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x44f9e0]
push ecx
mov esi, eax
mov edi, edx
call fcn.00440440
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x240
pop esi
pop edi
pop ebx
pop ebp
ret 0x10