Function at 0x41f268
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 0x41f33b
push ebp
mov ecx, 0x4bcb80
push ecx
push 1
call fcn.0041df70
mov eax, dword [esp + 0x7c]
call fcn.0041411c
xor al, 1
je 0x41f328
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.00414128
push dword [eax + 4]
push dword [eax]
mov eax, ebx
call fcn.0041f548
mov eax, dword [esp + 0x7c]
call fcn.00414164
mov eax, dword [esp + 0x7c]
call fcn.0041411c
xor al, 1
je 0x41f328
push ebp
mov ecx, 0x4bb230
push ecx
push 2
call fcn.0041df70
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.00414128
push dword [eax + 4]
push dword [eax]
mov eax, ebx
call fcn.0041f548
mov eax, dword [esp + 0x7c]
call fcn.00414164
mov eax, dword [esp + 0x7c]
call fcn.0041411c
xor al, 1
jne 0x41f2e6
push ebp
mov ecx, 0x4bcbd0
push ecx
push 1
call fcn.0041df70
jmp 0x41f507
cmp cl, 0x72
jne 0x41f39f
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 0x41f507
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.0041fe64
inc esi
cmp esi, dword [esp + 0x34]
jb 0x41f371
jmp 0x41f507
cmp cl, 0x28
jne 0x41f4c8
mov eax, dword [esp + 0x7c]
call fcn.0041411c
test al, al
jne 0x41f507
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.0041d0f0
xor al, 1
jne 0x41f462
mov eax, ebx
call fcn.0044a748
test al, al
je 0x41f40f
push ebp
mov edx, dword [esp + 0x80]
push dword [edx + 4]
push dword [edx]
call fcn.00414128
push eax
lea eax, [esp + 0x4c]
call fcn.0041fe64
jmp 0x41f42f
push ebp
mov ecx, dword [esp + 0x80]
push dword [ecx + 4]
push dword [ecx]
call fcn.00414128
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x50]
call fcn.0041f548
xor edx, edx
cmp dword [esp + 0x6c], edx
je 0x41f462
cmp edx, dword [esp + 0x6c]
jae 0x41f51d
mov ecx, dword [esp + 0x70]
cmp byte [ecx + edx], 0x25
jne 0x41f45b
push ebp
lea eax, [esp + 0x48]
call fcn.0041d0f0
xor al, 1
jne 0x41f462
jmp 0x41f3e6
inc edx
cmp edx, dword [esp + 0x6c]
jb 0x41f437
mov edx, dword [ebx + 0x24]
or edx, dword [ebx + 0x20]
je 0x41f49f
push ebp
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0041d2dc
mov eax, dword [esp + 0x7c]
call fcn.00414164
mov eax, dword [esp + 0x7c]
call fcn.0041411c
test al, al
jne 0x41f507
push ebp
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0041d2dc
jmp 0x41f3b9
mov eax, dword [esp + 0x7c]
call fcn.00414164
mov eax, dword [esp + 0x7c]
call fcn.0041411c
test al, al
jne 0x41f507
push ebp
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0041d2dc
jmp 0x41f3b9
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