Function at 0x43f820
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 8], 0x55565768
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43f87e
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 + 8]
add eax, 0xc6c61b9f
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43f850
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 8]
mov eax, dword [0x44ad40]
test eax, eax
je 0x43f8d7
xor ecx, ecx
mov edx, dword [0x44ad44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x148ef213
je 0x43f8b0
inc ecx
cmp eax, ecx
jne 0x43f8a0
jmp 0x43f8d7
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43f8d7
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edi
push 5
push dword [0x44ad48]
push eax
call fcn.0043cab0
add esp, 0x20
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x43fabd
push dword [esp + 0x10]
call fcn.0043a880
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 0x55565768
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 4
ja 0x43f940
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
add edx, 0xc6c61b9f
xor edx, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
add dl, 8
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 5
jb 0x43f910
mov ebx, dword [esp + 8]
mov edx, dword [0x44ad40]
test edx, edx
je 0x43f99e
mov esi, ebx
xor ebx, ebx
mov ebp, dword [0x44ad44]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x148ef213
je 0x43f973
inc ebx
cmp edx, ebx
jne 0x43f960
mov ebx, esi
jmp 0x43f99e
mov edx, dword [ebp + ebx*8 + 4]
mov ebx, esi
cmp edx, esi
je 0x43f99e
lea esi, [esp + 0x10]
push esi
push ecx
push eax
push 2
push edi
push 5
push dword [0x44ad48]
push edx
mov edi, eax
call fcn.0043cab0
add esp, 0x20
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x43fab4
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x43fa64
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fa5d
mov dword [esp + 0x18], ebx
mov ebx, dword [eax + 0x10]
shr ebx, 1
mov edx, dword [edx]
cmp edx, ebx
jb 0x43f9d3
mov edx, ebx
test edx, edx
je 0x43fa50
mov ebx, eax
add ebx, 0x2c
test dl, 1
jne 0x43f9e5
mov ebp, edx
jmp 0x43fa0d
mov ecx, edx
not ecx
lea ebp, [ecx + edx*2]
movzx ecx, word [ebx]
mov word [esp + 6], cx
xor ecx, ecx
cmp word [esp + 6], 0
setne cl
lea ebx, [ebx + ecx*2]
movzx ecx, word [esp + 6]
mov word [edi], cx
add edi, 2
cmp edx, 1
je 0x43fa50
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx]
xor edx, edx
test cx, cx
setne dl
lea esi, [ebx + edx*2]
mov word [edi], cx
movzx ecx, word [ebx + edx*2]
xor edx, edx
test cx, cx
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], cx
add edi, 4
add ebp, 0xfffffffe
jne 0x43fa20
mov esi, dword [esp + 0x3c]
mov word [edi], 0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
shr ecx, 1
mov dword [edx], ecx
mov edx, dword [esp + 0x40]
test esi, esi
je 0x43fa71
mov ecx, dword [eax + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
test edx, edx
je 0x43fa80
mov esi, dword [eax + 0x18]
shr esi, 1
mov dword [edx], esi
mov edx, dword [esp + 0x48]
test ecx, ecx
je 0x43fa8f
mov esi, dword [eax + 0x1c]
shr esi, 1
mov dword [ecx], esi
mov ecx, dword [esp + 0x4c]
test edx, edx
je 0x43fa9c
mov esi, dword [eax + 0x20]
mov dword [edx], esi
mov edx, dword [esp + 0x50]
test ecx, ecx
je 0x43faab
mov esi, dword [eax + 0x24]
shr esi, 1
mov dword [ecx], esi
test edx, edx
je 0x43fab4
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
push eax
call fcn.0043a960
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret