Function at 0x41eef0
Capabilities:
Encode data using xor

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x41ef20
test dword [0x87ed4c], 0xffffffff
jne 0x41f030
call fcn.007663a0
jmp fcn.0041eef0
push edi
push esi
push ebp
push ebx
sub esp, 0xc
mov ebx, edx
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x41ef78
mov esi, ebx
mov edi, ecx
xor edx, edx
test ecx, ecx
jle 0x41ef5d
mov dword [esp + 4], ecx
lea ecx, [edx*8]
xor ecx, edx
movzx edx, byte [esi]
inc esi
movzx edx, byte [edx + 0x789b60]
xor edx, ecx
dec edi
test edi, edi
jg 0x41ef3e
mov ecx, dword [esp + 4]
mov esi, dword [eax]
mov eax, edx
xor edx, edx
div esi
mov esi, dword [ebp + edx*8 + 4]
mov eax, dword [ebp + edx*8]
mov ebp, 1
mov dword [esp + 8], ebx
jmp 0x41ef87
mov esi, dword [eax + 8]
mov eax, dword [eax + 4]
mov ebp, 1
mov dword [esp + 8], ebx
test eax, eax
mov edx, eax
cmovne edx, ebp
dec eax
test edx, edx
je 0x41f017
test esi, esi
je 0x41f017
cmp ecx, dword [esi + 0x10]
je 0x41efa4
mov esi, dword [esi]
jmp 0x41ef87
mov edi, dword [esi + 0xc]
mov edx, dword [esp + 8]
mov ebx, ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
jmp 0x41efb8
inc edi
inc edx
xor eax, eax
test ebx, ebx
cmovg eax, ebp
dec ebx
test eax, eax
je 0x41f00e
movzx eax, byte [edi]
test eax, eax
je 0x41f00e
movzx eax, byte [eax + 0x789b60]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x789b60]
cmp eax, ecx
je 0x41efb6
mov eax, dword [esp]
mov ecx, dword [esp + 4]
test ebx, ebx
js 0x41f003
movzx edi, byte [edi]
movzx ebx, byte [edi + 0x789b60]
movzx edx, byte [edx]
movzx edx, byte [edx + 0x789b60]
cmp edx, ebx
jne 0x41efa0
mov eax, dword [esi + 8]
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp]
mov ecx, dword [esp + 4]
jmp 0x41efe7
xor eax, eax
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret
push edi
push esi
push ebp
push ebx
sub esp, 8
mov ebp, edx
mov esi, dword [eax + 0xc]
test esi, esi
je 0x41f07e
mov ebx, ebp
mov edi, ecx
xor edx, edx
test ecx, ecx
jle 0x41f06d
mov dword [esp + 4], ecx
lea ecx, [edx*8]
xor ecx, edx
movzx edx, byte [ebx]
movzx edx, byte [edx + 0x789b60]
xor edx, ecx
inc ebx
dec edi
test edi, edi
jg 0x41f04e
mov ecx, dword [esp + 4]
mov ebx, dword [eax]
mov eax, edx
xor edx, edx
div ebx
mov ebx, dword [esi + edx*8 + 4]
mov esi, dword [esi + edx*8]
jmp 0x41f084
mov ebx, dword [eax + 8]
mov esi, dword [eax + 4]
xor eax, eax
test esi, esi
setne al
dec esi
test eax, eax
je 0x41f11c
test ebx, ebx
je 0x41f11c
cmp ecx, dword [ebx + 0x10]
je 0x41f0a5
mov ebx, dword [ebx]
jmp 0x41f084
mov eax, dword [ebx + 0xc]
mov edi, ecx
mov edx, ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ecx, eax
jmp 0x41f0b9
inc ecx
inc edx
xor eax, eax
test edi, edi
setg al
dec edi
test eax, eax
je 0x41f111
movzx ebp, byte [ecx]
test ebp, ebp
je 0x41f111
movzx eax, byte [ebp + 0x789b60]
movzx ebp, byte [edx]
movzx ebp, byte [ebp + 0x789b60]
cmp eax, ebp
je 0x41f0b7
mov eax, ecx
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
test edi, edi
js 0x41f106
movzx edi, byte [eax]
movzx eax, byte [edi + 0x789b60]
movzx edi, byte [edx]
movzx edi, byte [edi + 0x789b60]
cmp edi, eax
jne 0x41f0a1
mov eax, dword [ebx + 8]
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ecx
mov ebp, dword [esp]
mov ecx, dword [esp + 4]
jmp 0x41f0ea
xor eax, eax
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret