Function at 0x437e90
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 + 0x24], 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 + 0x14], 0
mov dword [esp + 8], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 8]
mov edx, eax
xor edx, 0xe8669847
lea edx, [edx + eax*2]
mov esi, ecx
and esi, edx
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0x4d
imul edi, ebx
add esi, edi
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add edx, edx
sub ebx, edx
add bl, cl
add bl, 0x79
mov byte [esp + eax + 8], bl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x437ee0
mov eax, dword [esp + 8]
mov ecx, dword [0x448e64]
test ecx, ecx
je 0x437fa8
xor edx, edx
mov esi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x437f7a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x437f60
jmp 0x437fa8
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x437fa8
lea eax, [esp + 0x34]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push ecx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x24]
js 0x4386da
cmp dword [esi + 4], 0
je 0x438070
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 + 8], 0xb9bdbb84
mov byte [esp + 0xc], 0
xor ecx, ecx
mov edx, ecx
add dl, 0x1f
xor dl, byte [esp + ecx + 8]
add dl, 0x65
mov byte [esp + ecx + 8], dl
inc ecx
cmp ecx, 5
jne 0x438000
mov dword [esp + 0x38], 0x7fff
cmp eax, 2
je 0x43802b
mov dword [esp + 0x38], 0
mov eax, 0xfffeffff
je 0x438037
mov eax, SysReAllocString
mov ecx, dword [esp + 8]
mov edx, ecx
sar edx, 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
cmp ecx, eax
mov dword [esp + 0x2c], edx
mov eax, edx
sbb eax, dword [esp + 0x38]
jae 0x438609
mov dword [esp + 0x18], 0
mov dword [esp], 0
xor ebx, ebx
jmp 0x43810a
push 0xbbf966b4
push dword [0x448e58]
call fcn.0043cfb0
add esp, 8
test eax, eax
je 0x4386e7
mov ecx, dword [esi]
test ecx, ecx
je 0x437fbe
mov dword [esp + 8], 0
lea edx, [esp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x4386f3
cmp dword [esp + 8], 0
je 0x4386f3
mov dword [esi + 4], 3
jmp 0x437fbe
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
adc edx, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
cmp ecx, eax
mov dword [esp + 0x2c], edx
mov eax, edx
sbb eax, dword [esp + 0x38]
jae 0x438609
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 dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.004379c0
cmp eax, 0xbfffffff
ja 0x438609
test eax, eax
js 0x4380e0
cmp dword [esp + 0x60], 0x1000
mov eax, dword [esp + 0x20]
jne 0x4380e4
test byte [esp + 0x5c], 0x66
je 0x4380e4
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x34], edx
mov ecx, dword [esp + 0x44]
mov eax, 0
mov dword [esp + 0x28], ecx
sbb eax, ecx
jae 0x43833e
mov dword [esp + 4], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], 0x282b2a25
xor eax, eax
movzx ecx, byte [esp + eax + 8]
mov edx, eax
xor edx, 0xe8669847
lea edx, [edx + eax*2]
mov esi, ecx
and esi, edx
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0x4d
imul edi, ebx
add esi, edi
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add edx, edx
sub ebx, edx
add bl, cl
add bl, 0x79
mov byte [esp + eax + 8], bl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x438180
mov eax, dword [0x448e64]
test eax, eax
je 0x43823a
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x438210
inc edx
cmp eax, edx
jne 0x438200
jmp 0x43823a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43823a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push eax
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x1c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 8], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 8]
mov edx, eax
xor edx, 0xe8669847
lea edx, [edx + eax*2]
mov esi, ecx
and esi, edx
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0x4d
imul edi, ebx
add esi, edi
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add edx, edx
sub ebx, edx
add bl, cl
add bl, 0x79
mov byte [esp + eax + 8], bl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x438260
mov eax, dword [esp + 8]
mov ecx, dword [0x448e64]
test ecx, ecx
je 0x4382fa
xor edx, edx
mov esi, dword [0x448e68]
mov ebx, dword [esp + 0x1c]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x438300
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x4382e0
jmp 0x43832e
mov ebx, dword [esp + 0x1c]
jmp 0x43832e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43832e
push 4
push 0x3000
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push ecx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 4]
js 0x438609
mov ecx, esi
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x2c]
push edx
push dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x44]
call fcn.00437ce0
test eax, eax
jns 0x43836a
cmp eax, 0x8000000d
jne 0x4380e0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x4380e0
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
call fcn.00438720
add esp, 0x18
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x58], ecx
cmp eax, ecx
je 0x4380c4
mov dword [esp + 0x64], eax
mov edx, dword [esp]
jmp 0x438409
push dword [esp]
call fcn.0040c890
add esp, 4
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
mov ebx, ecx
mov eax, ecx
mov ecx, dword [esp + 4]
add ebx, ecx
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [edx + ecx], edi
mov dword [edx + ecx + 4], esi
add ebx, 8
add eax, 4
cmp eax, dword [esp + 0x58]
je 0x4385bf
mov dword [esp], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov esi, dword [eax]
sub esi, dword [esp + 0x14]
mov edx, esi
sar edx, 0x1f
mov edi, dword [esp + 0x30]
mov ecx, edi
and ecx, esi
mov ebx, dword [esp + 0x2c]
mov eax, ebx
and eax, edx
shld eax, ecx, 1
add ecx, ecx
xor edx, ebx
mov ebx, dword [esp + 0x1c]
xor esi, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp]
add edi, ecx
adc esi, eax
mov ecx, ebx
sub ecx, edx
cmp ebx, dword [esp + 0x18]
jne 0x4383ee
mov dword [esp + 4], ecx
mov edx, ecx
sar edx, 3
lea eax, [edx + 1]
mov ecx, edx
shr ecx, 1
add ecx, edx
cmp ecx, eax
ja 0x43846a
mov ecx, eax
mov eax, ecx
and eax, 0xfffffff7
mov ebx, ecx
and ebx, 8
mov edx, ecx
mov dword [esp + 0x18], ecx
or edx, 8
imul edx, ebx
xor ebx, 8
imul ebx, eax
add edx, ebx
push edx
call fcn.0040c880
add esp, 4
mov ecx, eax
mov edx, dword [esp]
test edx, edx
je 0x4383d7
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
cmp ecx, edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
jbe 0x438572
cmp ebx, ecx
jbe 0x438572
cmp dword [esp + 4], 0
je 0x4383c0
mov eax, dword [esp]
mov edx, dword [esp + 4]
add eax, edx
dec eax
mov ecx, dword [esp + 0x54]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x438508
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4384f0
add eax, edx
add ecx, edx
add edx, dword [esp + 4]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp]
sub edi, ebx
cmp edi, 0xfffffff8
ja 0x4383c0
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 0x438520
jmp 0x4383c0
mov ebx, dword [esp + 4]
mov eax, ecx
mov ecx, ebx
shr ecx, 2
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
mov edx, ebx
and edx, 0xfffffffc
lea esi, [eax + edx]
add edx, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test bl, 1
je 0x4383c0
mov eax, dword [esp + 4]
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
jmp 0x4383c0
mov eax, dword [ebp + 8]
mov dword [eax + 4], ebx
mov dword [eax], edx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4385fd
mov dword [esp], edx
cmp eax, dword [esp + 0x58]
mov esi, dword [esp + 0x24]
je 0x4380e0
push eax
call fcn.0040c890
add esp, 4
mov dword [esp + 8], 0
jmp 0x4380e0
mov dword [esp], edx
mov esi, dword [esp + 0x24]
jmp 0x4380e0
mov dword [esp + 8], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 8]
mov edx, eax
xor edx, 0xe8669847
lea edx, [edx + eax*2]
mov esi, ecx
and esi, edx
mov ebx, esi
and ebx, 2
mov edi, esi
or esi, 2
imul esi, ebx
xor ebx, 2
and edi, 0x4d
imul edi, ebx
add esi, edi
mov ebx, esi
xor ebx, edx
not edx
and edx, esi
add edx, edx
sub ebx, edx
add bl, cl
add bl, 0x79
mov byte [esp + eax + 8], bl
mov ecx, eax
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and ecx, 1
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x438620
mov eax, dword [0x448e64]
test eax, eax
je 0x4386da
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x16194952
je 0x4386b0
inc edx
cmp eax, edx
jne 0x4386a0
jmp 0x4386da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4386da
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push eax
push dword [0x448e6c]
call fcn.0043a3b0
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 0x437fbe
lea eax, [esp + 0x48]
push eax
call fcn.0043d910
add esp, 4
test al, al
je 0x437fbe
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x438718
mov ecx, eax
mov dword [esi + 4], ecx
jmp 0x437fbe