Function at 0x4370f9
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x46b15a
call fcn.004685c0
sub esp, 0x18c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x80], esi
push 0xf
mov dword [ebp - 0x2c], ebx
pop edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov byte [esi], bl
mov eax, 0xff
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x198]
push ebx
push eax
mov dword [ebp - 0x2c], 1
call fcn.004436b0
movaps xmm0, xmmword [0x47f970]
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
mov edx, ebx
mov dword [ebp - 0x40], 0xb0a7a7a0
movaps xmm0, xmmword [0x47f8b0]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0xb083a1bb
mov dword [ebp - 0x38], 0xbabca6a7
mov word [ebp - 0x34], 0xbb
mov cl, byte [ebp - 0x60]
not cl
xor byte [ebp + edx - 0x5f], cl
inc edx
cmp edx, 0x2c
jb 0x437166
lea eax, [ebp - 0x30]
mov byte [ebp - 0x33], bl
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x5f]
push eax
push 0x80000002
call dword [0x46d01c]
test eax, eax
jne 0x4371df
mov cl, 0x59
mov dword [ebp - 0x20], 0xc9d4f659
mov dword [ebp - 0x1c], 0xd2c5d3c2
mov edx, ebx
mov dword [ebp - 0x18], 0xc3cbc7e8
mov byte [ebp - 0x14], bl
not cl
xor byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 0xb
jae 0x4371c2
mov cl, byte [ebp - 0x20]
jmp 0x4371b1
lea eax, [ebp - 0x64]
mov byte [ebp - 0x14], bl
push eax
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1f]
push eax
push dword [ebp - 0x30]
call dword [0x46d00c]
push dword [ebp - 0x30]
call dword [0x46d030]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x6c], ebx
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], edi
mov byte [ebp - 0x7c], bl
call fcn.00413d68
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004133ce
lea ecx, [ebp - 0x7c]
call fcn.00413d07
push 0xa
pop edx
lea ecx, [ebp - 0x13]
call fcn.00427643
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0042765b
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
mov ebx, 0xc3
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00413278
or edi, 0xffffffff
cmp eax, edi
jne 0x43728d
mov edx, 0x7e0
lea ecx, [ebp - 0x67]
call fcn.00427643
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.0042765b
push 0
lea eax, [ebp - 0x98]
mov ebx, 0x3c7
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00413278
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x437291
mov byte [ebp - 0xd], 1
test bl, 4
je 0x4372a7
and ebx, 0xfffffffb
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00413d07
and dword [ebp - 4], 0
test bl, 2
je 0x4372be
and ebx, 0xfffffffd
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00413d07
cmp byte [ebp - 0xd], 0
je 0x4372d4
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0xa
jmp 0x437532
mov cl, 0xe
mov dword [ebp - 0x18], 0xc0dfc90e
mov byte [ebp - 0x14], 0
xor edx, edx
not cl
xor cl, byte [ebp + edx - 0x17]
mov byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 3
jae 0x4372f8
mov cl, byte [ebp - 0x18]
jmp 0x4372e3
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413247
cmp eax, edi
jne 0x437524
mov cl, 0x34
mov dword [ebp - 0x1c], 0xfafbf934
mov dword [ebp - 0x18], 0xf999ebf9
xor edx, edx
mov byte [ebp - 0x14], 0
not cl
xor cl, byte [ebp + edx - 0x1b]
mov byte [ebp + edx - 0x1b], cl
inc edx
cmp edx, 7
jae 0x43733b
mov cl, byte [ebp - 0x1c]
jmp 0x437326
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413247
cmp eax, edi
jne 0x437524
push 8
pop edx
lea ecx, [ebp - 0x67]
call fcn.00427643
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.0042765b
or ebx, 0xc00
push 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 2
or ebx, 8
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00413278
cmp eax, edi
jne 0x4373cf
mov edx, 0x7dc
lea ecx, [ebp - 0x13]
call fcn.00427643
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0042765b
push 0
lea eax, [ebp - 0x4c]
or ebx, 0x3010
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00413278
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x4373d3
mov byte [ebp - 0xd], 1
test bl, 0x10
je 0x4373e6
and ebx, 0xffffffef
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00413d07
and dword [ebp - 4], 0
test bl, 8
je 0x437400
and ebx, 0xfffffff7
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00413d07
cmp byte [ebp - 0xd], 0
je 0x437412
mov dword [esi + 0x1c], 2
jmp 0x43752b
push 7
pop edx
lea ecx, [ebp - 0x67]
call fcn.00427643
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0042765b
push 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0xc020
call fcn.00413278
cmp eax, edi
jne 0x437481
mov al, 0x67
mov dword [ebp - 0x1c], 0xa8a8aa67
mov dword [ebp - 0x18], 0xaacab8a0
xor ecx, ecx
mov byte [ebp - 0x14], 0
not al
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 7
jae 0x437469
mov al, byte [ebp - 0x1c]
jmp 0x437458
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413247
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x437485
mov byte [ebp - 0xd], 1
test bl, 0x20
je 0x437492
lea ecx, [ebp - 0x4c]
call fcn.00413d07
cmp byte [ebp - 0xd], 0
je 0x4374a4
mov dword [esi + 0x1c], 1
jmp 0x43752b
xor ebx, ebx
mov dword [ebp - 0x1a], 0xf5efd079
mov al, 0x79
mov word [ebp - 0x16], 0xe7f2
mov byte [ebp - 0x14], bl
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 5
jae 0x4374cb
mov al, byte [ebp - 0x1a]
jmp 0x4374ba
push ecx
lea eax, [ebp - 0x19]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00413247
cmp eax, edi
jne 0x43751f
mov al, 0x49
mov dword [ebp - 0x19], 0x86868449
mov word [ebp - 0x15], 0x8e
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jae 0x437500
mov al, byte [ebp - 0x19]
jmp 0x4374ef
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00413247
cmp eax, edi
jne 0x43751f
mov dword [esi + 0x18], 0xa
mov dword [esi + 0x1c], ebx
jmp 0x437532
mov dword [esi + 0x1c], ebx
jmp 0x43752b
mov dword [esi + 0x1c], 3
mov dword [esi + 0x18], 6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret