Function at 0x43d5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x452e3c]
mov ebp, dword [0x452e38]
mov eax, ebp
or eax, ebx
jne 0x43d657
mov dword [esp + 0x54], 0x9f6a996a
mov dword [esp + 0x58], 0xa34e9d78
mov dword [esp + 0x5c], 0xa794a14c
mov dword [esp + 0x60], 0xab46a540
mov dword [esp + 0x64], 0xafaea944
mov word [esp + 0x68], 0
mov byte [esp + 0x6a], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 0x34
mov edx, ecx
xor edx, 0xda
add edx, esi
xor dl, byte [esp + ecx + 0x54]
add dl, 0xbe
mov byte [esp + ecx + 0x54], dl
inc ecx
add eax, 2
cmp ecx, 0x17
jne 0x43d610
lea eax, [esp + 0x54]
push eax
call fcn.0043d240
add esp, 4
mov ebp, eax
mov dword [0x452e3c], edx
mov dword [0x452e38], eax
or eax, edx
je 0x43d751
mov ebx, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebx
push ebp
call fcn.0043d060
add esp, 0x10
test eax, eax
js 0x43d751
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.0043d060
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43d753
cmp dword [esp + 0x208], 0
je 0x43d753
mov eax, dword [esp + 0x204]
mov esi, 0
test eax, eax
je 0x43d755
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.0043d060
add esp, 0x10
test eax, eax
js 0x43d751
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43d700
lea eax, [esi*4]
push eax
call fcn.0040c860
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x48]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], edx
push edx
push ecx
push eax
call fcn.0043d060
add esp, 0x10
test eax, eax
js 0x43d764
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x43d76d
mov eax, 0xffffffff
jmp 0x43d76f
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 0x43da0f
add eax, eax
push eax
call fcn.0040c860
add esp, 4
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov edx, ecx
and edx, 0xfffffffd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
add ecx, esi
mov esi, ebp
and esi, edi
mov edx, esi
shr edx, 0x1f
add esi, esi
xor edi, ebp
add edi, esi
adc edx, ebx
push ecx
mov dword [esp + 4], eax
push eax
push edx
push edi
call fcn.0043d060
add esp, 0x10
test eax, eax
js 0x43da00
mov esi, dword [esp + 0x44]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43d7d9
lea eax, [esi*4]
push eax
call fcn.0040c860
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x4c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], edx
push edx
push ecx
push eax
call fcn.0043d060
add esp, 0x10
test eax, eax
js 0x43d9ee
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x43d82d
mov esi, eax
test esi, esi
je 0x43d9ee
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 4], esi
jmp 0x43d870
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 0x43da20
inc edi
cmp edi, esi
je 0x43d9ee
mov eax, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
mov edx, ebp
and edx, eax
mov ecx, edx
shr ecx, 0x1f
add edx, edx
xor eax, ebp
add eax, edx
adc ecx, ebx
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.0043d060
add esp, 0x10
test eax, eax
jns 0x43d8a7
cmp eax, 0x8000000d
jne 0x43d867
mov dword [esp + 0xc], edi
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
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 0x43d8c0
mov dword [esp + 0x18], 0x2e2a2cb1
lea edx, [esp + 0x1c]
mov byte [edx + 2], 0
mov word [edx], 0
mov edx, 0x77eccf78
mov esi, 0x13087
nop
nop
movzx ebx, byte [esp + esi - 0x1306f]
mov ebp, esi
and ebp, 0x1200e
mov edi, edx
and edi, 0x61e80321
or edi, ebp
lea ebp, [edx - 0x77eccf00]
and ebp, ebx
xor edi, ebx
xor edi, 0x69fa13a1
or edi, ebp
mov ebx, edi
and ebx, 1
xor edi, 1
lea ebx, [edi + ebx*2]
add bl, 0x5c
mov byte [esp + esi - 0x1306f], bl
dec edx
inc esi
cmp edx, 0x77eccf71
jne 0x43d8f0
test eax, eax
je 0x43d845
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 0x43d9b7
and ecx, 0xfffffffe
lea eax, [esp + 0x54]
nop
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 0x43d970
test byte [esp + 0x28], 1
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
je 0x43d852
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 0x43d852
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040c870
add esp, 4
jmp 0x43da04
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040c870
add esp, 4
push dword [esp + 8]
call fcn.0040c870
add esp, 4
jmp 0x43d755
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 0x43d9f2