Function at 0x43ec80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x280
mov ebx, dword [0x454044]
mov ebp, dword [0x454040]
mov eax, ebp
or eax, ebx
jne 0x43ed36
mov dword [esp + 0x50], 0xf37ef166
mov dword [esp + 0x54], 0xef7aed70
mov dword [esp + 0x58], 0xeb3ce97c
mov dword [esp + 0x5c], 0xe772e578
mov dword [esp + 0x60], 0xe3e2e174
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x50]
mov esi, eax
and esi, 0xc
mov ecx, eax
and ecx, 0x13
xor ecx, 0xd3
mov edi, eax
or edi, 0x8fb4262c
add edi, esi
sub ecx, esi
xor ecx, edi
and ecx, edx
xor ecx, edi
add ecx, 0x317b4123
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x50], cl
inc eax
cmp eax, 0x14
jne 0x43ecd0
lea eax, [esp + 0x50]
push eax
call fcn.0043e890
add esp, 4
mov ebp, eax
mov dword [0x454044], edx
mov dword [0x454040], eax
or eax, edx
je 0x43ee10
mov ebx, edx
lea eax, [esp + 0x150]
push 0x40
push eax
push ebx
push ebp
call fcn.0043e670
add esp, 0x10
test eax, eax
js 0x43ee10
mov eax, dword [esp + 0x18c]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x190]
push 0xf0
push edx
push ecx
push eax
call fcn.0043e670
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43ee12
cmp dword [esp + 0x204], 0
je 0x43ee12
mov eax, dword [esp + 0x200]
mov esi, 0
test eax, eax
je 0x43ee14
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x28]
push 0x28
push edx
push ecx
push eax
call fcn.0043e670
add esp, 0x10
test eax, eax
js 0x43ee10
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43edd9
mov eax, esi
push eax
call fcn.0040cf60
add esp, 4
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 8], eax
push eax
push ecx
push edx
call fcn.0043e670
add esp, 0x10
test eax, eax
js 0x43ee23
mov eax, dword [esp + 0x3c]
test eax, eax
jns 0x43ee2c
mov eax, 0xffffffff
jmp 0x43ee2e
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x280
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x43f066
add eax, eax
push eax
call fcn.0040cf60
add esp, 4
mov esi, dword [esp + 0x40]
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x4c]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.0043e670
add esp, 0x10
test eax, eax
js 0x43f057
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43ee90
mov eax, esi
push eax
call fcn.0040cf60
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.0043e670
add esp, 0x10
test eax, eax
js 0x43f045
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp esi, eax
jb 0x43eeca
mov esi, eax
test esi, esi
je 0x43f045
lea eax, [esp + 0x50]
mov ecx, eax
not ecx
mov dword [esp + 0x18], ecx
neg eax
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x43ef1b
mov ebp, 0x36c0b43e
cmp ebp, dword [esp + 0x294]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x43f077
inc edi
cmp edi, esi
je 0x43f045
mov eax, dword [esp + 8]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x54]
push edx
push ecx
push eax
call fcn.0043e670
add esp, 0x10
test eax, eax
jns 0x43ef48
cmp eax, 0x8000000d
jne 0x43ef12
xor eax, eax
nop
nop
nop
nop
nop
nop
cmp byte [esp + eax + 0x50], 0
lea eax, [eax + 1]
jne 0x43ef50
lea ecx, [esp + 0x4f]
lea edx, [ecx + eax]
mov ebp, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0xc], 0x22222093
lea eax, [esp + 0x10]
mov byte [eax + 2], 0
mov word [eax], 0
xor eax, eax
mov ecx, 0x87
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0x81
mov ebx, eax
and ebx, 6
or ebx, esi
xor bl, byte [esp + eax + 0xc]
xor bl, 0xf9
add bl, 0xa8
mov byte [esp + eax + 0xc], bl
inc eax
dec ecx
cmp eax, 7
jne 0x43ef90
lea ebx, [esp + 0x50]
and ebp, ebx
and edx, dword [esp + 0x18]
mov eax, edx
sub eax, ebp
je 0x43eef4
mov ecx, dword [esp + 0xc]
sub ebp, edx
mov esi, 0x36c0b43e
mov edx, ebx
cmp ebp, 0xfffffffc
ja 0x43f01b
mov ebp, eax
and ebp, 0xfffffffc
lea edx, [esp + 0x50]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebx, byte [edx]
xor ebx, esi
imul ebx, ecx
movsx esi, byte [edx + 1]
xor esi, ebx
imul esi, ecx
movsx ebx, byte [edx + 2]
xor ebx, esi
imul ebx, ecx
movsx esi, byte [edx + 3]
add edx, 4
xor esi, ebx
imul esi, ecx
add ebp, 0xfffffffc
jne 0x43eff0
mov ebp, esi
and eax, 3
je 0x43eef9
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebp, byte [edx + ebx]
xor ebp, esi
imul ebp, ecx
inc ebx
mov esi, ebp
cmp eax, ebx
jne 0x43f030
jmp 0x43eef9
xor edi, edi
xor esi, esi
push dword [esp + 8]
call fcn.0040cf70
add esp, 4
jmp 0x43f05b
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040cf70
add esp, 4
push dword [esp + 4]
call fcn.0040cf70
add esp, 4
jmp 0x43ee14
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 4]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x43f049