Function at 0x442154
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x78
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
movzx ecx, byte [ebx + 0x14]
cmp cl, 0x73
jne 0x442227
push ebp
mov ecx, 0x4bcb80
push ecx
push 1
call fcn.0040b4e8
mov eax, dword [esp + 0x7c]
call fcn.00412e78
xor al, 1
je 0x442214
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.0040c4b0
push dword [eax + 4]
push dword [eax]
mov eax, ebx
call fcn.004147b8
mov eax, dword [esp + 0x7c]
call fcn.00412e84
mov eax, dword [esp + 0x7c]
call fcn.00412e78
xor al, 1
je 0x442214
push ebp
mov ecx, 0x4bb230
push ecx
push 2
call fcn.0040b4e8
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.0040c4b0
push dword [eax + 4]
push dword [eax]
mov eax, ebx
call fcn.004147b8
mov eax, dword [esp + 0x7c]
call fcn.00412e84
mov eax, dword [esp + 0x7c]
call fcn.00412e78
xor al, 1
jne 0x4421d2
push ebp
mov ecx, 0x4bcbd0
push ecx
push 1
call fcn.0040b4e8
jmp 0x4423f3
cmp cl, 0x72
jne 0x44228b
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [ecx]
mov dword [esp + 0x2c], ebx
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x34], esi
je 0x4423f3
mov eax, dword [esp + 0x30]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [eax + esi*8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x28], edx
push ebp
lea ebx, [esp + 0x28]
push ebx
call fcn.00412718
inc esi
cmp esi, dword [esp + 0x34]
jb 0x44225d
jmp 0x4423f3
cmp cl, 0x28
jne 0x4423b4
mov eax, dword [esp + 0x7c]
call fcn.00412e78
test al, al
jne 0x4423f3
mov esi, 0x4c1980
lea edi, [esp + 0x44]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
lea eax, [esp + 0x4c]
call fcn.0044a81c
push ebp
lea eax, [esp + 0x48]
call fcn.0040bc3c
xor al, 1
jne 0x44234e
mov eax, ebx
call fcn.0044a748
test al, al
je 0x4422fb
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.0040c4b0
push eax
lea eax, [esp + 0x4c]
call fcn.00412718
jmp 0x44231b
push ebp
mov ecx, dword [esp + 0x80]
push dword [ecx + 4]
push dword [ecx]
call fcn.0040c4b0
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x50]
call fcn.004147b8
xor edx, edx
cmp dword [esp + 0x6c], edx
je 0x44234e
cmp edx, dword [esp + 0x6c]
jae 0x442409
mov ecx, dword [esp + 0x70]
cmp byte [ecx + edx], 0x25
jne 0x442347
push ebp
lea eax, [esp + 0x48]
call fcn.0040bc3c
xor al, 1
jne 0x44234e
jmp 0x4422d2
inc edx
cmp edx, dword [esp + 0x6c]
jb 0x442323
mov edx, dword [ebx + 0x24]
or edx, dword [ebx + 0x20]
je 0x44238b
push ebp
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0040be28
mov eax, dword [esp + 0x7c]
call fcn.00412e84
mov eax, dword [esp + 0x7c]
call fcn.00412e78
test al, al
jne 0x4423f3
push ebp
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0040be28
jmp 0x4422a5
mov eax, dword [esp + 0x7c]
call fcn.00412e84
mov eax, dword [esp + 0x7c]
call fcn.00412e78
test al, al
jne 0x4423f3
push ebp
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0040be28
jmp 0x4422a5
mov dword [esp], 0x4c1640
call fcn.0044a170
mov edx, 0x4bcfb0
mov esi, eax
push edx
push 0x27
movzx eax, byte [ebx + 0x14]
call fcn.0040ab50
mov ecx, 0x4bcf50
push edx
push eax
mov eax, esi
push ecx
push 0x5b
push 0xd4b
push 0
call fcn.0044a144
mov dword [esp], eax
call fcn.0044a110
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 0x78
ret 8
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xd35
mov dword [esp], 0x4bcf50
call fcn.00449d20
int3