Function at 0x43e710
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x264
mov ebp, dword [0x4543ec]
mov edi, dword [0x4543e8]
mov eax, edi
or eax, ebp
jne 0x43e7b4
mov dword [esp + 0x34], 0xb11a8f62
mov dword [esp + 0x38], 0xb55eb354
mov dword [esp + 0x3c], 0xb998b758
mov dword [esp + 0x40], 0xbd56bb5c
mov dword [esp + 0x44], 0xa1bebf50
mov word [esp + 0x48], 0
mov byte [esp + 0x4a], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
and ecx, 0x1d
mov edx, eax
and edx, 2
xor edx, 0x23
sub ecx, edx
xor cl, byte [esp + eax + 0x34]
add cl, 0xaf
mov byte [esp + eax + 0x34], cl
inc eax
cmp eax, 0x17
jne 0x43e770
lea eax, [esp + 0x34]
push eax
call fcn.0043e380
add esp, 4
mov edi, eax
mov dword [0x4543ec], edx
mov dword [0x4543e8], eax
or eax, edx
je 0x43e88e
mov ebp, edx
lea eax, [esp + 0x134]
push 0x40
push eax
push ebp
push edi
call fcn.0043e1c0
add esp, 0x10
test eax, eax
js 0x43e88e
mov eax, dword [esp + 0x170]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebp
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x174]
push 0xf0
push edx
push ecx
push eax
call fcn.0043e1c0
add esp, 0x10
xor ebx, ebx
test eax, eax
js 0x43e890
cmp dword [esp + 0x1e8], 0
je 0x43e890
mov eax, dword [esp + 0x1e4]
mov esi, 0
test eax, eax
je 0x43e892
add eax, edi
mov ecx, ebp
adc ecx, 0
lea edx, [esp + 0xc]
push 0x28
push edx
push ecx
push eax
call fcn.0043e1c0
add esp, 0x10
test eax, eax
js 0x43e88e
mov ecx, dword [esp + 0x20]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43e857
mov eax, esi
push eax
call fcn.0040cc40
add esp, 4
mov edx, dword [esp + 0x28]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 8], eax
push eax
push ecx
push edx
call fcn.0043e1c0
add esp, 0x10
test eax, eax
js 0x43e8a1
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x43e8aa
mov eax, 0xffffffff
jmp 0x43e8ac
xor ebx, ebx
xor esi, esi
mov eax, ebx
mov edx, esi
add esp, 0x264
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
xor esi, esi
jmp 0x43e9a6
add eax, eax
push eax
call fcn.0040cc40
add esp, 4
mov esi, dword [esp + 0x24]
add esi, esi
mov ecx, dword [esp + 0x30]
add ecx, edi
mov edx, ebp
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.0043e1c0
add esp, 0x10
test eax, eax
js 0x43e997
mov ecx, dword [esp + 0x24]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43e8f8
mov eax, esi
push eax
call fcn.0040cc40
add esp, 4
mov edx, dword [esp + 0x2c]
add edx, edi
mov ecx, ebp
adc ecx, 0
push esi
mov dword [esp + 0xc], eax
push eax
push ecx
push edx
call fcn.0043e1c0
add esp, 0x10
test eax, eax
js 0x43e985
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp esi, eax
jb 0x43e92e
mov esi, eax
test esi, esi
je 0x43e985
xor ebx, ebx
jmp 0x43e956
push 0x36c0b43e
lea eax, [esp + 0x38]
push eax
call fcn.0043e9d0
add esp, 8
cmp eax, dword [esp + 0x278]
je 0x43e9b7
inc ebx
cmp esi, ebx
je 0x43e985
mov eax, dword [esp + 8]
mov eax, dword [eax + ebx*4]
add eax, edi
mov ecx, ebp
adc ecx, 0
push 0x100
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.0043e1c0
add esp, 0x10
test eax, eax
jns 0x43e936
cmp eax, 0x8000000d
jne 0x43e951
jmp 0x43e936
xor ebx, ebx
xor esi, esi
push dword [esp + 8]
call fcn.0040cc50
add esp, 4
jmp 0x43e99b
xor ebx, ebx
xor esi, esi
push dword [esp]
call fcn.0040cc50
add esp, 4
push dword [esp + 4]
call fcn.0040cc50
add esp, 4
jmp 0x43e892
mov eax, dword [esp]
movzx eax, word [eax + ebx*2]
mov ecx, dword [esp + 4]
add edi, dword [ecx + eax*4]
adc ebp, 0
mov ebx, edi
mov esi, ebp
jmp 0x43e989