Function at 0x43e780
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 0x43e7a2
cmp eax, 2
je 0x43e81b
jmp 0x43e93a
push 0xbbf966b4
push dword [0x4504cc]
call fcn.004433b0
add esp, 8
test eax, eax
je 0x43e7df
mov ecx, dword [esi]
test ecx, ecx
je 0x43e80f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43e7eb
cmp dword [esp], 0
je 0x43e7eb
mov dword [esi + 4], 3
jmp 0x43e80f
mov dword [esi + 4], 1
jmp 0x43e93a
lea eax, [esp + 0x48]
push eax
call fcn.00443bb0
add esp, 4
test al, al
je 0x43e80f
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x43e80c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43e93a
mov edi, dword [ebp + 0xc]
mov dword [esp], 0xdeb5dbb2
mov dword [esp + 4], 0xb3d9d1af
mov dword [esp + 8], 0xd6d2dda7
mov dword [esp + 0xc], 0x9abddfab
mov dword [esp + 0x10], 0xeae4e6e3
mov byte [esp + 0x14], 0x70
mov dword [esp + 0x15], 0
mov word [esp + 0x19], 0
mov eax, 0x11
mov ecx, 0xee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x11]
mov edx, ecx
xor edx, eax
and edx, ebx
xor edx, eax
add dl, 0xab
mov byte [esp + eax - 0x11], dl
inc eax
dec ecx
cmp eax, 0x2c
jne 0x43e870
mov ebx, esp
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00442780
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.00442850
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 0x43ea10
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp], 0x34353a3b
mov eax, 0x9a22fb6
mov edx, 0x65dd049
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x9a22fb6]
mov edi, edx
and edi, 0x608904b
mov ecx, eax
and ecx, 0x8000084
or ecx, edi
xor ecx, esi
xor ecx, 0x28554084
mov edi, 0xbfd51170
sub edi, ecx
mov esi, edi
add ecx, 0x402aee8f
mov ebx, ecx
and ecx, 0x1e
and edi, 0xe1
or edi, ecx
not ebx
xor edi, 0x1f
and ebx, 1
or ebx, edi
and esi, 1
add ebx, esi
mov byte [esp + eax - 0x9a22fb6], bl
inc eax
dec edx
cmp eax, 0x9a22fba
jne 0x43e960
mov eax, dword [esp]
mov ecx, dword [0x4504d8]
test ecx, ecx
je 0x43e9ee
xor edx, edx
mov esi, dword [0x4504dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43ea1a
inc edx
cmp ecx, edx
jne 0x43e9e0
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 ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e9ee
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0x4504e0]
push ecx
call fcn.00440d90
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x43e9ee