Function at 0x437d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x2c], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov eax, 0x9971d82
mov ecx, 0x7668e27d
nop
nop
nop
nop
nop
lea edx, [eax - 0x97fffff]
mov edi, edx
or edi, 0xff8b4529
lea esi, [ecx + edi]
mov ebx, eax
sub ebx, edi
and ebx, 0x934be76
mov edi, esi
and edi, 0x36080009
or edi, ebx
and edx, 0x141886
xor edi, edx
and edx, esi
movzx esi, byte [esp + eax - 0x9971d7e]
xor edi, 0x4934fe76
or edx, edi
xor edx, esi
xor edx, 0xff8b4529
lea esi, [edx + 0x500c6c70]
mov edi, edx
and edi, 1
add edx, edi
add edx, 0x500c6c70
mov edi, esi
xor esi, 1
add edx, esi
and edi, 0xfe
sub edx, edi
mov byte [esp + eax - 0x9971d7e], dl
inc eax
dec ecx
cmp eax, 0x9971d88
jne 0x437d80
mov eax, dword [esp + 4]
mov ecx, dword [0x44a7f4]
test ecx, ecx
je 0x437e58
xor edx, edx
mov esi, dword [0x44a7f8]
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x437e2a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x437e10
jmp 0x437e58
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x437e58
lea eax, [esp + 0x34]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x2c]
js 0x438652
cmp dword [esi + 4], 0
je 0x4385e0
mov edi, esi
mov eax, dword [esi + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0x111d1f1c
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov ecx, 5
mov edx, 0xa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [ecx - 0x6b37bd80]
mov esi, edx
and esi, 0xd
and ebx, 0x80c00002
or ebx, esi
mov esi, ecx
and esi, 0xd
xor esi, 0x68361c3d
or ebx, esi
movzx esi, byte [esp + ecx - 1]
xor ebx, esi
mov esi, ebx
and esi, 0x9a
xor esi, 2
and ebx, 0x65
xor ebx, 0x25
sub ebx, esi
inc bl
mov byte [esp + ecx - 1], bl
inc ecx
dec edx
cmp ecx, 0xc
jne 0x437ed0
mov dword [esp + 0x38], 0x7fff
cmp eax, 2
je 0x437f2c
mov dword [esp + 0x38], 0
mov eax, 0xfffeffff
mov edx, dword [ebp + 0x10]
je 0x437f3b
mov eax, SysReAllocString
mov ecx, dword [esp + 4]
mov ebx, ecx
sar ebx, 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov eax, ebx
sbb eax, dword [esp + 0x38]
jae 0x438515
mov esi, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
jmp 0x437fa6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
adc ebx, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
cmp ecx, eax
mov eax, ebx
sbb eax, dword [esp + 0x38]
jae 0x438515
mov ecx, esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
push dword [esp + 0x3c]
mov edi, edx
call fcn.00437790
cmp eax, 0xbfffffff
ja 0x438515
mov edx, edi
test eax, eax
js 0x437f80
cmp dword [esp + 0x60], 0x1000
mov eax, dword [esp + 0x20]
jne 0x437f84
test byte [esp + 0x5c], 0x66
je 0x437f84
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x34], edx
mov edi, dword [esp + 0x44]
mov eax, 0
sbb eax, edi
jae 0x438232
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov esi, 0x9971d82
mov ecx, 0x7668e27d
nop
nop
nop
nop
lea edx, [esi - 0x97fffff]
mov ebx, edx
or ebx, 0xff8b4529
lea edi, [ecx + ebx]
mov eax, esi
sub eax, ebx
and eax, 0x934be76
mov ebx, edi
and ebx, 0x36080009
or ebx, eax
and edx, 0x141886
xor ebx, edx
and edx, edi
movzx eax, byte [esp + esi - 0x9971d7e]
xor ebx, 0x4934fe76
or edx, ebx
xor edx, eax
xor edx, 0xff8b4529
lea eax, [edx + 0x500c6c70]
mov edi, edx
and edi, 1
add edx, edi
add edx, 0x500c6c70
mov edi, eax
xor eax, 1
add edx, eax
and edi, 0xfe
sub edx, edi
mov byte [esp + esi - 0x9971d7e], dl
inc esi
dec ecx
cmp esi, 0x9971d88
jne 0x438030
mov eax, dword [0x44a7f4]
test eax, eax
je 0x4380fa
mov ecx, dword [esp + 4]
xor edx, edx
mov edi, dword [0x44a7f8]
nop
nop
cmp dword [edi + edx*8], 0x16194952
je 0x4380d0
inc edx
cmp eax, edx
jne 0x4380c0
jmp 0x4380fa
mov eax, dword [edi + edx*8 + 4]
cmp eax, ecx
je 0x4380fa
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov edi, 0x9971d82
mov ecx, 0x7668e27d
nop
nop
nop
nop
nop
lea edx, [edi - 0x97fffff]
mov esi, edx
or esi, 0xff8b4529
lea ebx, [ecx + esi]
mov eax, edi
sub eax, esi
and eax, 0x934be76
mov esi, ebx
and ebx, 0x36080009
or ebx, eax
and edx, 0x141886
xor ebx, edx
and edx, esi
movzx eax, byte [esp + edi - 0x9971d7e]
xor ebx, 0x4934fe76
or edx, ebx
xor edx, eax
xor edx, 0xff8b4529
lea eax, [edx + 0x500c6c70]
mov esi, edx
and esi, 1
add edx, esi
add edx, 0x500c6c70
mov esi, eax
xor eax, 1
add edx, eax
and esi, 0xfe
sub edx, esi
mov byte [esp + edi - 0x9971d7e], dl
inc edi
dec ecx
cmp edi, 0x9971d88
jne 0x438130
mov eax, dword [esp + 4]
mov ecx, dword [0x44a7f4]
test ecx, ecx
je 0x4381ea
xor edx, edx
mov edi, dword [0x44a7f8]
mov ebx, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x3e416e49
je 0x4381f0
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, ecx
jb 0x4381d0
jmp 0x43821e
mov ebx, dword [esp + 0x30]
jmp 0x43821e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43821e
push 4
push 0x3000
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
js 0x438515
mov ecx, esi
lea eax, [esp + 0x70]
push eax
push edi
push edx
push dword [esp + 0x24]
push ebx
push dword [esp + 0x3c]
call fcn.00437b40
test eax, eax
jns 0x438260
cmp eax, 0x8000000d
je 0x438260
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
jmp 0x437f84
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x437f80
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.004386a0
add esp, 0x18
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x4384e6
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], eax
mov ebx, dword [esp]
jmp 0x4382d3
mov ebx, eax
mov eax, dword [esp + 0x24]
mov dword [ebx + ecx], edi
mov dword [esp + 0x14], ebx
mov dword [ebx + ecx + 4], esi
add edx, 8
add eax, 4
cmp eax, dword [esp + 0x58]
mov ebx, edx
je 0x4384a8
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, ecx
xor edx, eax
not ecx
and ecx, eax
add ecx, ecx
sub ecx, edx
mov esi, ecx
sar esi, 0x1f
mov eax, dword [esp + 0x28]
and eax, ecx
mov edi, dword [esp + 0x30]
mov edx, edi
and edx, esi
shld edx, eax, 1
add eax, eax
xor esi, edi
mov edi, ecx
xor edi, dword [esp + 0x28]
add edi, eax
adc esi, edx
mov ecx, ebx
mov eax, dword [esp + 0x14]
sub ecx, eax
cmp ebx, dword [esp + 0x1c]
mov edx, ebx
jne 0x4382b0
mov dword [esp], edx
mov dword [esp + 0x10], ecx
sar ecx, 3
lea edx, [ecx + 1]
mov eax, ecx
shr eax, 1
add eax, ecx
cmp eax, edx
ja 0x438337
mov eax, edx
mov ebx, eax
and ebx, 8
mov ecx, eax
or ecx, 8
imul ecx, ebx
xor ebx, 8
mov dword [esp + 0x1c], eax
and eax, 0xfffffff7
imul eax, ebx
add ecx, eax
push ecx
call fcn.00408230
add esp, 4
mov ebx, eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x438490
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
cmp ebx, edx
mov dword [esp + 0x54], ebx
jbe 0x43842f
cmp dword [esp], ebx
jbe 0x43842f
cmp dword [esp + 0x10], 0
je 0x438478
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, edx
dec eax
mov ecx, dword [esp + 0x54]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x4383c4
neg edi
xor edx, edx
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4383b0
add eax, edx
add ecx, edx
add edx, dword [esp + 0x10]
mov ebx, dword [esp]
mov edi, dword [esp + 0x14]
sub edi, ebx
cmp edi, 0xfffffff8
ja 0x438478
neg edx
xor edi, edi
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
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 0x4383e0
jmp 0x438478
mov esi, dword [esp + 0x10]
mov ecx, esi
shr ecx, 2
mov eax, edx
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, esi
and edx, 0xfffffffc
lea ecx, [ebx + edx]
add edx, eax
mov eax, esi
mov esi, ecx
and eax, 3
mov ecx, eax
shr ecx, 1
mov edi, edx
mov dword [esp], edx
mov edi, esi
mov ebx, dword [esp]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test byte [esp + 0x10], 1
je 0x438478
movzx ecx, byte [edx + eax - 1]
mov byte [esi + eax - 1], cl
push dword [esp + 0x14]
call fcn.00408240
add esp, 4
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
lea eax, [ebx + eax*8]
mov dword [esp + 0x1c], eax
mov edx, ebx
mov ecx, dword [esp + 0x10]
add edx, ecx
jmp 0x4382b2
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x438509
cmp eax, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
je 0x438501
mov dword [esp], ebx
push eax
call fcn.00408240
add esp, 4
mov dword [esp + 4], 0
jmp 0x438254
mov eax, dword [ebp + 8]
mov ecx, dword [esp]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
jmp 0x438254
mov dword [esp], ebx
jmp 0x438254
mov dword [esp], ebx
mov esi, dword [esp + 0x2c]
jmp 0x438254
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov eax, 0x9971d82
mov ecx, 0x7668e27d
nop
nop
lea edx, [eax - 0x97fffff]
mov edi, edx
or edi, 0xff8b4529
lea esi, [ecx + edi]
mov ebx, eax
sub ebx, edi
and ebx, 0x934be76
mov edi, esi
and edi, 0x36080009
or edi, ebx
and edx, 0x141886
xor edi, edx
and edx, esi
movzx esi, byte [esp + eax - 0x9971d7e]
xor edi, 0x4934fe76
or edx, edi
xor edx, esi
xor edx, 0xff8b4529
lea esi, [edx + 0x500c6c70]
mov edi, edx
and edi, 1
add edx, edi
add edx, 0x500c6c70
mov edi, esi
xor esi, 1
add edx, esi
and edi, 0xfe
sub edx, edi
mov byte [esp + eax - 0x9971d7e], dl
inc eax
dec ecx
cmp eax, 0x9971d88
jne 0x438530
mov eax, dword [0x44a7f4]
test eax, eax
je 0x438652
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44a7f8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x438628
inc edx
cmp eax, edx
jne 0x4385d0
jmp 0x438652
push 0xbbf966b4
push dword [0x44a7e8]
call fcn.0043cf80
add esp, 8
test eax, eax
je 0x43865f
mov ecx, dword [esi]
test ecx, ecx
je 0x437e6e
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43866b
cmp dword [esp + 4], 0
je 0x43866b
mov dword [esi + 4], 3
jmp 0x437e6e
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x438652
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a7fc]
call fcn.00439fa0
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [esi + 4], 1
jmp 0x437e6e
lea eax, [esp + 0x48]
push eax
call fcn.0043d710
add esp, 4
test al, al
je 0x437e6e
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x438690
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x437e6e