Function at 0x43f040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x43f062
cmp eax, 2
je 0x43f0db
jmp 0x43f200
push 0xf8eb88df
push dword [0x450b0c]
call fcn.00443d50
add esp, 8
test eax, eax
je 0x43f09f
mov ecx, dword [esi]
test ecx, ecx
je 0x43f0cf
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43f0ab
cmp dword [esp], 0
je 0x43f0ab
mov dword [esi + 4], 3
jmp 0x43f0cf
mov dword [esi + 4], 1
jmp 0x43f200
lea eax, [esp + 0x48]
push eax
call fcn.00444680
add esp, 4
test al, al
je 0x43f0cf
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x43f0cc
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43f200
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x5abf5dba
mov dword [esp + 4], 0xa94b5ba9
mov dword [esp + 8], 0x52525759
mov dword [esp + 0xc], 0x9e8759a5
mov dword [esp + 0x10], 0x76686a65
mov byte [esp + 0x14], 0xfc
mov dword [esp + 0x15], 0
mov word [esp + 0x19], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
xor ecx, 0x13e1d5ad
mov edx, eax
or edx, 0x12
and edx, ecx
add edx, edx
mov ecx, eax
xor ecx, 0x6c1e2a52
mov ebx, edx
and ebx, ecx
xor ecx, edx
lea ecx, [ecx + ebx*2]
xor cl, byte [esp + eax]
add cl, 0x66
mov byte [esp + eax], cl
inc eax
cmp eax, 0x1b
jne 0x43f120
mov ebx, esp
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.004432d0
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x48]
push 6
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004433a0
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x43f2a0
mov edi, dword [esi]
mov dword [esp], 0xe0e7e6e5
mov byte [esp + 4], 0
mov eax, 0x33dd2a9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x33dd2a9]
lea edx, [eax - 0x33dd200]
and edx, ecx
or ecx, eax
xor ecx, edx
mov edx, ecx
and edx, 0x32
xor ecx, 0xb2
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x33dd2a9], cl
inc eax
cmp eax, 0x33dd2ae
jne 0x43f220
mov eax, dword [esp]
mov ecx, dword [0x450b18]
test ecx, ecx
je 0x43f27e
xor edx, edx
mov esi, dword [0x450b1c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x7b3afdab
je 0x43f2aa
inc edx
cmp ecx, edx
jne 0x43f270
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x3c], edi
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43f27e
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0x450b20]
push ecx
call fcn.00441600
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x43f27e