Function at 0x43f7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43f7e0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
add ecx, 2
mov word [esp + 0x1a], cx
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x2050407
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43f85e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xb8c4b231
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc9
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43f830
mov ebx, dword [esp + 4]
mov eax, dword [0x449d34]
test eax, eax
je 0x43f8bf
xor ecx, ecx
mov edx, dword [0x449d38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xf81c0144
je 0x43f890
inc ecx
cmp eax, ecx
jne 0x43f880
jmp 0x43f8bf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43f8bf
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 6
push dword [0x449d3c]
push eax
call fcn.0043c4a0
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0x5f9e9dbf
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43f91e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xe5ccfd80
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe4
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43f8f0
cmp ebx, dword [esp + 4]
jne 0x43fa94
push dword [esp + 0x14]
call fcn.0043a080
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x2050407
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43f98e
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0xb8c4b231
xor eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc9
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43f960
mov ebx, dword [esp + 4]
mov eax, dword [0x449d34]
test eax, eax
je 0x43f9fe
mov edi, ebp
xor edx, edx
mov ebp, dword [0x449d38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0xf81c0144
je 0x43f9c7
inc edx
cmp eax, edx
jne 0x43f9b0
mov ebp, edi
mov edi, dword [esp + 0x40]
jmp 0x43f9fe
mov edx, dword [ebp + edx*8 + 4]
cmp edx, ebx
mov ebp, edi
mov edi, dword [esp + 0x40]
je 0x43f9fe
lea eax, [esp + 0x14]
lea ebx, [esp + 0x18]
push eax
push ecx
mov eax, dword [esp + 0x14]
push eax
push 2
push ebx
push dword [esp + 0x4c]
push 6
push dword [0x449d3c]
push edx
call fcn.0043c4a0
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x43fa88
test edi, edi
je 0x43fa13
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov dword [edi], eax
test ebp, ebp
je 0x43fa88
test esi, esi
je 0x43fa7e
mov eax, dword [ebp]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x43fa2b
mov eax, ecx
mov ebp, dword [esp + 0xc]
lea edx, [ebp + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add esi, ecx
add ebp, ecx
add ebp, 0xc
mov ecx, eax
xor ecx, 0xfffffffc
mov edx, eax
or edx, 3
and edx, ecx
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x20], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ebp, dword [esp + 0x48]
je 0x43fa7e
and edx, 0xfffffffe
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edx]
mov byte [esi + edx], al
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp], eax
push dword [esp + 0xc]
call fcn.0043a100
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret