Function at 0x43ed40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x454fc4]
mov ebp, dword [0x454fc0]
mov eax, ebp
or eax, ebx
jne 0x43edff
mov dword [esp + 0x54], 0x61ea67f2
mov dword [esp + 0x58], 0x5df663fc
mov dword [esp + 0x5c], 0x59885fc8
mov dword [esp + 0x60], 0x55ce5bc4
mov dword [esp + 0x64], 0x515657c0
mov byte [esp + 0x68], 0
mov eax, 0x4e191e19
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4e191dc5]
mov edx, eax
and edx, ecx
add ecx, eax
add edx, edx
mov esi, ecx
sub esi, edx
mov edx, esi
not edx
and edx, 0x7e
and esi, 0x81
sub esi, edx
and ecx, 1
xor esi, 1
lea ecx, [esi + ecx*2]
mov byte [esp + eax - 0x4e191dc5], cl
inc eax
cmp eax, 0x4e191e2e
jne 0x43eda0
lea eax, [esp + 0x54]
push eax
call fcn.0043e980
add esp, 4
mov ebp, eax
mov dword [0x454fc4], edx
mov dword [0x454fc0], eax
or eax, edx
je 0x43eed9
mov ebx, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebx
push ebp
call fcn.0043e6e0
add esp, 0x10
test eax, eax
js 0x43eed9
mov eax, dword [esp + 0x190]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x194]
push 0xf0
push edx
push ecx
push eax
call fcn.0043e6e0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43eedb
cmp dword [esp + 0x208], 0
je 0x43eedb
mov eax, dword [esp + 0x204]
mov esi, 0
test eax, eax
je 0x43eedd
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.0043e6e0
add esp, 0x10
test eax, eax
js 0x43eed9
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43eea2
mov eax, esi
push eax
call fcn.0040ced0
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.0043e6e0
add esp, 0x10
test eax, eax
js 0x43eeec
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x43eef5
mov eax, 0xffffffff
jmp 0x43eef7
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x43f14f
add eax, eax
push eax
call fcn.0040ced0
add esp, 4
mov esi, dword [esp + 0x50]
add esi, ebp
mov ecx, ebx
adc ecx, 0
mov edx, dword [esp + 0x44]
add edx, edx
push edx
mov dword [esp + 4], eax
push eax
push ecx
push esi
call fcn.0043e6e0
add esp, 0x10
test eax, eax
js 0x43f140
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43ef43
mov eax, esi
push eax
call fcn.0040ced0
add esp, 4
mov edx, dword [esp + 0x4c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.0043e6e0
add esp, 0x10
test eax, eax
js 0x43f12e
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x43ef7d
mov esi, eax
test esi, esi
je 0x43f12e
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 4], esi
jmp 0x43efc0
mov ebp, 0x36c0b43e
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
cmp ebp, dword [esp + 0x298]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x43f160
inc edi
cmp edi, esi
je 0x43f12e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.0043e6e0
add esp, 0x10
test eax, eax
jns 0x43efed
cmp eax, 0x8000000d
jne 0x43efb7
mov dword [esp + 0xc], edi
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x55], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x43f000
mov dword [esp + 0x18], 0xfefef84f
mov dword [esp + 0x1c], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx + 0x18]
lea esi, [edx + 0x528634aa]
xor esi, edi
lea edi, [esi + 0x2d]
mov ebx, 0x52
sub ebx, esi
not esi
and esi, 1
and ebx, 0xaf
and edi, 0x50
or edi, ebx
xor edi, 0xae
lea ebx, [edi + esi*2]
mov byte [esp + edx + 0x18], bl
lea esi, [edx + edx]
and esi, 2
mov edi, esi
and edi, edx
or esi, edx
xor esi, 1
add esi, edi
mov edx, esi
cmp esi, 8
jb 0x43f030
test eax, eax
je 0x43ef95
mov edx, dword [esp + 0x18]
mov esi, edx
not esi
mov dword [esp + 0x14], esi
mov ebp, 0x36c0b43e
lea ebx, [esp + 0x54]
mov esi, eax
mov eax, ebx
mov dword [esp + 0x28], esi
cmp esi, 1
je 0x43f0f7
and ecx, 0xfffffffe
lea eax, [esp + 0x54]
nop
nop
nop
movsx edi, byte [eax]
xor edi, ebp
mov ebp, edi
not ebp
and ebp, edx
mov esi, edi
mov ebx, dword [esp + 0x14]
and esi, ebx
imul esi, ebp
mov ebp, edi
and ebp, edx
or edi, edx
imul edi, ebp
add edi, esi
movsx ebp, byte [eax + 1]
add eax, 2
xor ebp, edi
mov esi, ebp
not esi
and esi, edx
mov edi, ebp
and edi, ebx
imul edi, esi
mov esi, ebp
and esi, edx
or ebp, edx
imul ebp, esi
add ebp, edi
add ecx, 0xfffffffe
jne 0x43f0b0
test byte [esp + 0x28], 1
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
je 0x43efa2
movsx eax, byte [eax]
xor ebp, eax
mov eax, ebp
not eax
and eax, edx
mov ecx, dword [esp + 0x14]
and ecx, ebp
imul ecx, eax
mov eax, ebp
and eax, edx
or ebp, edx
imul ebp, eax
add ebp, ecx
jmp 0x43efa2
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040cee0
add esp, 4
jmp 0x43f144
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040cee0
add esp, 4
push dword [esp + 8]
call fcn.0040cee0
add esp, 4
jmp 0x43eedd
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x43f132