Function at 0x437910
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x70]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], 0xa70aa70b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
or ecx, 0x7b94
xor cx, word [esp + eax*2 + 0x34]
add ecx, 0x2360
mov word [esp + eax*2 + 0x34], cx
add eax, 0x3f184be7
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
add eax, 0xc0e7b419
cmp eax, 2
jb 0x437960
mov eax, dword [esp + 0x34]
mov ecx, dword [0x446184]
test ecx, ecx
je 0x4379ee
xor edx, edx
mov esi, dword [0x446188]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x4379c0
inc edx
cmp ecx, edx
jne 0x4379b0
jmp 0x4379ee
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4379ee
lea eax, [esp + 0x18]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44618c]
call fcn.00438b10
add esp, 0x24
test eax, eax
js 0x43812a
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 + 0x34], 0
mov dword [esp], 0x4eeb4ee9
xor eax, eax
mov cl, 1
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2]
mov esi, 0x9ecbbe1e
sub esi, eax
mov edi, 0xbe1e
sub edi, eax
xor edi, esi
add edi, esi
or esi, edx
and edi, edx
xor edi, esi
mov edx, 0xfffff0f7
sub edx, edi
mov word [esp + eax*2], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x437a40
mov esi, dword [esp]
cmp esi, 0x7ffffffe
ja 0x438088
mov dword [esp + 0x14], 0
xor ebp, ebp
xor edi, edi
jmp 0x437ac4
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebp
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x40]
add esi, dword [esp + 0x34]
cmp esi, 0x7fffffff
jae 0x438088
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp], 0xa70aa70b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
or edx, 0x7b94
xor dx, word [esp + eax*2]
add edx, 0x2360
mov word [esp + eax*2], dx
add eax, 0x3f184be7
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
add eax, 0xc0e7b419
cmp eax, 2
jb 0x437ae0
mov eax, dword [esp]
mov edx, dword [0x446184]
test edx, edx
mov dword [esp + 0x24], esi
je 0x437b70
xor esi, esi
mov ebx, dword [0x446188]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xe095b21b
je 0x437b40
inc esi
cmp edx, esi
jne 0x437b30
jmp 0x437b70
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
mov esi, dword [esp + 0x24]
je 0x437b70
push 0
push 0x1c
lea eax, [esp + 0x3c]
push eax
push 0
push esi
push ecx
push 0x18
push edx
push dword [0x44618c]
call fcn.00438b10
add esp, 0x24
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x438088
test eax, eax
js 0x437ab0
cmp dword [esp + 0x44], 0x1000
jne 0x437ab0
test byte [esp + 0x48], 0x66
je 0x437ab0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jbe 0x437d0a
mov dword [esp], 0xa70aa70b
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
or edx, 0x7b94
xor dx, word [esp + ecx*2]
add edx, 0x2360
mov word [esp + ecx*2], dx
add ecx, 0x3f184be7
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
add ecx, 0xc0e7b419
cmp ecx, 2
jb 0x437bc0
mov ecx, dword [0x446184]
test ecx, ecx
je 0x437c4e
mov edx, dword [esp]
xor esi, esi
mov ebx, dword [0x446188]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x6a2d3ea3
je 0x437c20
inc esi
cmp ecx, esi
jne 0x437c10
jmp 0x437c4e
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
je 0x437c4e
push 0x8000
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44618c]
call fcn.00438b10
add esp, 0x1c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp], 0xa70aa70b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
or ecx, 0x7b94
xor cx, word [esp + eax*2]
add ecx, 0x2360
mov word [esp + eax*2], cx
add eax, 0x3f184be7
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
add eax, 0xc0e7b419
cmp eax, 2
jb 0x437c70
mov eax, dword [esp]
mov ecx, dword [0x446184]
test ecx, ecx
je 0x437cfe
xor edx, edx
mov esi, dword [0x446188]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x437cd0
inc edx
cmp ecx, edx
jne 0x437cc0
jmp 0x437cfe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x437cfe
push 4
push 0x3000
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44618c]
call fcn.00438b10
add esp, 0x24
test eax, eax
js 0x438088
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov dword [esp], 0xa70aa70b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
or edx, 0x7b94
xor dx, word [esp + eax*2]
add edx, 0x2360
mov word [esp + eax*2], dx
add eax, 0x3f184be7
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
add eax, 0xc0e7b419
cmp eax, 2
jb 0x437d30
mov eax, dword [esp]
mov ebx, dword [0x446184]
test ebx, ebx
je 0x437dc0
mov dword [esp + 0x20], esi
mov esi, ebp
xor ebp, ebp
mov edx, dword [0x446188]
nop
nop
nop
nop
nop
cmp dword [edx + ebp*8], 0xa99f3325
je 0x437d92
inc ebp
cmp ebx, ebp
jne 0x437d80
mov ebp, esi
jmp 0x437dc0
mov ebx, dword [edx + ebp*8 + 4]
cmp ebx, eax
mov ebp, esi
je 0x437dc0
lea eax, [esp + 0x58]
push eax
push ecx
push dword [esp + 0x14]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0x14
push ebx
push dword [0x44618c]
call fcn.00438b10
add esp, 0x20
nop
test eax, eax
jns 0x437e22
mov dword [esp], 0x224ca276
xor ecx, ecx
mov dl, 1
nop
movzx esi, word [esp + ecx*2]
lea ebx, [ecx - 0x4d8f7b2d]
xor ebx, esi
add ebx, 0xdbeb0447
mov esi, ebx
and esi, 0xc5bd967
xor ebx, 0x6c7bd967
lea esi, [ebx + esi*2]
mov ebx, esi
not ebx
and ebx, 0x447
and esi, 0xfbb8
sub esi, ebx
inc esi
mov word [esp + ecx*2], si
mov ecx, 1
test dl, 1
mov edx, 0
jne 0x437dd0
cmp eax, dword [esp]
jne 0x437ab0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x64]
push dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
call fcn.00438140
add esp, 0x18
mov esi, dword [esp]
mov edx, dword [esp + 4]
cmp esi, edx
je 0x437a93
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
jmp 0x437e76
mov edi, ebp
mov ebp, ebx
mov dword [ebp + ecx], eax
add edi, 4
add esi, 4
cmp esi, edx
je 0x43804f
mov eax, dword [esi]
add eax, dword [esp + 0x24]
sub eax, dword [esp + 0x10]
mov ecx, edi
mov ebx, ebp
sub ecx, ebp
mov ebp, edi
cmp edi, dword [esp + 0x14]
jne 0x437e60
mov dword [esp + 0x20], eax
mov eax, ecx
sar eax, 2
mov dword [esp + 0xc], ecx
shr ecx, 1
and ecx, 2
mov edx, eax
shr edx, 1
add edx, eax
xor eax, 1
add eax, ecx
cmp edx, eax
ja 0x437eb1
mov edx, eax
mov eax, edx
and eax, 0xfffffffb
mov ecx, edx
and ecx, 4
mov edi, edx
mov dword [esp + 0x14], edx
or edx, 4
imul edx, ecx
xor ecx, 4
imul ecx, eax
add edx, ecx
push edx
call fcn.00408130
add esp, 4
mov edx, eax
test ebx, ebx
je 0x43802d
mov edi, ebp
cmp edx, ebx
mov ebp, ebx
mov dword [esp + 0x2c], edx
jbe 0x437faf
cmp edi, edx
jbe 0x437faf
cmp dword [esp + 0xc], 0
je 0x438020
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0xc]
lea eax, [edx + ebp]
dec eax
mov ecx, dword [esp + 0x2c]
add ecx, edx
dec ecx
mov ebp, edx
and ebp, 7
je 0x437f44
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp ebp, edx
jne 0x437f30
add eax, edx
add ecx, edx
add edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
mov ebx, ebp
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x438020
neg edx
xor edi, edi
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
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 0x437f60
jmp 0x438020
mov ebx, dword [esp + 0xc]
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, ebx
and edx, 0xfffffffc
lea edi, [eax + edx]
add edx, ebp
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x1c], ebp
mov ebp, edx
mov ebx, edi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, dword [esp + 0x1c]
mov ecx, eax
or ecx, 1
xor eax, 0xfffffffe
and eax, ecx
je 0x438020
mov edi, dword [esp + 0xc]
and edi, 2
movzx ecx, byte [edx + edi]
mov byte [ebx + edi], cl
cmp eax, 1
je 0x438020
movzx ecx, byte [edx + edi + 1]
mov byte [ebx + edi + 1], cl
cmp eax, 2
je 0x438020
movzx eax, byte [edx + edi + 2]
mov byte [ebx + edi + 2], al
nop
nop
push ebp
call fcn.00408140
add esp, 4
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov edi, edx
mov ecx, dword [esp + 0xc]
add edi, ecx
mov ebp, edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
jmp 0x437e64
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebp
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x437ab0
cmp eax, edx
je 0x437ab0
push eax
call fcn.00408140
add esp, 4
mov dword [esp], 0
jmp 0x437ab0
mov dword [esp], 0xa70aa70b
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
or ecx, 0x7b94
xor cx, word [esp + eax*2]
add ecx, 0x2360
mov word [esp + eax*2], cx
add eax, 0x3f184be7
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
add eax, 0xc0e7b419
cmp eax, 2
jb 0x4380a0
mov eax, dword [0x446184]
test eax, eax
je 0x43812a
mov ecx, dword [esp]
xor edx, edx
mov esi, dword [0x446188]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x6a2d3ea3
je 0x438100
inc edx
cmp eax, edx
jne 0x4380f0
jmp 0x43812a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43812a
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44618c]
call fcn.00438b10
add esp, 0x1c
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10