Function at 0x438e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ebp, ecx
mov eax, dword [esp + 0x74]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], 0x898a8b8c
mov eax, 0x7260b95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7260b923]
xor ecx, eax
mov edx, ecx
not edx
and edx, 0xd9
and ecx, 0x26
sub ecx, edx
inc cl
mov byte [esp + eax - 0x7260b923], cl
inc eax
cmp eax, 0x7260b95f
jne 0x438ed0
mov eax, dword [esp + 0x38]
mov ecx, dword [0x448334]
test ecx, ecx
je 0x438f4e
xor edx, edx
mov esi, dword [0x448338]
cmp dword [esi + edx*8], 0xa8f779e4
je 0x438f20
inc edx
cmp ecx, edx
jne 0x438f10
jmp 0x438f4e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x438f4e
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 [0x44833c]
call fcn.0043a070
add esp, 0x24
test eax, eax
js 0x43961a
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 + 0x38], 0
mov dword [esp], 0x79797776
mov eax, 0xe77ada46
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x188525ba]
xor ecx, eax
add ecx, 0xc4292dcf
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 0x188525ba], cl
inc eax
cmp eax, 0xe77ada4a
jne 0x438fa0
mov edi, dword [esp]
cmp edi, 0x7ffffffe
ja 0x439586
mov dword [esp + 0x18], 0
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], ebp
jmp 0x43901d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x44]
add edi, dword [esp + 0x38]
cmp edi, 0x7fffffff
jae 0x439586
mov ecx, dword [ebp]
mov dword [esp], 0x898a8b8c
mov eax, 0x7260b95b
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x7260b95b]
xor edx, eax
mov esi, edx
not esi
and esi, 0xd9
and edx, 0x26
sub edx, esi
inc dl
mov byte [esp + eax - 0x7260b95b], dl
inc eax
cmp eax, 0x7260b95f
jne 0x439030
mov eax, dword [esp]
mov edx, dword [0x448334]
test edx, edx
mov dword [esp + 0x2c], edi
je 0x4390c0
xor esi, esi
mov edi, dword [0x448338]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xe095b21b
je 0x439090
inc esi
cmp edx, esi
jne 0x439080
jmp 0x4390c0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov esi, dword [esp + 0x2c]
je 0x4390c0
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push esi
push ecx
push 0x18
push edx
push dword [0x44833c]
call fcn.0043a070
add esp, 0x24
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x439586
test eax, eax
js 0x439009
cmp dword [esp + 0x48], 0x1000
jne 0x439009
test byte [esp + 0x4c], 0x66
je 0x439009
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x43923a
mov dword [esp], 0x898a8b8c
mov ecx, 0x7260b95b
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x7260b95b]
xor edx, ecx
mov esi, edx
not esi
and esi, 0xd9
and edx, 0x26
sub edx, esi
inc dl
mov byte [esp + ecx - 0x7260b95b], dl
inc ecx
cmp ecx, 0x7260b95f
jne 0x439110
mov ecx, dword [0x448334]
test ecx, ecx
je 0x43918e
mov edx, dword [esp]
xor esi, esi
mov edi, dword [0x448338]
cmp dword [edi + esi*8], 0x6a2d3ea3
je 0x439160
inc esi
cmp ecx, esi
jne 0x439150
jmp 0x43918e
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, edx
je 0x43918e
push 0x8000
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44833c]
call fcn.0043a070
add esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp], 0x898a8b8c
mov eax, 0x7260b95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7260b95b]
xor ecx, eax
mov edx, ecx
not edx
and edx, 0xd9
and ecx, 0x26
sub ecx, edx
inc cl
mov byte [esp + eax - 0x7260b95b], cl
inc eax
cmp eax, 0x7260b95f
jne 0x4391b0
mov eax, dword [esp]
mov ecx, dword [0x448334]
test ecx, ecx
je 0x43922e
xor edx, edx
mov esi, dword [0x448338]
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x439200
inc edx
cmp ecx, edx
jne 0x4391f0
jmp 0x43922e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43922e
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 [0x44833c]
call fcn.0043a070
add esp, 0x24
test eax, eax
js 0x439586
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x10]
mov edx, dword [ebp]
mov dword [esp], 0x898a8b8c
mov eax, 0x7260b95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x7260b95b]
xor ebx, eax
mov edi, ebx
not edi
and edi, 0xd9
and ebx, 0x26
sub ebx, edi
inc bl
mov byte [esp + eax - 0x7260b95b], bl
inc eax
cmp eax, 0x7260b95f
jne 0x439260
mov eax, dword [esp]
mov ebx, dword [0x448334]
test ebx, ebx
je 0x4392e0
xor edi, edi
mov ebp, dword [0x448338]
nop
cmp dword [ebp + edi*8], 0xa99f3325
je 0x4392b5
inc edi
cmp ebx, edi
jne 0x4392a0
mov ebp, dword [esp + 0x24]
jmp 0x4392e0
mov ebx, dword [ebp + edi*8 + 4]
cmp ebx, eax
mov ebp, dword [esp + 0x24]
je 0x4392e0
lea eax, [esp + 0x5c]
push eax
push ecx
push esi
push dword [esp + 0x38]
push edx
push 0x14
push ebx
push dword [0x44833c]
call fcn.0043a070
add esp, 0x20
nop
nop
test eax, eax
jns 0x439317
mov dword [esp], 0x8b7b6a8
xor ecx, ecx
xor edx, edx
nop
mov esi, ecx
and esi, 2
mov ebx, edx
xor ebx, 0x5d
add ebx, esi
xor bl, byte [esp + edx]
add bl, 0x18
mov byte [esp + edx], bl
inc edx
add ecx, 2
cmp edx, 4
jne 0x4392f0
cmp eax, dword [esp]
jne 0x439570
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x68]
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.00439630
add esp, 0x18
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
cmp eax, ecx
mov ebx, dword [esp + 0x14]
je 0x438ff1
mov dword [esp + 0x54], eax
mov ebp, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
jmp 0x439389
mov edi, esi
mov esi, dword [esp + 0x18]
mov dword [edi + ebx], esi
add ecx, 4
add ebp, 4
cmp ebp, eax
mov ebx, edi
je 0x439531
mov esi, dword [ebp]
add esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov edi, ebx
mov ebx, ecx
mov esi, edi
sub ebx, edi
cmp ecx, edx
jne 0x439370
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ebx
mov ecx, ebx
sar ecx, 2
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x4393c0
mov ebx, eax
mov eax, ebx
and eax, 4
mov ecx, ebx
or ecx, 4
imul ecx, eax
xor eax, 4
mov edx, ebx
and edx, 0xfffffffb
imul edx, eax
add ecx, edx
push ecx
call fcn.00407fb0
add esp, 4
mov edi, esi
test esi, esi
mov esi, dword [esp + 0x18]
je 0x43951b
mov dword [esp + 0x58], ebx
cmp eax, edi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], eax
jbe 0x4394bf
cmp ecx, eax
jbe 0x4394bf
cmp dword [esp + 0x1c], 0
je 0x439507
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [ebx + edx]
dec eax
mov ecx, dword [esp + 0x30]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x439458
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x439440
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edi, ebx
sub edi, dword [esp + 0xc]
cmp edi, 0xfffffff8
ja 0x439507
neg edx
xor edi, edi
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
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x439470
jmp 0x439507
mov edx, edi
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
shr ecx, 2
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, dword [esp + 0x14]
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov dword [esp + 0xc], edi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x439507
mov eax, dword [esp + 0x1c]
and eax, 2
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0xc]
mov byte [edx + eax], cl
push dword [esp + 0x14]
call fcn.00407fc0
add esp, 4
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
mov edi, eax
lea edx, [eax + ebx*4]
mov ecx, eax
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov eax, dword [esp + 0x28]
jmp 0x439376
mov eax, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x54]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x43957d
mov dword [esp + 0xc], ecx
cmp eax, dword [esp + 0x28]
je 0x439005
push eax
mov esi, edx
call fcn.00407fc0
mov edx, esi
add esp, 4
mov dword [esp], 0
jmp 0x439005
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x439005
mov dword [esp + 0xc], ecx
jmp 0x439005
mov dword [esp], 0x898a8b8c
mov eax, 0x7260b95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7260b95b]
xor ecx, eax
mov edx, ecx
not edx
and edx, 0xd9
and ecx, 0x26
sub ecx, edx
inc cl
mov byte [esp + eax - 0x7260b95b], cl
inc eax
cmp eax, 0x7260b95f
jne 0x4395a0
mov eax, dword [0x448334]
test eax, eax
je 0x43961a
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x448338]
nop
nop
cmp dword [esi + edx*8], 0x6a2d3ea3
je 0x4395f0
inc edx
cmp eax, edx
jne 0x4395e0
jmp 0x43961a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43961a
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44833c]
call fcn.0043a070
add esp, 0x1c
mov eax, dword [esp + 0x74]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10