Function at 0x416bcc
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x40
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov dword [esp], 0x30303030
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], esi
xor edx, edx
mov ebx, eax
add ebx, 1
movzx eax, byte [ebx - 1]
add edx, 1
xor byte [ecx], al
add ecx, 1
cmp edx, 0x10
jb 0x416bf5
mov esi, dword [esp + 0x30]
add ecx, 0xfffffff0
mov edx, 0x48e7ec
call fcn.0041be04
mov dword [ebp + 4], eax
neg eax
add eax, 0x1e
mov dword [ebp + 8], eax
call fcn.0040876c
mov dword [esp + 0x30], eax
call fcn.0040876c
mov dword [esp + 0x34], eax
call fcn.0040876c
mov dword [esp + 0x38], eax
call fcn.0040876c
mov dword [esp + 0x3c], eax
push dword [esi + 8]
push eax
call fcn.004087c4
push 0x4e5e30
push dword [esp + 0x44]
call fcn.004087c4
push 0x48e7ec
push dword [esp + 0x48]
call fcn.004087c4
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.00408204
lea eax, [esp + 0x29]
push 0x20
push eax
push dword [esp + 0x60]
call fcn.004087ac
push 0x48e788
call fcn.0041b55c
add esp, 0x38
push dword [ebp + 4]
lea edx, [esp + 4]
mov ecx, 0x48e798
call fcn.0041b4c8
lea eax, [esp + 0x30]
push eax
call fcn.00408728
lea eax, [esp + 0x38]
push eax
call fcn.00408728
lea eax, [esp + 0x40]
push eax
call fcn.00408728
lea eax, [esp + 0x48]
push eax
call fcn.00408728
add esp, 0x10
movzx eax, byte [0x42b760]
test eax, eax
je 0x416d7f
movzx eax, byte [0x48e798]
test eax, eax
jne 0x416d03
mov eax, 0xff
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
mov esi, dword [edi]
mov ebp, 0x48e798
mov eax, dword [ebp]
mov dword [esi], eax
mov edx, dword [ebp + 4]
mov dword [esi + 4], edx
mov ecx, dword [ebp + 8]
mov dword [esi + 8], ecx
movzx eax, word [ebp + 0xc]
mov word [esi + 0xc], ax
movzx eax, byte [ebp + 0xe]
mov byte [esi + 0xe], al
mov eax, dword [edi + 4]
mov edx, dword [esp]
mov dword [eax], edx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ebp, dword [esp + 8]
mov dword [eax + 8], ebp
mov esi, dword [esp + 0xc]
mov dword [eax + 0xc], esi
mov edi, dword [esp + 0x10]
mov dword [eax + 0x10], edi
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x2c], edx
movzx eax, byte [0x42b761]
test eax, eax
je 0x416dcc
mov esi, 0x48e799
mov edi, 0x48e789
mov ecx, 1
xor eax, eax
test ecx, ecx
je 0x416db0
mov al, byte [esi]
sub al, byte [edi]
jne 0x416db0
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416d9f
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416dcc
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b762]
test eax, eax
je 0x416e19
mov esi, 0x48e79a
mov edi, 0x48e78a
mov ecx, 2
xor eax, eax
test ecx, ecx
je 0x416dfd
mov al, byte [esi]
sub al, byte [edi]
jne 0x416dfd
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416dec
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416e19
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b763]
test eax, eax
je 0x416e66
mov esi, 0x48e79c
mov edi, 0x48e78c
mov ecx, 1
xor eax, eax
test ecx, ecx
je 0x416e4a
mov al, byte [esi]
sub al, byte [edi]
jne 0x416e4a
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416e39
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416e66
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b764]
test eax, eax
je 0x416eb3
mov esi, 0x48e79d
mov edi, 0x48e78d
mov ecx, 1
xor eax, eax
test ecx, ecx
je 0x416e97
mov al, byte [esi]
sub al, byte [edi]
jne 0x416e97
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416e86
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416eb3
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b765]
test eax, eax
je 0x416f00
mov esi, 0x48e79e
mov edi, 0x48e78e
mov ecx, 1
xor eax, eax
test ecx, ecx
je 0x416ee4
mov al, byte [esi]
sub al, byte [edi]
jne 0x416ee4
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416ed3
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416f00
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b766]
test eax, eax
je 0x416f4d
mov esi, 0x48e79f
mov edi, 0x48e78f
mov ecx, 2
xor eax, eax
test ecx, ecx
je 0x416f31
mov al, byte [esi]
sub al, byte [edi]
jne 0x416f31
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416f20
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416f4d
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b767]
test eax, eax
je 0x416f9a
mov esi, 0x48e7a2
mov edi, 0x48e792
mov ecx, 2
xor eax, eax
test ecx, ecx
je 0x416f7e
mov al, byte [esi]
sub al, byte [edi]
jne 0x416f7e
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416f6d
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416f9a
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
movzx eax, byte [0x42b768]
test eax, eax
je 0x416fe7
mov esi, 0x48e7a4
mov edi, 0x48e794
mov ecx, 2
xor eax, eax
test ecx, ecx
je 0x416fcb
mov al, byte [esi]
sub al, byte [edi]
jne 0x416fcb
add esi, 1
add edi, 1
sub ecx, 1
jne 0x416fba
seta al
setb cl
sub al, cl
movsx eax, al
test eax, eax
je 0x416fe7
mov eax, 9
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, 1
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret