Function at 0x43aff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x7c]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0x989b9a9d
mov byte [esp + 0x40], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x3c]
mov edx, eax
xor edx, 0xdfbb49e4
mov esi, eax
or esi, 3
and esi, edx
mov edx, eax
and edx, 4
xor edx, 0xe4
mov ebx, eax
or ebx, 0x1b
add ebx, esi
sub edx, esi
xor ebx, edx
and ebx, ecx
xor ebx, edx
mov cl, pe_nt_image_headers32
sub cl, bl
mov byte [esp + eax + 0x3c], cl
inc eax
cmp eax, 5
jne 0x43b040
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x44ce64]
test ecx, ecx
je 0x43b0de
xor edx, edx
mov esi, dword [0x44ce68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43b0b0
inc edx
cmp ecx, edx
jne 0x43b0a0
jmp 0x43b0de
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b0de
lea eax, [esp + 0x20]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x24
test eax, eax
js 0x43b7ca
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp], 0x17171918
mov word [esp + 4], 0
mov eax, 0x3dd10bc6
mov ecx, 0x422ef439
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x3dd10bc6]
mov esi, ecx
and esi, 0x422e600a
mov edi, eax
and edi, 0xc810285
or edi, esi
xor edi, edx
xor edi, 0x737e694a
lea esi, [eax - 0x3dd10b00]
and esi, edx
or esi, edi
and edx, eax
mov edi, esi
not edi
and edi, edx
not edx
and edx, esi
sub edx, edi
mov ebx, edx
or ebx, 0x21
add ebx, edx
not edx
or edx, 0x21
add ebx, edx
add bl, 2
mov byte [esp + eax - 0x3dd10bc6], bl
inc eax
dec ecx
cmp eax, 0x3dd10bcc
jne 0x43b140
mov eax, dword [esp]
mov dword [esp + 0x18], eax
cmp eax, 0x7ffffffe
ja 0x43b72e
mov dword [esp + 0x14], 0
xor edi, edi
xor ebx, ebx
jmp 0x43b1d7
mov ebx, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp eax, 0x7fffffff
jae 0x43b72e
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov dword [esp], 0x989b9a9d
mov byte [esp + 4], 0
xor eax, eax
nop
movzx edx, byte [esp + eax]
mov esi, eax
xor esi, 0xdfbb49e4
mov ebp, eax
or ebp, 3
and ebp, esi
mov esi, eax
and esi, 4
xor esi, 0xe4
mov ebx, eax
or ebx, 0x1b
add ebx, ebp
sub esi, ebp
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dl, pe_nt_image_headers32
sub dl, bl
mov byte [esp + eax], dl
inc eax
cmp eax, 5
jne 0x43b1f0
mov eax, dword [esp]
mov edx, dword [0x44ce64]
test edx, edx
je 0x43b280
xor esi, esi
mov ebx, dword [0x44ce68]
nop
cmp dword [ebx + esi*8], 0xc18bc4ba
je 0x43b250
inc esi
cmp edx, esi
jne 0x43b240
jmp 0x43b280
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43b280
push 0
push 0x1c
lea eax, [esp + 0x44]
push eax
push 0
push dword [esp + 0x28]
push ecx
push 0x18
push edx
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
mov ebx, dword [esp + 0x1c]
ja 0x43b72e
test eax, eax
js 0x43b1c0
cmp dword [esp + 0x4c], 0x1000
jne 0x43b1c0
test byte [esp + 0x50], 0x66
je 0x43b1c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x43b41a
mov dword [esp], 0x989b9a9d
mov byte [esp + 4], 0
xor ecx, ecx
nop
nop
movzx edx, byte [esp + ecx]
mov esi, ecx
xor esi, 0xdfbb49e4
mov ebp, ecx
or ebp, 3
and ebp, esi
mov esi, ecx
and esi, 4
xor esi, 0xe4
mov ebx, ecx
or ebx, 0x1b
add ebx, ebp
sub esi, ebp
xor ebx, esi
and ebx, edx
xor ebx, esi
mov dl, pe_nt_image_headers32
sub dl, bl
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 5
jne 0x43b2d0
mov ecx, dword [0x44ce64]
test ecx, ecx
je 0x43b35e
mov edx, dword [esp]
xor esi, esi
mov ebx, dword [0x44ce68]
nop
cmp dword [ebx + esi*8], 0x6dbc3610
je 0x43b330
inc esi
cmp ecx, esi
jne 0x43b320
jmp 0x43b35e
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
je 0x43b35e
push 0x8000
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x1c
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp], 0x989b9a9d
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
xor edx, 0xdfbb49e4
mov esi, eax
or esi, 3
and esi, edx
mov edx, eax
and edx, 4
xor edx, 0xe4
mov ebx, eax
or ebx, 0x1b
add ebx, esi
sub edx, esi
xor ebx, edx
and ebx, ecx
xor ebx, edx
mov cl, pe_nt_image_headers32
sub cl, bl
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43b380
mov eax, dword [esp]
mov ecx, dword [0x44ce64]
test ecx, ecx
je 0x43b40e
xor edx, edx
mov esi, dword [0x44ce68]
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43b3e0
inc edx
cmp ecx, edx
jne 0x43b3d0
jmp 0x43b40e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b40e
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x24
test eax, eax
js 0x43b72e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp], 0x989b9a9d
mov byte [esp + 4], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx]
mov eax, edx
xor eax, 0xdfbb49e4
mov esi, edx
or esi, 3
and esi, eax
mov ebp, edx
and ebp, 4
xor ebp, 0xe4
mov eax, edx
or eax, 0x1b
add eax, esi
sub ebp, esi
xor eax, ebp
and eax, ebx
xor eax, ebp
mov bl, pe_nt_image_headers32
sub bl, al
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0x43b440
mov eax, dword [esp]
mov ebx, dword [0x44ce64]
test ebx, ebx
je 0x43b4d0
xor edx, edx
mov ebp, dword [0x44ce68]
nop
nop
cmp dword [ebp + edx*8], 0xe6c7f7c6
je 0x43b4a1
inc edx
cmp ebx, edx
jne 0x43b490
jmp 0x43b4d0
mov ebx, dword [ebp + edx*8 + 4]
cmp ebx, eax
je 0x43b4d0
lea eax, [esp + 0x64]
push eax
push ecx
push dword [esp + 0x30]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push 0x14
push ebx
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x20
nop
nop
nop
nop
test eax, eax
jns 0x43b4df
cmp eax, 0x8000000d
jne 0x43b1bb
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x70]
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.0043b7e0
add esp, 0x18
mov esi, dword [esp]
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
cmp esi, eax
mov ebx, dword [esp + 0x1c]
je 0x43b719
mov dword [esp + 0x58], esi
mov ebp, dword [esp + 0x18]
jmp 0x43b565
mov esi, ebp
mov edx, ebx
mov ecx, eax
not eax
mov ebx, dword [esp + 0x28]
and eax, ebx
not ebx
and ebx, ecx
mov ebp, esi
sub esi, eax
add esi, ebx
mov eax, dword [esp + 0xc]
mov dword [edi + eax], esi
add edx, 4
mov esi, dword [esp + 0x60]
add esi, 4
cmp esi, dword [esp + 0x34]
mov ebx, edx
je 0x43b6de
mov dword [esp + 0x60], esi
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, edi
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], edx
jne 0x43b530
mov dword [esp + 0x5c], eax
mov edx, ecx
sar edx, 2
lea eax, [edx + 1]
mov ecx, edx
shr ecx, 1
add ecx, edx
cmp ecx, eax
ja 0x43b599
mov ecx, eax
mov eax, ecx
and eax, 0xfffffffb
mov ebp, ecx
and ebp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
or edx, 4
imul edx, ebp
xor ebp, 4
imul ebp, eax
add edx, ebp
push edx
call fcn.00408730
add esp, 4
mov ecx, eax
test edi, edi
je 0x43b6be
cmp ecx, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ecx
jbe 0x43b66b
cmp ebx, ecx
jbe 0x43b66b
cmp dword [esp + 0xc], 0
je 0x43b6ae
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
add eax, edx
dec eax
mov ecx, dword [esp + 0x30]
add ecx, edx
dec ecx
mov edi, edx
and edi, 3
je 0x43b628
mov dword [esp + 0x1c], ebx
neg edi
xor edx, edx
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43b610
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
sub edi, ebx
cmp edi, 0xfffffffc
ja 0x43b6ae
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
add edi, 0xfffffffc
cmp edx, edi
jne 0x43b640
jmp 0x43b6ae
mov edx, dword [esp + 0xc]
mov ebx, ecx
mov ecx, edx
shr ecx, 2
mov eax, edi
mov esi, edi
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
mov ecx, edx
shr ecx, 1
and ecx, 1
add esi, eax
add eax, ebx
mov ebx, esi
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test dl, 1
je 0x43b6ae
mov ecx, dword [esp + 0xc]
and ecx, 2
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
push dword [esp + 0x24]
call fcn.00408740
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
mov edx, ecx
add edx, dword [esp + 0xc]
mov edi, ecx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
jmp 0x43b534
mov eax, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov dword [eax], edi
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x43b1c0
cmp eax, dword [esp + 0x34]
je 0x43b1c0
push eax
call fcn.00408740
add esp, 4
mov dword [esp], 0
jmp 0x43b1c0
mov eax, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov dword [eax], edi
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
jmp 0x43b1c0
mov dword [esp], 0x989b9a9d
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
xor edx, 0xdfbb49e4
mov esi, eax
or esi, 3
and esi, edx
mov edx, eax
and edx, 4
xor edx, 0xe4
mov ebx, eax
or ebx, 0x1b
add ebx, esi
sub edx, esi
xor ebx, edx
and ebx, ecx
xor ebx, edx
mov cl, pe_nt_image_headers32
sub cl, bl
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43b740
mov eax, dword [0x44ce64]
test eax, eax
je 0x43b7ca
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x44ce68]
nop
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43b7a0
inc edx
cmp eax, edx
jne 0x43b790
jmp 0x43b7ca
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43b7ca
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44ce6c]
call fcn.0043d480
add esp, 0x1c
mov eax, dword [esp + 0x7c]
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 0x10